Closed wowo closed 6 years ago
@williaster I think this may be related to your recent SupersetClient
refactor.
@mistercrunch are you saying that because you've you've debugged it and you can see that it's related to my changes?
I think this is actually due to broken reactable
version. Basically we can either have a version that works in Prod, or one that works in Dev, but not both. Maybe 28.1
was cut with a version that only works for Dev? See #6142.
cc @kristw
@williaster to be honest I have no evidence it's due to SupersetClient
just operating on intuition here.
0.28
was cut without much testing as an emergency fix to 0.27
that started failing (due to unpinned dependencies), and knowing that it would be a while before we'd come up with a proper Apache release.
I am confident this is due to reactable
.
I first increased the version because this behavior happens in development.
Then found that it fixes dev
but breaks prod
so I reported an issue (#5935).
A few weeks ago I downgraded reactable
to make sure production
works (#6142).
^That's consistent with my experience, production works right now and for dev you have to manually change the version for it to work locally.
I've downloaded repo from master, build assets and used them with 0.28.1 (with reactable on 1.0.02) and it works fine
So we have no reactable version that work in both cases? :(
@mistercrunch Nope. There is an opened issue about this on the reactable
repo itself and I have commented on it a month ago. The maintainer acknowledged, but there has been no update since. We'd better migrate to something else IMHO.
sorry about the trouble @wowo, glad you found a workaround.
I agree we should move away from this one, @kristw has noted that there are ~10 components that use this lib now, so it's not super easy.
we could look into how hard it is to install different versions depending on dev vs prod to take away some of the urgency?
Which specific Reactable issue is the blocker? Is it related to react-hot-loader
?
@mistercrunch It seems related to react 16 https://github.com/abdulrahman-khankan/reactable/issues/3
Make sure these boxes are checked before submitting your issue - thank you!
Superset version
0.28.1
Expected results
After upgrade to Superset 0.28.1 (from 0.27.0) via Pip, there's nothing on welcome screen (dashboards, recently viewed, favourites), although I have for instance 3 favourites and I see they are being returned via Ajax call (Google Developer Tools). Happens in firefox and chrome.