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/select table header #23

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

Conversation

sjhorn
Copy link

@sjhorn sjhorn commented Dec 28, 2023

Related to

Includes the following:
feat/add-example
feat/flutter-3

Context

Add a Table Select header widget with styles and unit tests.

Approach

Created a simple widget to draw a triangle or invisible header Table Select (aka. Select-All).

Also added unit tests and goldens. Updated style unit test to 100% coverage and ensure useful styles were exported.

victorbotamedi and others added 11 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