Bug 8090 - Popups for new items in Web Admin has a confusing Delete button
Summary: Popups for new items in Web Admin has a confusing Delete button
Status: CLOSED DUPLICATE of bug 3903
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: Web Administration (show other bugs)
Version: trunk
Hardware: PC Unknown
: P2 Normal
Target Milestone: LowPrio
Assignee: Tobias
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-10 15:49 CET by Samuel Mannehed
Modified: 2023-04-19 15:49 CEST (History)
2 users (show)

See Also:
Acceptance Criteria:


Attachments

Description Samuel Mannehed cendio 2023-02-10 15:49:16 CET
Split from bug 5870.

When adding new items, like a new subcluster or a new profile, the popup shows a Delete button. This is confusing since the new item hasn't been saved yet.

It makes sense that when editing an existing item it should show a Delete button, but not when adding a new one.
Comment 1 Samuel Mannehed cendio 2023-03-09 12:32:19 CET
There has been logic put into place to handle the popup title when adding new items. This was done as part of bug 8075.

There are still some holes in that logic. However, in general, we should be able to piggyback on the same logic to solve this bug. The same criteria decide if we want to hide the Delete button and if we choose to show a “Adding new item…” title.
Comment 2 Frida Flodin cendio 2023-03-20 09:11:38 CET

*** This bug has been marked as a duplicate of bug 3903 ***

Note You need to log in before you can comment on or make changes to this bug.