EQWorks / widget-studio

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

[G2M] Controls/data source #98

Closed vxsl closed 2 years ago

vxsl commented 2 years ago

just adding the basic data source control element and some random little things tweaked leading up to last week's NPI.

basic data source selection

store

dashboard helpers

misc

deps

github-actions[bot] commented 2 years ago

📚 Storybook preview (updated to 39d7c89f6c45120ab01d1715b79cef3a127733bf)

vxsl commented 2 years ago

I can't replicate the message popup you showed but by the screenclip it looks like it is just a floating white modal-like textbox? This doesn't really make sense as a UI element, would be better to use a toast instead. Though since I can't replicate this in the storybook i'm not really sure what the workflow in getting to this popup is like

I introduced this for the QL preview workflow, demo here

does it make more sense now that you see it there?

this should probably actually be taken care of inside ml-ui instead.

sallkall commented 2 years ago

I can't replicate the message popup you showed but by the screenclip it looks like it is just a floating white modal-like textbox? This doesn't really make sense as a UI element, would be better to use a toast instead. Though since I can't replicate this in the storybook i'm not really sure what the workflow in getting to this popup is like

I introduced this for the QL preview workflow, demo here

does it make more sense now that you see it there?

this should probably actually be taken care of inside ml-ui instead.

Ah I see why you didn't opt for a toast.

But maybe we should use the same language and style for showing this message. We have this thing below when you have no data in widget editor mode. Would be nice if we consistently used this language:

image

But obviously we get rid of the button and change the select data to select execution instead.

sallkall commented 2 years ago

I can't replicate the message popup you showed but by the screenclip it looks like it is just a floating white modal-like textbox? This doesn't really make sense as a UI element, would be better to use a toast instead. Though since I can't replicate this in the storybook i'm not really sure what the workflow in getting to this popup is like

I introduced this for the QL preview workflow, demo here does it make more sense now that you see it there? this should probably actually be taken care of inside ml-ui instead.

Ah I see why you didn't opt for a toast.

But maybe we should use the same language and style for showing this message. We have this thing below when you have no data in widget editor mode. Would be nice if we consistently used this language: image

But obviously we get rid of the button and change the select data to select execution instead.

quick sketch:

image

see in figma: https://www.figma.com/file/DwLE8rXq7MTaVGSkoFKhJE/Widget-Studio?node-id=2109%3A31337

vxsl commented 2 years ago
  1. I did find a set that breaks my map still (exec. 482), not sure this branch is updated, because it looks like the error we got with a few maps right before the NPI, which you fixed.

I'm not able to reproduce the error - aside from the fact that there are no eligible columns for values in that execution. Can you elaborate?

Yeah, it's weird, today it behaves differently. Yesterday I could swear I got an fsa column and another column with values and when I tried using it on the map the widget crashed . Now it's crashing from the beginning, when I try to select that execution. How does it behave on your side?

Screen Shot 2022-03-11 at 12 56 38 PM
vxsl commented 2 years ago

Yeah, it's weird, today it behaves differently. Yesterday I could swear I got an fsa column and another column with values and when I tried using it on the map the widget crashed . Now it's crashing from the beginning, when I try to select that execution. How does it behave on your side?

@geoerika lol you edited my comment. Just checked and was able to reproduce in chrome but not firefox. Will look into it thanks for mentioning

geoerika commented 2 years ago

Yeah, it's weird, today it behaves differently. Yesterday I could swear I got an fsa column and another column with values and when I tried using it on the map the widget crashed . Now it's crashing from the beginning, when I try to select that execution. How does it behave on your side?

@geoerika lol you edited my comment. Just checked and was able to reproduce in chrome but not firefox. Will look into it thanks for mentioning

Oh, sorry about that!

vxsl commented 2 years ago

Oh, sorry about that!

@geoerika no worries :smile: -- fixed the bug, the fix was very minor so I just included it here (39d7c89).