RGJ
(Richard - Communiteq)
May 15, 2026, 8:52am
1
I (almost) accidentally deleted a category that I was editing.
In the new “simplified category creation” screen the DELETE button is directly below the configuration, while the SAVE button appears at the very, very, very bottom of the screen.
My personal opinion is that this is confusing UX
14 Likes
chapoi
June 12, 2026, 10:27am
2
I wonder if delete category should even be on every tab…
Maybe this is better restricted to the settings tab only, and in a clear Danger zone:
Wdyt @lindsey ?
9 Likes
lindsey
(Lindsey Fogle)
June 12, 2026, 1:33pm
3
I like that — it does feel odd to have it on every page, and your solution makes sense to me.
5 Likes
using the settings tab puts delete behind the “advanced settings” toggle though, would it make more sense on “general” or would that be too prominent?
lindsey
(Lindsey Fogle)
June 12, 2026, 8:02pm
6
I think that’s okay, as we’re already putting it in a “danger zone” area, but I’m fine with either location.
1 Like
chapoi
June 20, 2026, 7:38am
7
This change is merged in:
main ← category-danger-zone
merged 06:35AM - 20 Jun 26 UTC
Previously, the delete-category action lived in a footer shared across all edit-… category tabs, with its "can't delete" reason shown via a separate warning alert and tooltip toggle. It's placement didn't sufficiently communicate the destructive functionality see https://meta.discourse.org/t/delete-category-button-is-more-prominent-than-save/403037
This change consolidates deletion into a dedicated "Danger zone" section, only present on the settings tab, surfacing the delete button or the forbidden reason inline immediately, removing the superfluous flow of clicking the button to see the warning message.
The tabs were also nesting `form.Section`, which then had to be solved for it with a `display-contents` for some `edit-category-content` tabs. As this was redundant, it's been refactored as fas as possible.
This commit also:
* removed the unused `category-name-fields` component
* cleaned up all the old category pages CSS that was left over
* corrected a few FormKit issues
* styled doc categories plugin import to match FormKit section header
* removed the old `edit-category-content` and only use the new `edit-category-tab`
| What | BC | AC |
|--------|--------|--------|
| Delete category | <img width="974" height="906" alt="CleanShot 2026-06-19 at 11 59 26" src="https://github.com/user-attachments/assets/10522aa5-cef0-49f0-aab7-ff351b4a0ca8" /> | <img width="1100" height="907" alt="CleanShot 2026-06-19 at 09 50 50" src="https://github.com/user-attachments/assets/15de9e83-7413-408a-8530-1594dc6080cf" /> |
| Delete category forbidden | <img width="1874" height="910" alt="CleanShot 2026-06-19 at 11 56 59" src="https://github.com/user-attachments/assets/f6dd15ef-9874-4960-913b-7f7dd973d326" /> | <img width="1100" height="907" alt="CleanShot 2026-06-19 at 09 51 59" src="https://github.com/user-attachments/assets/5690b272-2bc1-440a-bdce-0e944eec585d" /> |
| Doc Plugin | <img width="844" height="219" alt="CleanShot 2026-06-19 at 12 00 03" src="https://github.com/user-attachments/assets/446da166-db57-4940-8394-258a2a98c8d3" /> | <img width="778" height="162" alt="CleanShot 2026-06-19 at 10 10 35" src="https://github.com/user-attachments/assets/a7e45aad-5fd8-44ec-920f-7bd1e63ef175" /> |
3 Likes