-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Recently Viewed Items] Disable button if no items #6503
Labels
Milestone
Comments
vhenckel
added a commit
to vhenckel/openmct
that referenced
this issue
Mar 30, 2023
15 tasks
ozyx
added a commit
that referenced
this issue
Apr 3, 2023
* add e2e test * fix: remove slow function * test: After deactivating the button, new objects must be inserted and the button becomes active again * test: ensure clear recent objects button is active or inactive * add an event to notify when an object is inserted in the recents list * add an event to notify when an object is inserted in the recents list * fix: adjusting function name and add validation for triggering the event * fix: add event to disable button only when user click ok to clear list of recents * test: fix failing e2e + better assertions --------- Co-authored-by: Jesse Mazzella <[email protected]>
Testing Instructions
|
Verified Fixed in Testathon on 04/17/23 |
Verified Testathon 4/13/2023 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is your feature request related to a problem? Please describe.
No, no issue. It would just be nice to have the button to clear recently viewed objects be disabled until there are recently viewed objects to clear.
Describe the solution you'd like
Add the disabled attributed to the button if there are no recently viewed items.
Additional context

With items... good to go!
With no items, still active.

Would like it to be disabled.

The text was updated successfully, but these errors were encountered: