Skip to content
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

Admin Bar Notice Instead of Popup for "Clear Log" and "View Log" #181

Open
1 task done
ipajen opened this issue Nov 13, 2024 · 0 comments
Open
1 task done

Admin Bar Notice Instead of Popup for "Clear Log" and "View Log" #181

ipajen opened this issue Nov 13, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request needs triage needs to be discussed and worked on

Comments

@ipajen
Copy link
Collaborator

ipajen commented Nov 13, 2024

I have checked the following:

  • I've searched existing issues and found nothing related to my issue.

Describe the feature you want to add

It would be preferable for "Clear Log" and "View Log" actions to display an admin bar notice with distinct background colors instead of a popup message. This would align with the existing structure for actions like "Save Changes" and "Reset," which already use admin bar notices and help to avoid popup interruptions.

Suggested admin bar notices:

"Clear Log":

Success: Display a green background with the message "Log file cleared successfully."
Error: Display a red background with the message "Error: Unable to read the log file."

"View Log":

Error: Display a red background with the message "Error: Unable to read the log file."

This approach would provide a consistent user experience by using admin bar notices for both success and error states, with background colors to differentiate them, while avoiding reliance on popups.

Update: background as shown in picture, not a filled background.

Mockups or Images of the feature

clearlogged

@ipajen ipajen added enhancement New feature or request needs triage needs to be discussed and worked on labels Nov 13, 2024
@namithj namithj self-assigned this Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request needs triage needs to be discussed and worked on
Projects
None yet
Development

No branches or pull requests

2 participants