- Changed the page redirect after monitor deletion to the home page ("/") for a proper UI refresh.
- Removed the temporary route ("/temp") to simplify the deletion process.
- Ensured that the UI reloads correctly after monitor deletions via a direct redirect to the home page.
modified: src/components/MonitorList.vue
- Renamed `deleteSelectedDialog` to `deleteSelectedMonitorDialog` for better clarity.
- Updated the corresponding method `deleteSelected` to `deleteSelectedMonitor` to reflect the new naming convention.
- Updated references in the template and JavaScript to match the new method names.
- Ensured consistency in naming to improve code readability and maintainability.
No functionality changes were made; only method names were modified for clarity.
modified: src/components/MonitorList.vue
- Removed JSDoc comment for the `deleteSelected` method `@returns {void}`.
- No functional changes made to the logic or behavior of the method.
modified: src/components/MonitorList.vue
- Replaced `window.location.reload()` with Vue Router navigation to a temporary route for smoother page reload.
- Added Vue Router redirection to `/dashboard` after monitor deletion for better user experience.
- Updated function documentation to clarify behavior and return type.
modified: src/components/MonitorList.vue
- Added functionality to retrieve and display a toast message from localStorage
after the page reloads, triggered by a successful monitor deletion.
- Modified the `deleteSelected` method to immediately refresh the page after
deleting selected monitors and store the response for the toast notification.
- Cleaned up localStorage after showing the toast to avoid repeating the message.
modified: src/components/MonitorList.vue
- Reverted translations for the message in the following language files:
- `de-CH.json`
- `de-DE.json`
- `fr-FR.json`
- `nl-NL.json`
- Restored the original translations to prevent file inconsistencies.
- Prevented inconsistencies caused by previous translation updates.
modified: src/lang/de-CH.json
modified: src/lang/de-DE.json
modified: src/lang/fr-FR.json
modified: src/lang/nl-NL.json
- Added a new key `deleteSelectedMonitorMsg` for the confirmation message.
- Included translations for the message in the following files:
- `de-CH.json`
- `de-DE.json`
- `en.json`
- `fr-FR.json`
- `nl-NL.json`
- The message prompts for confirmation when deleting one or more selected monitor(s).
- Ensured the message follows existing formatting standards.
modified: src/lang/de-CH.json
modified: src/lang/de-DE.json
modified: src/lang/en.json
modified: src/lang/fr-FR.json
modified: src/lang/nl-NL.json
- Added a delete button to the selection controls for deleting selected monitor(s).
- Integrated a confirmation dialog (`confirmDeleteSelected`) with the message `deleteSelectedMonitorMsg`.
- Implemented `deleteSelectedDialog` to trigger the confirmation dialog.
- Created `deleteSelected` method to handle monitor deletion and update the selection state.
- Implemented toast notifications for feedback on the deletion status.
- Added page reload mechanism to reflect the deletion of monitors after all selected monitors are removed.
- Ensured consistent functionality with existing selection and action methods.
modified: src/components/MonitorList.vue
Currently translated at 100.0% (1053 of 1053 strings)
Translated using Weblate (French)
Currently translated at 100.0% (1053 of 1053 strings)
Translated using Weblate (French)
Currently translated at 100.0% (1053 of 1053 strings)
Co-authored-by: Cyril59310 <archas.cyril@hotmail.fr>
Translate-URL: https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/fr/
Translation: Uptime Kuma/Uptime Kuma