mirror of
https://github.com/louislam/uptime-kuma.git
synced 2026-03-02 22:57:00 -05:00
Implement Dropdown Menu for Accessing incident templates #3182
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#3182
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 @LeoThies on GitHub (Mar 11, 2024).
📑 I have found these related issues/pull requests
There are some incidents that often repeat. Therefore, we would like to implementing a dropdown menu for previous incidents.
🏷️ Feature Request Type
Status-page
🔖 Feature description
To streamline our process and reduce redundancy, we're would like to implement a feature that archives previous incidents. This will enable us to access past incidents with fewer clicks, eliminating the need to retype the same text repeatedly.
✔️ Solution
Upon selecting 'Templates,' a list should appear featuring either previous incidents or saved incidents.
❓ Alternatives
No response
📝 Additional Context
No response
@CommanderStorm commented on GitHub (Mar 11, 2024):
I would need to look up if we save incidents somewhere in the database.
In any case this would be a larger feature. If you'd like to implement this, please first start of with a plan what you would like to add where ("How should this work") via annotated screenshots and what database modifications are needed to get there.
Here is our contribution guide: https://github.com/louislam/uptime-kuma/blob/master/CONTRIBUTING.md
Note that for larger features our pipeline is currently quite full already
=> I don't know when we would get to this.
Note to self:
I think the guidance on new features in our contribution guide is pretty lacking => we defintively need to improve that part ^^
@Lanhild commented on GitHub (Apr 17, 2024):
@CommanderStorm There is a table named
incident. The status page UI indeed could benefit from an incident history@Lanhild commented on GitHub (Apr 17, 2024):
For me, this issue should be divided in two;
incidenttable already exists and features everything needed for this feature to work.incident_templatetable to store incident templates.@CommanderStorm should we open new issues to divide these like I explained?
@CommanderStorm commented on GitHub (Apr 17, 2024):
I am going to reference a related PR which did not work our mostly because of being too big to review
=> "stealing" (keep the authorship) incident list from said PR might be a good starting point (keep it simple, no 4k changed lines please, that is not reviewable)
=> the correct issue (forgot to deduplciate in the last comment) is https://github.com/louislam/uptime-kuma/issues/862
Lets forcus in this issue only on incident-templates keep this on-track ^^
@CommanderStorm commented on GitHub (Apr 17, 2024):
Sounds good so far, what do you think would be a good modeling?
incident_templateincident_template@Lanhild commented on GitHub (Apr 17, 2024):
How is the template linked to the status page itself? The only relation I see is between the template and the incident?
@CommanderStorm commented on GitHub (Apr 17, 2024):
Them being global is fine by me. Don't think there needs to be a relation between incidents and templates (what would we use it for?)
What I am currently a bit torn is if adding/removing of templates should be done in the settings or in the same modal to select the template.
@Lanhild commented on GitHub (Apr 17, 2024):
I think the better thing would be to have it in the same modal. When writing an incident, you'd fill whatever info and have the option to save it as a template