Skip to content
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

Make search more error resistant and provide more information #2928

Open
steffenkleinle opened this issue Sep 16, 2024 · 0 comments
Open

Make search more error resistant and provide more information #2928

steffenkleinle opened this issue Sep 16, 2024 · 0 comments
Labels
Native Affects the native project ready Task Web Affects the web project

Comments

@steffenkleinle
Copy link
Member

Is your feature request related to a problem? Please describe.
At the moment, the search in Landkreis Ostallgäu is broken. This is due to minisearch failing if two items have the same id (in our case path). While this should not happen in general and be fixed in the CMS, the app should also not just fail/load forever without any error message.

Describe the solution you'd like

  • Provide better errors if the search fails to the users (display an error message instead of endless loading spinner)
  • Provide better errors for devs (log full errors to the console)
  • Make the search more error resistant by removing items with duplicated id (optional/TBD)

Describe alternatives you've considered
Do nothing as this is not an app issue.

Additional context
Event in question: http://integreat.app/ostallgaeu/de/events/handarbeits-werkstatt-mit-begegnung-und-austausch-5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Native Affects the native project ready Task Web Affects the web project
Projects
Status: No status
Development

No branches or pull requests

1 participant