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

Improve Share Dialog #785

Merged
merged 6 commits into from
Jun 1, 2024
Merged

Conversation

mjaschen
Copy link
Contributor

@mjaschen mjaschen commented Dec 21, 2023

This PR improves the share dialog:

  • include PR Enable sharing via Mastodon #777
    • store/retrieve last used Mastodon instance to/from Local Storage
  • change order of items between mobile and desktop views:
    • QRCode is rendered at first when displayed on a desktop (viewport >= 992px)
    • links and buttons are rendered first on mobile devices (viewport < 992px)
    • hide QRCode size buttons on mobile devices
  • add some spacing around buttons

Sharing works now with newer Mastoton releases.
- change order of items between mobile and desktop views:
  - QRCode is rendered at first when displayed on a desktop (viewport >= 992px)
  - links and buttons are rendered first on mobile devices (viewport < 992px)
- add some spacing between buttons
@mjaschen
Copy link
Contributor Author

Mobile:

image

Desktop:

image

@bagage
Copy link
Collaborator

bagage commented May 27, 2024

Hello @mjaschen, thanks for this PR and sorry for the lack of response. Is it ready to be merged as-is? If so I'll test it and go for it :)
Thanks for your contribution!

@mjaschen
Copy link
Contributor Author

Hi,

everything's set on my end. I've been using the new Share Dialog on my instance for quite some time now.

@bagage bagage merged commit c93662e into nrenner:master Jun 1, 2024
1 check passed
@bagage
Copy link
Collaborator

bagage commented Jun 1, 2024

Thank you!

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.

2 participants