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

[Enhancement] Improve UI Feedback for Save and Append Actions #14

Open
atj393 opened this issue Oct 8, 2024 · 5 comments
Open

[Enhancement] Improve UI Feedback for Save and Append Actions #14

atj393 opened this issue Oct 8, 2024 · 5 comments
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers hacktoberfest

Comments

@atj393
Copy link
Owner

atj393 commented Oct 8, 2024

Description:

Currently, there is no visible indication when a prompt is saved or appended. Add a small popup notification or badge count on the extension icon to provide better UI feedback.

Files Involved:

background.js, content.js

Expected Outcome:

Users should receive a visible indication (e.g., a notification or badge) when their prompts are successfully saved or appended.

@atj393 atj393 added enhancement New feature or request good first issue Good for newcomers hacktoberfest labels Oct 8, 2024
@blunterdecosta123
Copy link

Hi @atj393 I would like to work on this issue please assign me this issue

@atj393
Copy link
Owner Author

atj393 commented Oct 9, 2024

@blunterdecosta123 assigned to you. Thanks.

Please give a short summary of your plan to avoid major setbacks later. Thanks.

1 similar comment
@atj393
Copy link
Owner Author

atj393 commented Oct 9, 2024

@blunterdecosta123 assigned to you. Thanks.

Please give a short summary of your plan to avoid major setbacks later. Thanks.

@blunterdecosta123
Copy link

Hi @atj393, these are the changes I propose

Badge Display for Click Actions:

Single Click: When the extension icon is single-clicked, a badge with the text "1" is displayed on the icon.
Double Click: When the extension icon is double-clicked, a badge with the text "2" is displayed.

Timeout for Badge Visibility:

After displaying the badge (either "1" or "2"), the code uses setTimeout to keep the badge visible for 2 seconds.
After 2 seconds, the badge text is cleared (set to an empty string), removing any visual indication of the previous action.

@atj393
Copy link
Owner Author

atj393 commented Oct 15, 2024

@blunterdecosta123 Sorry for the delay in response.

Thanks for sharing your ideas! Based on your suggestion, I thought of a simpler approach. Instead of using numbers on the icon, we could display a blue dot when a chat already has a saved prompt. This would be a straightforward way to let users know there's a saved prompt without adding any extra details. It keeps things clear and easy for the user.

Let me know if you have further thoughts!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers hacktoberfest
Projects
None yet
Development

No branches or pull requests

2 participants