thunder-app / thunder

Thunder - An open-source cross-platform Lemmy client for iOS and Android built with Flutter
https://thunderapp.dev
GNU Affero General Public License v3.0
712 stars 62 forks source link

Add ability to create links to settings. #1348

Open micahmo opened 2 weeks ago

micahmo commented 2 weeks ago

Pull Request Description

This PR adds a famous feature from Sync where we can provide deep links directly to settings in Thunder. I've been noticing in the Thunder community that people often reference a setting here or there, so I thought it would be super cool to be able to link directly.

Note: As part of these changes, I added the ability for settings widgets to know what setting they represent. That should assist with the highlighting feature, as well as the ability for them to generate the sharing link, and possibly other things in the future.

Screenshots / Recordings

https://github.com/thunder-app/thunder/assets/7417301/75b53895-e76b-4135-adec-aae5636f43eb

CTalvio commented 2 weeks ago

That is wild