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

Feat/frozen header line style #24

Open
wants to merge 12 commits into
base: main
Choose a base branch
from

Conversation

sjhorn
Copy link

@sjhorn sjhorn commented Dec 28, 2023

Context

Added the ability to style the frozen cell separator line

Approach

Updated the table and header line rendering to check if it is the last row/column and then use the new SwayzeStyle frozenCellSeparatorColor. Also adjusted unit tests to check default and styled borders with goldens.

victorbotamedi and others added 12 commits May 31, 2022 13:15
* Add initial header drag preview implementation

* Add drag column preview

* Rename inner preview widgets

* REname dropHeaderAtPosition

* Add lines preview

* Change mouse curson when hover a selected header

* Reorder preview clean up

* Fix preview using the latest selection

* Render drag preview independet of selections

* Fix selection tap initiating header drag

* Set header index as a range

* Add is header selected method to selection controller

* Move action dispatch to methods

* Fix preview with frozen panes

* Set drop action to move the selection around

* Add header cancel drag intent

* Move dragging property to its own state class

* Rename reorder preview to header drag and drop

* Blocks a drop action within the header range

* Add header drag state test

* Move header drag and drop actions to its own files

* Add intent docs

* Add drag n drop preview theme

* Add docs

* Fix format

* Add a configuration to swayze scope

* Fix test

* Fix const warning

* Fix typos

* Fix some selections no being dragged properly

* Add a brief doc on why we use basic cursor for drag

* Fix header drag and drop with frozen panes

* Move drag state to its own class

* Add end boundary drop test

* Add header gesture detector tests

* Fix dragging overlaping selections

* Set a single action mock

* Typo

* Move drag and drop style to its own class

* Fix comment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants