-
Notifications
You must be signed in to change notification settings - Fork 69
feat: configure SearchField for tennis-club-membership #1121
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
Conversation
|
Oops! Looks like you forgot to update the changelog. When updating CHANGELOG.md, please consider the following:
|
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.
Greptile Overview
Important Files Changed
File Analysis
| Filename | Score | Overview |
|---|---|---|
| src/form/tennis-club-membership.ts | 4/5 | added SearchField for recommender lookup by registration number with proper conditionals and value mapping, imports and field configuration look correct |
| src/translations/client.csv | 2/5 | added generic searchField translations but missing specific tennis-club-membership search field translation keys |
2 files reviewed, 1 comment
| search.searchingFor,The searching for text,Searching for “{param}”,Recherche de “{param}” | ||
| search.totalResultText,The total result text,"{total, plural, =0 {} one {# record found} other {# records found}} ","{total, plural, =0 {} one {# record found} other {# records found}}" | ||
| search.waitingForConnection,The text when there is no connectivity,Reconnect to load declarations,Se reconnecter pour charger les déclarations | ||
| searchField.indicators.confirmButton,Confirm button text,Search,Rechercher | ||
| searchField.indicators.httpError,HTTP error indicator,"{statusCode, select, 408{Timed out} other{An error occurred while fetching data}}","{statusCode, select, 408{Délai d'attente dépassé} other{Une erreur s'est produite lors de la récupération des données}}" | ||
| searchField.indicators.loading,Loading indicator,Searching...,Recherche en cours... | ||
| searchField.indicators.noResultsError,No results found indicator,No record found,Aucun enregistrement trouvé | ||
| searchField.indicators.offline,Offline indicator,Search is unavailable while offline,La recherche n'est pas disponible hors ligne | ||
| searchField.indicators.ok,OK button text,Found {count} results,{count} résultats trouvés | ||
| serviceWorker.cacheKey.WorkBoxRuntime.error.button.logout,Button label for logging out when WorkBox runtime cache key is missing,Log out,Se déconnecter | ||
| serviceWorker.cacheKey.WorkBoxRuntime.error.button.reload,Button label for logging out when WorkBox runtime cache key is missing,Reload,Recharger | ||
| serviceWorker.cacheKey.WorkBoxRuntime.error.content,Content shown when WorkBox runtime cache key is missing,"Something went wrong with loading the app. Reload this page, or log out and log back in to continue.",Un problème est survenu lors du chargement de l’application. Rechargez cette page ou déconnectez-vous puis reconnectez-vous pour continuer. |
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.
syntax: missing translation keys for the search field: event.tennis-club-membership.action.declare.form.section.recommender.field.search.label, tennis-club-membership.searchField.validation.invalid, and tennis-club-membership.searchField.indicators.ok need to be added to match the configuration in tennis-club-membership.ts:231, tennis-club-membership.ts:257, and tennis-club-membership.ts:264
Note
Currently, we do not run e2e tests as a check on
opencrvs-countryconfig-repo PRs. Please ensure your PR doesn't break any e2e tests.One method for doing this is to open a PR with these changes to
opencrvs-farajalandas well, and see if the PR check passes there.Description
Clearly describe what has been changed. Include relevant context or background.
Explain how the issue was fixed (if applicable) and the root cause.
Link this pull request to the GitHub issue (and optionally name the branch
ocrvs-<issue #>)Checklist