-
Notifications
You must be signed in to change notification settings - Fork 3
feat: Implement basic article search feature #414
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Changes from all commits
425a25a
7f3760d
e81090c
09c8a85
f8e812c
500856e
01c1a88
a9bb2b9
4477955
403a99f
146ed3b
aba24cd
79d9a58
bd0d9b0
b544a95
9b3f6b2
c5a9787
7eeae6a
c12b07c
896e758
129366a
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -14,5 +14,15 @@ dist | |||||||||||||||||||||||||||||
| reports | ||||||||||||||||||||||||||||||
| coverage | ||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||
| # .env | ||||||||||||||||||||||||||||||
| .eslintcache | ||||||||||||||||||||||||||||||
| .env | ||||||||||||||||||||||||||||||
| .venv | ||||||||||||||||||||||||||||||
| __pycache__/ | ||||||||||||||||||||||||||||||
| /public/assets | ||||||||||||||||||||||||||||||
| /public/locales | ||||||||||||||||||||||||||||||
| /public/node_modules | ||||||||||||||||||||||||||||||
| /public/pdf.worker.min.mjs | ||||||||||||||||||||||||||||||
| .eslintcache | ||||||||||||||||||||||||||||||
| .env | ||||||||||||||||||||||||||||||
| .DS_Store | ||||||||||||||||||||||||||||||
|
Comment on lines
+17
to
+28
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This looks like some leftovers from development?
Suggested change
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. As for this change here, you are correct on your points. But I added the pdf worker here in an attempt to deal with the failing in loading PDFs, as there were two versions of the library. I still have not come to tangible fixes on this end. |
||||||||||||||||||||||||||||||
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | ||
|---|---|---|---|---|
|
|
@@ -34,7 +34,7 @@ | |||
| placeholder: 'Main Content', | ||||
| }, | ||||
| history: { | ||||
| Tabtitle: 'history', | ||||
| title: 'History', | ||||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. unused feature.
Suggested change
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Done |
||||
| }, | ||||
| details: { | ||||
| Tabtitle: 'Details', | ||||
|
|
@@ -136,7 +136,6 @@ | |||
| today: 'Today', | ||||
| more: 'More', | ||||
| less: 'Less', | ||||
| search: 'Search', | ||||
| germany: 'Germany', | ||||
| 'no-data': 'No Data', | ||||
| 'loki-logo': 'LOKI logo', | ||||
|
|
@@ -149,4 +148,93 @@ | |||
| WIP: 'This functionality is still work in progress.', | ||||
| okay: 'Okay', | ||||
| yAxisLabel: 'Value', | ||||
| values: 'Values', | ||||
| name: 'Name', | ||||
| date: 'Date', | ||||
| semanticSearch: { | ||||
| title: 'Semantic Search', | ||||
| description: 'Ask questions about the data, models, or functionality to find relevant documentation and articles.', | ||||
| placeholder: 'Enter a question to search...', | ||||
| suggestions: { | ||||
| title: 'Or try one of these:', | ||||
| scenarioForecasting: 'How does the ESID platform support scenario-based forecasting for infectious disease outbreaks?', | ||||
| purpose: 'What is ESID purpose?', | ||||
| }, | ||||
| results: { | ||||
| noResults: 'No results found. Try rephrasing your question or using different keywords.', | ||||
| resultsFound_one: 'Found 1 result for', | ||||
| resultsFound_other: 'Found {{count}} results for', | ||||
| }, | ||||
| classification: { | ||||
| direct: 'Direct Answer', | ||||
| high: 'High Relevance', | ||||
| related: 'Related', | ||||
| unrelated: 'Unrelated', | ||||
| }, | ||||
| }, | ||||
| language: 'Language', | ||||
| legal: { | ||||
| attributions: 'Attributions', | ||||
| }, | ||||
| scenarios: { | ||||
| cards: { | ||||
| cases: 'Cases', | ||||
| hospitalization: 'Hospitalization', | ||||
| intensiveCare: 'Intensive Care', | ||||
| death: 'Deaths', | ||||
| rValue: 'R-Value', | ||||
| doublingTime: 'Doubling Time', | ||||
| attackRate: 'Attack Rate', | ||||
| }, | ||||
| }, | ||||
| groups: { | ||||
| title: 'Filter', | ||||
| addGroup: 'Add Group', | ||||
| manageGroups: 'Manage Groups', | ||||
| noGroups: 'No Groups defined.', | ||||
| groupName: { | ||||
| label: 'Group Name', | ||||
| alreadyExists: 'A group with this name already exists.', | ||||
| cannotBeEmpty: 'The group name cannot be empty.', | ||||
| }, | ||||
| options: { | ||||
| delete: 'Delete', | ||||
| edit: 'Edit', | ||||
| }, | ||||
| }, | ||||
| compartments: { | ||||
| title: 'Compartments', | ||||
| S: 'Susceptible', | ||||
| E: 'Exposed', | ||||
| I: 'Infected', | ||||
| R: 'Recovered', | ||||
| H: 'Hospitalized', | ||||
| U: 'Intensive Care', | ||||
| D: 'Dead', | ||||
| X: 'Vaccinated', | ||||
| V: 'Vaccinated (protected)', | ||||
| W: 'Vaccinated (waned)', | ||||
| }, | ||||
| lineChart: { | ||||
| title: 'Line Chart', | ||||
| showConfidence: 'Show confidence intervals', | ||||
| logScale: 'Logarithmic Scale', | ||||
| sum: 'Sum', | ||||
| yAxis: 'Value', | ||||
| }, | ||||
| map: { | ||||
| title: 'Map', | ||||
| legendTitle: 'Cases per 100k', | ||||
| incidences: { | ||||
| total: 'Total', | ||||
| per100k: 'per 100k', | ||||
| per100kIn7Days: '7-day-incidence per 100k', | ||||
| }, | ||||
| }, | ||||
| parameter: { | ||||
| title: 'Parameters', | ||||
| compartment: 'Compartment', | ||||
| reset: 'Reset to default value', | ||||
| r0: 'Basic Reproduction Number (R0)', | ||||
| }, | ||||
| } | ||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is a bad comment (Ours above too 😅). Explain what the Variable is for.
Also don't expose network internal or development names to git 😬 bad enough that we do this for the IDP below.