-
Notifications
You must be signed in to change notification settings - Fork 11
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
Cleaner settings #67
Comments
I really don't know what to change or add to the settings, I mostly want to experiment, see what works, what doesn't. I suppose the best guideline we can refer to is GNOME's human interface, but a different approach might be best (don't know, and haven't read it). |
Probably a bit controversial but, if you really want to modernise the settings panel, it would be worth considering going straight to libAdwaita. It's pretty neat and, thanks to the various generic function we created to add the various widgets types, should be relatively easy to update. It would cut compatibility to gnome 42+ but even Debian Stable is at gnome 43 these days... Ubuntu 22.04 and its derivatives would be on Gnome 42. See guidance here: https://gjs.guide/extensions/development/preferences.html#preferences-window |
It might not be controversial at all, I've been looking at repology and there's few distributions using a version lower than 42. I think the most prominent one is OpenSUSE Leap stuck at 41. |
Just saw the release of OpenSuse Leap 15.5 and thought "ah ah, one less hurdle", until I realised that it still uses Gnome 41 🫢 I don't really know a lot of people using OpenSuse anyway and with 1200 active users for this extension, there shouldn't be too many people affected! |
I made a quick patch to test how the prefs look and behave with an adwaita base widget. |
That was quick! Will you be creating a new branch for this? |
I opened a new branch locally but it looks like it isn't such a big task to convert the code to adwaita. I might just do a single commit to For sure I will share something tomorrow. |
Perhaps I'm done already. |
I pushed the commit to |
See PR #75 for a more modern look using PreferencesGroup and ActionRow. Let me know what you think. |
Looks good! |
#76 has been merged and alongside it I pushed an small commit to It's a good time to reassess the list on the opening comment:
Structure-wise it's still like a spreadsheet. But the Adwaita style doesn't give it a flat, boxy appearance like Gtk.Notebook did.
Pending.
Removed the repeated code of the example on #76. The main function of
I think the number of tabs we currently have is good.
I prefer to 'disable' the settings instead of hiding them, like the double-click settings. |
I think that the changes made to the filters page are good. To be honest, I don't have much in these fields so I don't personally need them to take the full width. for item 3, please see #78, another 60+ lines of code gone :-) |
I think this should wait until we remove compatibility with gnome 40 (#62) however I think there are a couple things we can improve in the settings page.
prefs.js
:(maybe thats too many tabs)
I'm happy to work on this, but as mentioned above, waiting until we just have to worry about gnome 40 might be best.
The text was updated successfully, but these errors were encountered: