Skip to content

Fix #208, Fix #106: Overhaul UI, layout adjustments, icon fixes#209

Merged
alexcottner merged 7 commits intomasterfrom
layout-adjustments
May 9, 2024
Merged

Fix #208, Fix #106: Overhaul UI, layout adjustments, icon fixes#209
alexcottner merged 7 commits intomasterfrom
layout-adjustments

Conversation

@alexcottner
Copy link
Contributor

@alexcottner alexcottner commented May 7, 2024

Fix #208, Fix #106

Goal of this PR is to resolve:

Possible changes:

  • Switch from icon SVG's to unicode characters (I didn't like these at first so I went with the svg's)
  • Switch from px to pt or em values everywhere

Updated Screenshots:
Dark mode
Screenshot from 2024-05-08 11-12-01

Light mode table
Screenshot from 2024-05-08 08-15-29

Small window
Screenshot from 2024-05-08 11-12-27

Copy link
Contributor

@leplatrem leplatrem left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This full-width table is waay better than what we had 💯 !

I hope my questions and comments in CSS stuff won't discourage you 😅 😅

We could now save some vertical space in the Status section. I was thinking moving parts like this for example, and only showing the server URL in the link (we can keep the current href)

328607232-d8318f22-3d60-48c5-94b8-d940592258ff

One detail which isn't one... I have some doubts about the collections icons you picked.
One could think that the red one means "delete collection", and refresh is not exactly "sync" (could mean "reload the information into the UI")

We could look for drawings that have semantics closer to what the buttons do.

Not that we should use exactly these examples, but as an idea:

Screenshot 2024-05-08 at 09 56 22 Screenshot 2024-05-08 at 09 57 28 Screenshot 2024-05-08 at 09 58 11

👏

"empty status status";
grid-template-columns: 1fr 2fr max-content;
grid-gap: 10px;

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm curious to know why you ditched the grid. This is super handy to do exactly what this PR is doing: reorganize panels

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The grid was causing issues for me when I reduced the window size. This is now responsive down to 860px. Should I try to work it back in?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, no... Leave it. I'm not expert enough to defend responsiveness with grids, but in theory they are made exactly for this (ie. rearrange panels based on media queries)

The only down part of the changes you made (not crucial, just discussing here for the love of the art), is that you embedded the panels into a #header section that has no other role than grouping its children together visually, whereas this would theorically have to be achieved in CSS

Anyway, we have higher priorities on other things, and this is just fine to ship like this

@leplatrem leplatrem changed the title Overhaul UI, layout adjustments, icon fixes Fix #208, Fix #106: Overhaul UI, layout adjustments, icon fixes May 8, 2024
@alexcottner
Copy link
Contributor Author

One detail which isn't one... I have some doubts about the collections icons you picked.

Selecting icons is the most difficult thing about software dev. I will always take icon suggestions.

Copy link
Contributor

@leplatrem leplatrem left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

approved with comments 😉

"empty status status";
grid-template-columns: 1fr 2fr max-content;
grid-gap: 10px;

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, no... Leave it. I'm not expert enough to defend responsiveness with grids, but in theory they are made exactly for this (ie. rearrange panels based on media queries)

The only down part of the changes you made (not crucial, just discussing here for the love of the art), is that you embedded the panels into a #header section that has no other role than grouping its children together visually, whereas this would theorically have to be achieved in CSS

Anyway, we have higher priorities on other things, and this is just fine to ship like this

@alexcottner alexcottner merged commit 80d68e1 into master May 9, 2024
@alexcottner alexcottner deleted the layout-adjustments branch May 9, 2024 14:11
leplatrem added a commit that referenced this pull request Jun 3, 2024
* Remove unused rules

* Group sync history rules

* Center environment select box

* Reorder rules to keep generic on top and specific below

* Fill width and height of sections in header bar

* Fix consistency of select and button in env actions

* Do not grow header when history grows

* Fix history height on small windows
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.

DevTools - Overhaul UI Resize icon to remove ICON_SIZE_INVALID warning from Addons linter

3 participants