-
Notifications
You must be signed in to change notification settings - Fork 125
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add pinning to table #3383
Add pinning to table #3383
Conversation
100% agree on your proposal to move the pin icon one row up into the header row. |
I'm not sure if it's related to this PR, but one UX problem I'm seeing for the first time is that when I move my browser focus to a different tab, then return focus to the Rill (Developer) tab where I have the TDD view open, I hit a loading state where both the chart and the time series table have spinners. I'd expect any data refetch to happen in the background, rather than tear down the current data. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving from a code standpoint 👍
I think that's a issue for the whole dashboard. This is also present in the overview screen. This is because of how reconcile works when a user moves back to an inactive tab. For sure we can improve the experience by having better loaders and blank placeholders |
hey @ericpgreen2 and @djbarnwal, I know this is merged, but I want to flag an issue for you both in the future. @djbarnwal, I have seen several places in the app where you use -1 as a sentinel value for invalid data. Sentinel values are not a best practice in languages where nullable values are available, because they obscure the semantics of the value for other users of the code (especially when undocumented, as is the case for The preferred approach would be to use the type (also fyi @AdityaHegde in case you see this pattern in a review) |
Add pinning to dimension table as per https://www.notion.so/rilldata/Time-Dimension-Detail-Design-Mocks-and-Specification-2dd22773d6e8479ca8d297f95877c669
Couple of things to note -