-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
WIP: Small UI Improvements Phase 2 #629
Conversation
I know the build is failing , any idea what values used to be ? |
It says the build is now two times bigger than it used to be. |
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.
I like how it works!
Carret added on Props to help people understand that it's a clickable drop-down
They are tabs, not dropdowns. How would it look with more than one tab? In any case the Code tab should look the same way and the arrow icons should be inside the tab button component.
Toggle props button is in place
Now it’s hidden in isolated mode — where we need it most ;-)
Understand the best way to make toggle props master button work
I think it should be more like the real isolated mode. What would you like to see when you develop? Just props aren’t a big issue now because they are hidden by default. So probably we should hide text and description, make the heading smaller, etc.
And please remove yarn lock file.
On it !
I know but why ? I didn't even install anything
You think the click should make changes to the theme ? @sapegin New demo: https://styleguide-xtiemmtyfv.now.sh |
Yeah, we just use |
I’m not giving much feedback about the code because we’re not yet sure how everything should look. But I’ll read it carefully later ;-)
That’s something weird. I only see two new icons, something must be wrong here. I’ll take a look later.
I don’t think so. Maybe we should hide the header and show component name somewhere else, like on a fixed toolbar near buttons to toggle sidebar and toggle uberisolated mode. I’m open for ideas ;-) |
@sapegin I could do a tooltip in just CSS and the content in the before, what you think? |
I'll do some iterations on the focus button of that and send some screenshots :) |
Maybe a good idea but as a separate PR ;-) |
Also use |
What do you mean by the last comment? |
You’re attaching an |
Oh! Okay, cool 😃
…On Sat, 7 Oct 2017, 21:04 Artem Sapegin, ***@***.***> wrote:
You’re attaching an onClick handler to an image which make them
inaccessible, inconsistent with other toolbar buttons, you have to write a
lot of extra styles, and we already have a component for toolbar buttons.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#629 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABALdTyMlA-EIh0eghpBr3dN-xaNPbz7ks5sp9lTgaJpZM4PxFVj>
.
|
@ankri @sapegin Added the toolbarButton and it looks waaaay better actually :p thank you for reminding me 👍 https://styleguide-vwetycents.now.sh/ Will take a lot at some possible mods tomorrow for focus mode :) |
…nto ui-minor-improvements
@SaraVieira here is my thoughts on the UI:
|
@okonet Thanks for the feedback! 🙌 Regarding the second button it's true it doesn't do anything yet :( Where do you think it would be a better position for them? About the hiding the sidebar it has come in handy for me a couple of times but yes it's a niche problem |
@SaraVieira Any particular use cases for manually hiding the sidebar? I really want the uberisolated mode ;-) |
The main use case is mobile like it does right now, besides that it could be useful if you want to work in focus mode. Now that I think about its more of a pretty thing then an actually necessity on desktop 🙁 |
But do you really need to see all components in that mode? |
Mostly not 🙁 Maybe the sidebar removal in desktop should enable focus mode instead of having two buttons |
Btw, @sapegin I pinged you on slack |
I think the main question here is what would be the best experience for developing components? For me it would be uberisolation mode:
|
Yes, let's approach the problem with real use cases and not with the UI first. I'll write down my thoughts on the DX as soon as I get some more time. Sorry for delays :-/ |
Yes, for me the most important DX consideration is lack of chrome (padding, etc) for responsive testing. |
I’d suggest to split this PR otherwise we’ll never finish it because there are so many things that needs further discussion.
+1 from me.
Not sure we really need that.
That’s the whole discussion of the uberisolated mode.
This is useful I think but since we’re not sure about the toggle sidebar button I’m not sure how it should work. What do y’ll think? My thoughts and wishes on uberisolation: I also think it should be a permanent toggle between isolation and uberisolation (and same for full-width mode), that would be stored in localStorage, so every time you will open isolation of a component you’ll have your last setting. Any feedback? |
😴 This issue has been automatically marked as stale because it has not had recent activity. It will be closed in a week without any further activity. Thank you for your contributions. |
The latest demo: https://styleguide-vwetycents.now.sh/
What is done:
What I need help:
Closes #426 & #424