Problem
Currently, several components handle errors by logging them to the console with console.error and //FIXME or //TODO comments indicating that a proper alert is needed. This results in a poor user experience, as users are not informed when an operation fails.
Goal
Improve user-facing error handling by replacing these console logs with UI notifications using the Quasar Framework's Notify plugin, consistent with existing patterns in the codebase.
Affected files
The following files contain console.error calls marked with //FIXME or //TODO comments:
- MetisSelection.vue
- MetisWidget.vue
- DelayAndForwardingChart.vue
- DelayChart.vue
- DiscoChart.vue
- PrefixHegemonyChart.vue
- NetworkDelayChart.vue
- NetworkDelayAlarmsChart.vue
- CountryHegemonyChart.vue
- Latencymon.vue
Proposed solution
- Import
useQuasar from quasar
- Initialize it in the component: