Closed vxsl closed 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.
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:
But obviously we get rid of the button and change the select data to select execution instead.
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:
But obviously we get rid of the button and change the select data to select execution instead.
quick sketch:
see in figma: https://www.figma.com/file/DwLE8rXq7MTaVGSkoFKhJE/Widget-Studio?node-id=2109%3A31337
- 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?
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
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!
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
DataSourceControls
in lieu of complete data source controls, simply allowing the user to select from a list of executions available for the current wl/cu.@eqworks/common-login
andreact-router-dom
to facilitate an authenticated story that demonstrates this feature with actual remote fetching ("Blank Widget (data source control)"
)useExecutions
has been modified to allow data source control based on available local sample datastore
dashboard helpers
editable
: boolean whether"Open in editor"
button should be hidden or noteditCallback
: callback to be executed when this button is clicked, overriding default functionalitymisc
EditableTitle
input boxEditableTitle
input box no longer causes the page to redirectBasicSlider
goes by a step of 0.1 ifmax <= 1
CustomSelect
optionally accepts an array of stringdescriptions
deps
react-query
added as regular dependency@eqworks/lumen-labs
updated@tailwindcss/forms
added as dev dependencydepcheck
config to remove outdatedignore
entries and add a new one:@tailwindcss/*