-
-
Notifications
You must be signed in to change notification settings - Fork 427
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
Common Settings Page #3177
Common Settings Page #3177
Conversation
Was it agreed upon though? I don't think that qualifies as user-friendly by any means. As of today, a change in a parameter is registered immediately. Such a change would be a regression in my opinion. CC @jmercouris. |
I agree, it would probably be a regression, however I leave the last word to Thomas. Edit: The oracle has spoken, the save button shall be avoided. |
I got |
da190d9
to
c53a839
Compare
Yes! I am looking forward to seeing it. |
c53a839
to
a88c4fe
Compare
Niiiice |
I think this is ready for review. There might be a bit more cleaning up to do, but everything works and it looks (close to) how @lansingthomas imagined it, I hope! Let me know if I missed anything. CC @jmercouris |
Will review, thank you! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The headings should be title case.
Same with line 127 -- the "Buffer Settings" side panel text
Looks very close to me Luka. I may tweak some CSS and merge it, pending your permission, and a final review with Thomas on Tuesday, does that sound OK? |
@jmercouris Sure, go ahead! I didn't really think through the CSS, I just cobbled it together so that everything looks okay. |
Add a `:postprocess` keyword argument for more control over the input. Add `default-modes` setting to `common-settings`.
Show current state of settings in `common-settings` with default states for radio inputs, checkboxes and default input in `configure-slot`.
And fix some styling issues.
b2f946d
to
d6474ac
Compare
Don't tell me that I did this merge wrong @aadcg I swear I did everything correct! :-O |
Thanks Luka :-) |
We like to use `%something%` in the Nyxt codebase even though `%something` is standard in Common Lisp. Just for next time :-)
No wait, %SOMETHING% is for variables, while functions only have a leading percent sign.
|
i see, thanks for the clarification |
@jmercouris it was merged properly. Thanks. |
What failed was the changelog entry. CC @hgluka @jmercouris. |
@aadcg Should I add it as a commit directly to master? |
A serious review wasn't carried out in this PR (see #3209). This is not acceptable. Features can't be broken from the start. |
@hgluka No. I'll do it in the release process. Thanks. |
Description
This PR is for the new layout of the Common Settings page, per #3174.
It's still in the early stages. I'm still working on the general structure of the document.
Resolves #3174.
Discussion
As @aartaka mentioned in #3174, we could make the whole thing a form with a "Save" button at the end.
Checklist:
Everything in this checklist is required for each PR. Please do not approve a PR that does not have all of these items.
cd /path/to/nyxt/checkout git submodule add https://gitlab.common-lisp.net/nyxt/py-configparser _build/py-configparser
:documentation
s written in the aforementioned style. (It's OK to skip the docstring for really trivial parts.)changelog.lisp
with my changes if it's anything user-facing (new features, important bug fix, compatibility breakage).migration.lisp
entry for all compatibility-breaking changes.(asdf:test-system :nyxt)
and(asdf:test-system :nyxt/gi-gtk)
) and they pass.