mirror of
https://github.com/louislam/uptime-kuma.git
synced 2026-03-02 22:57:00 -05:00
Maintenance: sort affected monitors alphabetically #1674
Labels
No labels
A:accessibility
A:api
A:cert-expiry
A:core
A:dashboard
A:deployment
A:documentation
A:domain expiry
A:incidents
A:maintenance
A:metrics
A:monitor
A:notifications
A:reports
A:settings
A:status-page
A:ui/ux
A:user-management
Stale
ai-slop
blocked
blocked-upstream
bug
cannot-reproduce
dependencies
discussion
duplicate
feature-request
feature-request
good first issue
hacktoberfest
help
help wanted
house keeping
invalid
invalid-format
invalid-format
question
releaseblocker 🚨
security
spam
type:enhance-existing
type:new
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/uptime-kuma#1674
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @peschmae on GitHub (Dec 24, 2022).
⚠️ Please verify that this bug has NOT been raised before.
🛡️ Security Policy
Description
The list of 'affected monitors' on the new maintenance page, isn't sorted alphabetically, but (I assume) by ID.
The list on the right hand side with all monitors, is sorted alphabetically and to have a consistent behaviour it would be nice to sort the list of affected monitors the same way.
👟 Reproduction steps
Create a new monitor called
X, and afterwards a new monitor calledA.In the list with all monitors,
Awill be placed aboveX.Navigate to the maintenance page and create a new maintenance window. In the list of 'affected monitors'
Xwill be aboveAIf an additional monitor is created called
Gis will be listed in betweenAandXon the overview, but in the list on the maintenance page, it will be at the bottom.👀 Expected behavior
All dropdown where the user can choose Monitors, are sorted alphabetically.
😓 Actual Behavior
Dropdowns are sorted by creationDate / ID
🐻 Uptime-Kuma Version
1.19.0
💻 Operating System and Arch
Debian based docker image
🌐 Browser
Chrome / irrelevant
🐋 Docker Version
irrelevant
🟩 NodeJS Version
irrelevant
📝 Relevant log output
No response
@CommanderStorm commented on GitHub (Jun 3, 2023):
@peschmae has this been resolved in #2786?
If yes, could you please close this issue?
If no, could you edit it, to make the difference more clear? ^^