Skip to content

rerevert grid cleanup#317

Merged
mofojed merged 2 commits intodeephaven:mainfrom
mofojed:rerevert-grid-cleanup
Dec 1, 2021
Merged

rerevert grid cleanup#317
mofojed merged 2 commits intodeephaven:mainfrom
mofojed:rerevert-grid-cleanup

Conversation

@mofojed
Copy link
Member

@mofojed mofojed commented Nov 26, 2021

…phaven#302)

- Convert part of grid to TypeScript 
- Add some JSDocs
Was screwing up the calculations still. Added a TODO ticket to clean it up and make it less confusing/prone to screwing up.
@mofojed mofojed added bug Something isn't working web-client-ui grid package/grid labels Nov 26, 2021
@mofojed mofojed self-assigned this Nov 26, 2021
@mofojed
Copy link
Member Author

mofojed commented Nov 26, 2021

@mattrunyon @spasovski It would be easiest to review this just by looking at the second change.

);

// Calculate the metrics for the main grid
const visibleRows = Array.from(visibleRowHeights.keys());
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The problem was the visibleRows map was including floatingRows which is wrong. I have a ticket to make things make more sense, but I figure making it make more sense is a breaking change so leaving it in another change is safest.

Copy link
Contributor

@spasovski spasovski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good and fixes #307 and #308

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working grid package/grid web-client-ui

Projects

None yet

Development

Successfully merging this pull request may close these issues.

floating bottom rows - background on row labels does not fill in floating bottom rows - keyboard navigation results in wrong scrollbar position

3 participants