Skip to content

Conversation

@Kariamos
Copy link
Contributor

@Kariamos Kariamos commented Nov 4, 2025

This pull request improves the user experience and clarity of the watcher list controls on the plan page, especially around adding and removing watchers and handling edge cases where only one watcher is present. It enhances UI feedback with new tooltips, refines empty state messaging, and updates button logic and appearance for better accessibility and guidance.

User Experience and UI Feedback Improvements:

  • Added new tooltip messages and translations for watcher actions, including when the follow button is disabled, when only one watcher is present, and when removing a watcher, to provide clearer feedback to users. (src/locales/en/translation.json, src/locales/it/translation.json) [1] [2]
  • Updated the watcher removal button to always show a tooltip explaining the consequences of removal, improving clarity for users. (src/pages/Plan/Controls/WatcherList/UserItem.tsx)

Empty State and Edge Case Handling:

  • Refactored the empty state component to display different messages depending on whether there are zero or only one watcher, making the UI more informative in these scenarios. (src/pages/Plan/Controls/WatcherList/UserList.tsx) [1] [2] [3]

Button Logic and Accessibility:

  • Improved the logic for enabling/disabling the follow/unfollow button by considering workspace access and whether the user is the last watcher, and updated icon colors for better visual feedback. (src/pages/Plan/Controls/WatcherList/WatchButton.tsx) [1] [2] [3]
  • Set the watcher list modal trigger button size to "small" for visual consistency. (src/pages/Plan/Controls/WatcherList/index.tsx)

@Kariamos Kariamos marked this pull request as draft November 4, 2025 14:47
@Kariamos
Copy link
Contributor Author

Kariamos commented Nov 5, 2025

manca disabilitare il bottone follow se crei un plan da admin/csm non membro del ws

@Kariamos Kariamos marked this pull request as ready for review November 5, 2025 09:57
@Kariamos
Copy link
Contributor Author

Kariamos commented Nov 5, 2025

manca disabilitare il bottone follow se crei un plan da admin/csm non membro del ws

risolto

@d-beezee d-beezee merged commit 24ffb77 into UN-1998 Nov 5, 2025
11 checks passed
@d-beezee d-beezee deleted the UN-1998-ui-fixes branch November 5, 2025 10:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants