Skip to content

[Feature]: When no on_bookmarked handlers have been registered, display notification and update clipboard with url #1901

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

Open
schloerke opened this issue Mar 11, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@schloerke
Copy link
Collaborator

Category

Input/Output

Scope

Quality of Life

Problem

In R shiny, it currently displays a modal in this situation. I do not like the modal and would prefer a less invasive option.

Solution

I propose that a notification is shown and the user's clipboard is updated with the URL value.

Alternatives (Optional)

  • Showing a modal: It blocks the whole screen. When you click "bookmark", it is fair that you want the URL now. Not trying to exit a modal to get back to your app or having a modal block your app. I want the url now and without any effort.
  • Throw an error: This would cause the app to crash. Crashing is bad Mkay.
  • Do nothing: Worst of all three is to do something where you expect a reaction and nothing happens. This is difficult to debug and very frustrating to figure out.

Example (Optional)

Impact (Optional)

No response

Contribution? (Optional)

None

@schloerke schloerke added enhancement New feature or request needs-triage and removed needs-triage labels Mar 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant