Skip to content
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

First pass at sub-bar redesign. #1245

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

iamnickvolpe
Copy link
Contributor

This is the first part of a story to add some more functionality to editor labels, which includes a notification about poorly-formatted code and the ability to fix it.

screenshot 2017-12-07 02 45 44

Copy link
Contributor

@outoftime outoftime left a comment

Choose a reason for hiding this comment

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

This may be a sub-bar redesign, but it’s certainly not a sub-par redesign……………

Anyway left a few comments, nothing major!

<span
className="sub-bar__button"
onClick={onPopOutProject}
>Full screen</span>
Copy link
Contributor

Choose a reason for hiding this comment

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

I find the icons more usable here (the eye finds what it’s looking for more quickly if it doesn’t have to read the words). And I have never noticed students finding them unintuitive. Have you?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Just looking for ways to increase overall clarity and discoverability. Anecdotally I see a lot of students don't know that those icons are even actions at all, let alone what they do. Would you be averse to icon + text?

@@ -71,6 +71,7 @@
:root {
--color-low-contrast-gray: #eee;
--color-chrome: #e2e2e2;
--color-border: #bbb;
Copy link
Contributor

Choose a reason for hiding this comment

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

do we really need another gray tone?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'd say yes. I tried the existing ones but they looked ugly and too pronounced.


.sub-bar {
box-shadow: var(--box-shadow);
font-size: var(--font-size-menu);
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we need a new name for this font size variable!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Perhaps. It's becoming a general goto "base" font-size.

border-left: 0.1em solid var(--color-border);
padding: 0 1em;
height: var(--size-sub-bar);
line-height: var(--size-sub-bar);
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we not use percentages here?

@@ -566,11 +583,16 @@ body {
/** @define notification-list */

.notification-list__notification {
margin: 0.2rem 0;
font-size: var(--font-size-menu);
Copy link
Contributor

Choose a reason for hiding this comment

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

This seems unrelated to the other stuff in here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Somewhat. Kinda rolling it into general "chrome/menu/etc." design tweaks to reign in the sizing and spacing of everything and make things look more standard. Would you be totally averse to keeping it in here?

@iamnickvolpe
Copy link
Contributor Author

Made some comments. Will shoot over changes soon. But any thoughts on how to fix those errors? I don't see how that's not valid BEM syntax.

@outoftime
Copy link
Contributor

@iamnickvolpe ah sorry I forgot to address that originally—you just have a typo in the @define statement, writing sub-bars rather than sub-bar

@outoftime
Copy link
Contributor

@iamnickvolpe any interest in picking this back up? would love to see these designs give a little bit of a “fresh new look” for the new school year!

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.

2 participants