-
-
Notifications
You must be signed in to change notification settings - Fork 389
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: More readable Document settings #1376
feat: More readable Document settings #1376
Conversation
780b0cc
to
e5cf459
Compare
Hello @berhalak After some jobs jobs, thing are aligned with smaller screen. I've fixed DocumentId input width in my last commit, after screenshots. |
Deployed commit |
Deployed commit |
app/client/ui/DocumentSettings.ts
Outdated
@@ -162,7 +162,7 @@ export class DocSettingsPage extends Disposable { | |||
}) : null, | |||
]), | |||
|
|||
dom.create(AdminSection, t('API'), [ | |||
dom.create(cssAdminSection, t('API'), [ |
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.
Can you take a look at AdminPanel.ts ? It also uses those styles, maybe we can just update the base component, without wrapping it into cssAdminSection
. The goal was to have those two pages (DocumentSettings and AdminPanel) look very similar.
287a44f
to
cc98cff
Compare
Deployed commit |
cc98cff
to
b49b0da
Compare
b49b0da |
Deployed commit |
b49b0da
to
8c5ff36
Compare
Deployed commit |
@hexaltation About alignments, idea will be to align button everything on the right side, and keep full wide only for fields / dropdown (so buttons size will fit to content), actually they're sont items on the left, some on the right, some center-aligned ( see joined screen) |
8c5ff36
to
c6641c1
Compare
c6641c1
to
9de90e3
Compare
Deployed commit |
9de90e3
to
e81e4c0
Compare
Deployed commit |
1ae46b5
to
fe62a08
Compare
Deployed commit |
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.
and set max-width to 200px
fe62a08
to
1ecaccb
Compare
Deployed commit |
requested changes leads to a rework of updates components To be able to have the proper alignment
Deployed commit |
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.
Thanks @hexaltation
@hexaltation @berhalak this looks to have broken |
Partially fixes #1289
Context
#1015 mockup is completed with some Document settings page enhancement.
Proposed solution
The first proposal was in PR #1181.
As suggested by @berhalak It was removed from functional code to be done in this separate PR.
This PR only enroll Document setting page enhancements.
Two other PRs will propose:
Related issues
#1015
#1289
Has this been tested?