arielsalminen / vue-design-system

An open source tool for building UI Design Systems with Vue.js
https://vueds.com
MIT License
2.17k stars 223 forks source link

Chore: update styleguidist #206

Closed elevatebart closed 3 years ago

arielsalminen commented 4 years ago

Taking a proper look now

arielsalminen commented 4 years ago

Adding notes here as I notice things. Firstly, I see many styles are broken now. As we don’t have visual regression tests it’s probably easiest to compare to live example here: https://vueds.com/example/#/Elements/Button

A few things that are broken:

Current state (in this pull):

Screen Shot 2020-04-17 at 13 37 44

Previously:

Screen Shot 2020-04-17 at 13 37 33
arielsalminen commented 4 years ago

@elevatebart I went through your changes and added some comments. Let me know how do you want to proceed forward. Happy to help and also do the release once we have everything working.

elevatebart commented 4 years ago

Hello @viljamis

Thank you so much for this review, it has been a long-awaited update.

Regarding the sidebar:

  • Sidebar "logo"

Updating the logo color should be easy to fix

  • The expansion of selected items in sidebar does not work correctly now

In my experience and research, closing a section while opening another tends to create unexpected behaviors. Users click on an item and it goes away. Collapsing it then becomes harder. This exact question was asked on ux.stackexchange.com and is the reason I made this choice for styleguidist (documentation of the new option). Do you think I should make another option in vsg to close every open section when another opens?

  • The code previews have incorrect text styles

Are you talking about typography, colors, spacing, font-size? I abandoned CodeMirror (too heavy) for a lighter editor and I need to figure out the proper styles to try to match what was before. I might never get there.

  • The table styles are a little broken in component views

Could you be a bit more specific about what is broken here? I will double-check myself but you might have something very clear in mind.

Thank you for all the feedback, Yours

elevatebart commented 4 years ago

I made the changes to most of the design, Waiting for your call on the accordion feature.

Bart

elevatebart commented 4 years ago

@viljamis I believe I am now all done. The accordion is back online, tokens are now hidden, the editor looks the same as before. Should be ready for delivery,

Bart

MaximeCouasnon commented 4 years ago

@elevatebart

We can see both these points on the following screenshot:

Screen Shot 2020-04-17 at 13 37 44
elevatebart commented 4 years ago

Thank you @MaximeCouasnon,

I'll update styleguidist. Regarding the width, it actually depends on the with of your screen. Maybe media queries would be helpful here.

@viljamis what do you think?