EQWorks / widget-studio

Widget-creating tool for charts, maps, tables, stats
https://eqworks.github.io/widget-studio/
2 stars 3 forks source link

[G2M] UI/editor rework 3 #79

Closed vxsl closed 2 years ago

vxsl commented 2 years ago

depends on EQWorks/chart-system#161


controls

style

store

components

util

deps

github-actions[bot] commented 2 years ago

📚 Storybook preview (updated to 108df48c29b222ea5dfcbd414670f188418732f8)

sallkall commented 2 years ago

weird icon behaviour in open in editor

image

input box prefix and suffix

image image

unify padding

button icon not aligned:

image
geoerika commented 2 years ago

Didn't look at all styling in Figma, but I noticed the icons in the buttons look smaller than before and the styling is different than in Figma design. You have a white border for the buttons that the design doesn't have:

Screen Shot 2022-02-07 at 9 55 53 PM
geoerika commented 2 years ago

When using the slider in the Value Filter, the min and max values below don't update.

Screen Shot 2022-02-07 at 10 02 20 PM
vxsl commented 2 years ago

Didn't look at all styling in Figma, but I noticed the icon buttons look smaller than before and the styling is different than in Figma design. You have a white border that the design doesn't have:

@geoerika Will adjust the size when I go through and fix up the sizes throughout the entire app (most of them are wrong because I was using the wrong base size for my px->rem calculations).

Thanks for noticing the border inconsistency, I assumed they were the same between QL mode and Editor mode :open_mouth: . Actually, @sallkall, can you let me know if I should make them different or make them both as they are shown in the editor design?

editor design: image

QL design: image

... Also just realized I am missing the icon titles in editor mode. Will add.

When using the slider in the Value Filter, the min and max values below don't update.

@geoerika Good catch, thanks. Will push the fix here

sallkall commented 2 years ago

Didn't look at all styling in Figma, but I noticed the icon buttons look smaller than before and the styling is different than in Figma design. You have a white border that the design doesn't have:

@geoerika Will adjust the size when I go through and fix up the sizes throughout the entire app (most of them are wrong because I was using the wrong base size for my px->rem calculations).

Thanks for noticing the border inconsistency, I assumed they were the same between QL mode and Editor mode :open_mouth: . Actually, @sallkall, can you let me know if I should make them different or make them both as they are shown in the editor design?

editor design:

image

QL design:

image

... Also just realized I am missing the icon titles in editor mode. Will add.

When using the slider in the Value Filter, the min and max values below don't update.

@geoerika Good catch, thanks. Will push the fix here

I intentionally removed the white border and added the label for the widget type icons in editor. So yeah between QL and editor they are different.

vxsl commented 2 years ago

@sallkall

weird icon behaviour in open in editor

fixed in #80

is it possible to use the ^lumen-labs TextField component features namely prefix and suffix for HSL and RGB? So actual input area only has to be comma separated

I did try to implement this and it cascaded into a lot of roadblocks. Maybe something I will pick up again in the future but for now is it ok if we leave it like this? Besides, there is one benefit to omitting the prefix and suffix: the user can copy paste values from a color picker. :shrug:

can we unify the padding around the square?

fixed in #80

button icon not aligned:

fixed in #80

sallkall commented 2 years ago

@sallkall

weird icon behaviour in open in editor

fixed in #80

is it possible to use the ^lumen-labs TextField component features namely prefix and suffix for HSL and RGB? So actual input area only has to be comma separated

I did try to implement this and it cascaded into a lot of roadblocks. Maybe something I will pick up again in the future but for now is it ok if we leave it like this? Besides, there is one benefit to omitting the prefix and suffix: the user can copy paste values from a color picker. 🤷

can we unify the padding around the square?

fixed in #80

button icon not aligned:

fixed in #80

I see, if it's not working don't worry about it :)) And agreed, but given we have a color picker right below the input box not sure how often would people still look for an external color picker. Anyways we can leave it as is.