-
-
Notifications
You must be signed in to change notification settings - Fork 306
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
Linkstate flydev #562
Closed
Closed
Linkstate flydev #562
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Adds JV object to global namespace, adds pretty-printing methods for columns, links, sections, etc Shows linking debug info in rightPanel Adds debug window to topleft
Values are hacked together in buildViewSectionDom
Combined simpleFilter and srcCellFilter (the advantage of simpleFilter (that we don't need to look at any values) is gone once we need to start making labels, so it's more straightforward to unify them Still somewhat hacky with srcCol tgtCol vs srcColId vs tgtColId, we don't pass them into makeFilterObs right now, so the code just grabs them from this.srcCol and this.dstCol, but that won't work for summary tables, so still need to generalize
Filter bubbles now work correctly for unloaded tables and stuff
Deployed as https://grist-linkstate-flydev.fly.dev (until 2023-08-06T08:28:12.466Z) |
Deployed as https://grist-linkstate-flydev.fly.dev (until 2023-08-06T08:28:12.466Z) |
css mask-image vs -webkit-mask-image
Deployed as https://grist-linkstate-flydev.fly.dev (until 2023-08-06T08:44:59.437Z) |
If visibleCol is rowId, that's implemented as visibleCol = colRec 0, so its colId is undefined. Added an explicit check to fix that TODO: switch to using undefined instead of "id" in makeFilterObs and in makeValGetter to better mesh with grist style
Was trying to switch sections WITHOUT opening rename widget, but was clicking directly on .test-viewsection-title instead of -viewsection-blank, which exists for that purpose, so test broke
I previously changed lookup links (i.e. ref col -> row) to behave consistently whether ref or reflist. i.e.: instead of ref being a cursor-link and reflist filtering, they now both filter, so ref just shows a single record However this breaks tests so let's undo it temporarily
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
WIP of linkstate bubbles. The code is a mess but the features seem to work: Shows current linked-filter info in a pill, with more detailed linking info on hover. Also some debug information added to the Table->Data section of the rightPanel, but that won't be in the user-facing version.