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

feat: adding a snackbar for feedback on the share button #1520

Merged
merged 1 commit into from
Dec 12, 2023

Conversation

BLKKKBVSIK
Copy link
Collaborator

In this PR:

  • Adding a visual indicator (snackbar) when copying a link through the share button on the snap page.

fix #1462

Screencast.from.2023-12-11.16-16-07.webm

Copy link
Member

@d-loose d-loose left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should really have a better way to access the Navigator or Scaffold of the yaru layout widgets. But that's probably the cleanest solution for now - LGTM 👍

@Feichtmeier FYI

@BLKKKBVSIK BLKKKBVSIK merged commit 3395a53 into main Dec 12, 2023
8 checks passed
@BLKKKBVSIK BLKKKBVSIK deleted the feat/visual-feedback-share-button branch December 12, 2023 11:03
@anasereijo
Copy link
Collaborator

Just to double-check, is this the style (and position) we use for snackbars on yaru?

@Feichtmeier
Copy link
Member

Feichtmeier commented Dec 12, 2023

Style yes, we tried to be consistent with yaru GNOME (you can see this in the file manager application "nautilus"/"files" on ubuntu)
Position is dependant to the widget hierachy (where the scaffold is)
Width can be set with whatever one ones
And ofc, one can always change the style in line/app specific
Or if you want we could change it in yaru.dart
@anasereijo

ashuntu pushed a commit to ashuntu/app-center that referenced this pull request Feb 28, 2024
…-button

feat: adding a snackbar for feedback on the share button
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Clicking on Share Button Shows no Visual Feedback
4 participants