Skip to content

UI - Add clear all notification button#5549

Merged
yadvr merged 6 commits into
apache:4.16from
utchoang:feature/clear-all-notification-button
Dec 30, 2021
Merged

UI - Add clear all notification button#5549
yadvr merged 6 commits into
apache:4.16from
utchoang:feature/clear-all-notification-button

Conversation

@utchoang
Copy link
Copy Markdown

@utchoang utchoang commented Oct 5, 2021

Description

Fixes #5538

Types of changes

  • Breaking change (fix or feature that would cause existing functionality to change)
  • New feature (non-breaking change which adds functionality)
  • Bug fix (non-breaking change which fixes an issue)
  • Enhancement (improves an existing feature and functionality)
  • Cleanup (Code refactoring and cleanup, that may add test cases)

Feature/Enhancement Scale or Bug Severity

Feature/Enhancement Scale

  • Major
  • Minor

Bug Severity

  • BLOCKER
  • Critical
  • Major
  • Minor
  • Trivial

Screenshots (if appropriate):

image

How Has This Been Tested?

@apache apache deleted a comment from blueorangutan Oct 5, 2021
@utchoang
Copy link
Copy Markdown
Author

utchoang commented Oct 5, 2021

@blueorangutan ui

@blueorangutan
Copy link
Copy Markdown

@utchoang a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress.

@blueorangutan
Copy link
Copy Markdown

UI build: ✔️
Live QA URL: http://qa.cloudstack.cloud:8080/client/pr/5549 (SL-JID-728)

@apache apache deleted a comment from blueorangutan Oct 5, 2021
@davidjumani
Copy link
Copy Markdown
Contributor

@utchoang The notifications cover the usermenu and the clear all icon
Screenshot from 2021-10-05 10-25-38

@utchoang
Copy link
Copy Markdown
Author

utchoang commented Oct 5, 2021

@davidjumani Please refresh or clear cache, I have the same problem as you in QA server but after ctrl+f5 it works fine.
image

@utchoang
Copy link
Copy Markdown
Author

utchoang commented Oct 5, 2021

@blueorangutan ui

@blueorangutan
Copy link
Copy Markdown

@utchoang a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress.

@blueorangutan
Copy link
Copy Markdown

UI build: ✔️
Live QA URL: http://qa.cloudstack.cloud:8080/client/pr/5549 (SL-JID-732)

@davidjumani
Copy link
Copy Markdown
Contributor

@blueorangutan ui

1 similar comment
@davidjumani
Copy link
Copy Markdown
Contributor

@blueorangutan ui

@blueorangutan
Copy link
Copy Markdown

@davidjumani a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress.

@blueorangutan
Copy link
Copy Markdown

UI build: ✔️
Live QA URL: http://qa.cloudstack.cloud:8080/client/pr/5549 (SL-JID-733)

@yadvr
Copy link
Copy Markdown
Member

yadvr commented Oct 5, 2021

The UX is weird, it won't be obvious for first-time users what the new icons does. Should there be a floating widget on the top saying clear all? (something like that seen in phones?)

@yadvr yadvr added this to the 4.16.1.0 milestone Oct 5, 2021
@utchoang
Copy link
Copy Markdown
Author

utchoang commented Oct 5, 2021

@rhtyd cc @davidjumani I also noticed this inconvenience. But still can't find a better solution. What do you think?

@utchoang
Copy link
Copy Markdown
Author

utchoang commented Oct 5, 2021

Close because it doesn't solve the problem because the notifications will automatically turn off after duration 5s. Will consider putting clear all button at the top of notifications

@utchoang utchoang closed this Oct 5, 2021
@DaanHoogland
Copy link
Copy Markdown
Contributor

@utchoang @rhtyd I think at least the clear notifications button should be next to the view notifications button

@utchoang
Copy link
Copy Markdown
Author

utchoang commented Oct 5, 2021

Another solution for the clear notification button. What do you think about this?
cc @rhtyd @DaanHoogland @davidjumani
image

@utchoang utchoang reopened this Oct 5, 2021
@utchoang
Copy link
Copy Markdown
Author

utchoang commented Oct 6, 2021

@blueorangutan ui

@blueorangutan
Copy link
Copy Markdown

UI build: ✔️
Live QA URL: http://qa.cloudstack.cloud:8080/client/pr/5549 (SL-JID-734)

@davidjumani
Copy link
Copy Markdown
Contributor

@utchoang Would it be possible to add a clear all button on just the first notification ?
Screenshot from 2021-10-06 09-29-50

@DaanHoogland
Copy link
Copy Markdown
Contributor

DaanHoogland commented Oct 6, 2021

How about an item in the notifications menu, near 'clear list', @utchoang ?

@utchoang
Copy link
Copy Markdown
Author

utchoang commented Oct 6, 2021

@DaanHoogland I don't think that's reasonable. What do you think about the position of clear button as below image?
image

@utchoang
Copy link
Copy Markdown
Author

utchoang commented Oct 6, 2021

@blueorangutan ui

@blueorangutan
Copy link
Copy Markdown

@utchoang a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress.

@blueorangutan
Copy link
Copy Markdown

UI build: ✔️
Live QA URL: http://qa.cloudstack.cloud:8080/client/pr/5549 (SL-JID-737)

@DaanHoogland
Copy link
Copy Markdown
Contributor

@DaanHoogland I don't think that's reasonable. What do you think about the position of clear button as below image?
I like my idea better ;)
/me not making a fuzz about it.

@yadvr yadvr changed the base branch from main to 4.16 November 15, 2021 10:11
@yadvr
Copy link
Copy Markdown
Member

yadvr commented Nov 18, 2021

@blueorangutan ui

@blueorangutan
Copy link
Copy Markdown

@rhtyd a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress.

@blueorangutan
Copy link
Copy Markdown

UI build: ✖️
(SL-JID-841)

@sureshanaparti
Copy link
Copy Markdown
Contributor

@blueorangutan ui

@blueorangutan
Copy link
Copy Markdown

@sureshanaparti a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress.

@blueorangutan
Copy link
Copy Markdown

UI build: ✔️
Live QA URL: http://qa.cloudstack.cloud:8080/client/pr/5549 (SL-JID-909)

Copy link
Copy Markdown
Contributor

@shwstppr shwstppr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works as expected. Though I don't like the idea of clear button in the first notification. A separate button at the top of the notifications would have made more sense, as shown earlier by @utchoang,
image

@utchoang utchoang force-pushed the feature/clear-all-notification-button branch from 074d892 to b1131fb Compare December 29, 2021 06:35
@utchoang
Copy link
Copy Markdown
Author

@shwstppr I reverted the clear all button back to the top of the notification. You can check and we can merge.
image

@utchoang
Copy link
Copy Markdown
Author

@blueorangutan ui

@blueorangutan
Copy link
Copy Markdown

@utchoang a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress.

@blueorangutan
Copy link
Copy Markdown

UI build: ✔️
Live QA URL: http://qa.cloudstack.cloud:8080/client/pr/5549 (SL-JID-947)

@yadvr yadvr merged commit eb04a46 into apache:4.16 Dec 30, 2021
yadvr pushed a commit that referenced this pull request Jan 3, 2022
Related to PR #5549 changed the notification from $notification to $showNotification. This PR aims to change it back to the way it was for easier use while keeping the delete all button.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

No open projects
Status: Done

Development

Successfully merging this pull request may close these issues.

UI - notification stacking on error messages

7 participants