Bug Report 🐛
When a user works on a template and clicks the "Share" icon in the left-hand sidebar, the application successfully generates a link and copies it to the clipboard, but it fails to provide any visual feedback (like a toast notification or a modal).
Expected Behavior
When the "Share" button is clicked:
The share link is copied to the user's clipboard.
A brief, non-intrusive toast notification (e.g., "Share link copied to clipboard!") should appear on the screen to confirm the action was successful.
Current Behavior
Clicking the "Share" button provides zero visual feedback. Because nothing happens on the screen, users are left confused and may think the feature is broken, unaware that the link was actually copied to their clipboard.
Possible Solution
Implement a toast notification to display a success message upon clicking the trigger. Note: I noticed in issue #802 that the application already has a toast notification component implemented for loading clauses. This existing toast component could simply be reused for the share button's onClick handler.
Steps to Reproduce
Navigate to the Accord Project Template Playground.
Load any template sample (e.g., "Hello World").
Make an edit to the template text to activate an active session.
Click the "Share" icon located in the bottom-left sidebar.
Notice that there is no visual indicator or confirmation message anywhere on the screen.
Context (Environment)
Impact: New users exploring the platform may assume they cannot save/share their work, severely impacting the interactivity and collaborative aspect of the playground.
Desktop
OS: Windows
Browser: Chrome
Detailed Description
This is a straightforward UX improvement. A visual confirmation that a link was generated and copied to the user's system clipboard will prevent confusion and redundant clicks on the Share button.
Possible Implementation
If assigned this issue, I can reuse the existing toast notification component that handles other messages within the application to quickly resolve this.
I would love to work on this issue! Can you assign it to me?
Bug Report 🐛
When a user works on a template and clicks the "Share" icon in the left-hand sidebar, the application successfully generates a link and copies it to the clipboard, but it fails to provide any visual feedback (like a toast notification or a modal).
Expected Behavior
When the "Share" button is clicked:
The share link is copied to the user's clipboard.
A brief, non-intrusive toast notification (e.g., "Share link copied to clipboard!") should appear on the screen to confirm the action was successful.
Current Behavior
Clicking the "Share" button provides zero visual feedback. Because nothing happens on the screen, users are left confused and may think the feature is broken, unaware that the link was actually copied to their clipboard.
Possible Solution
Implement a toast notification to display a success message upon clicking the trigger. Note: I noticed in issue #802 that the application already has a toast notification component implemented for loading clauses. This existing toast component could simply be reused for the share button's onClick handler.
Steps to Reproduce
Navigate to the Accord Project Template Playground.
Load any template sample (e.g., "Hello World").
Make an edit to the template text to activate an active session.
Click the "Share" icon located in the bottom-left sidebar.
Notice that there is no visual indicator or confirmation message anywhere on the screen.
Context (Environment)
Impact: New users exploring the platform may assume they cannot save/share their work, severely impacting the interactivity and collaborative aspect of the playground.
Desktop
OS: Windows
Browser: Chrome
Detailed Description
This is a straightforward UX improvement. A visual confirmation that a link was generated and copied to the user's system clipboard will prevent confusion and redundant clicks on the Share button.
Possible Implementation
If assigned this issue, I can reuse the existing toast notification component that handles other messages within the application to quickly resolve this.
I would love to work on this issue! Can you assign it to me?