Skip to content
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 #565

Closed
wants to merge 21 commits into from
Closed

Linkstate flydev #565

wants to merge 21 commits into from

Conversation

jvorob
Copy link
Contributor

@jvorob jvorob commented Jul 10, 2023

Linkstate preview take 2
Fixed various bugs

jvorob added 12 commits July 10, 2023 17:27
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
css mask-image vs -webkit-mask-image
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
@jvorob jvorob added the preview Launch preview deployment of this PR label Jul 10, 2023
@github-actions
Copy link
Contributor

Deployed as https://grist-linkstate-flydev.fly.dev (until 2023-08-06T20:03:57.288Z)

@github-actions
Copy link
Contributor

Deployed as https://grist-linkstate-flydev.fly.dev (until 2023-08-09T21:38:04.084Z)

Handle '- blank -' selector values better
Changed colId == "id" to be colId == undefined.
Works better with the col 0.colId == undefined that you get when
you're passed in a non-null column but it's the "empty" column
Don't actually check, since in page widget the table doesn't
exist yet, and I don't wanna deal with turning col ids to col models
@github-actions
Copy link
Contributor

Deployed as https://grist-linkstate-flydev.fly.dev (until 2023-08-09T21:58:00.466Z)

@jvorob jvorob closed this Sep 8, 2023
@jvorob jvorob deleted the linkstate-flydev branch September 8, 2023 18:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
preview Launch preview deployment of this PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant