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

[WIP] Tile manager component implementation #1402

Draft
wants to merge 187 commits into
base: master
Choose a base branch
from

Conversation

mtsvyatkova
Copy link
Contributor

No description provided.

onlyexeption and others added 28 commits October 3, 2024 11:18
…manager-resizing

# Conflicts:
#	src/components/tile-manager/themes/tile-manager.base.scss
#	src/components/tile-manager/themes/tile.base.scss
#	src/components/tile-manager/tile.ts
feat(tile-manager): implement base resizing logic
…om/IgniteUI/igniteui-webcomponents into mtsvyatkova/feat-1379-tile-manager

# Conflicts:
#	stories/tile-manager.stories.ts
This is a PoC but we can evaluate if this is something
we want and design UX around it.
Cleaned-up some code.
Initial tests for drag and drop behavior.
gedinakova and others added 8 commits January 28, 2025 09:57
Fixed an issue with fullscreen event handler when
the tile manager and its tiles are in a Shadow DOM
region.
Exposed a new internal resize container component and controller.

Improved the resize behavior of the tile manager: deferred resizing
with snapping based on the configuration of the tile manager grid and
its tiles.

Improved UX by introducing view transitions when resizing tiles in
the tile manager.

---------

Co-authored-by: onlyexeption <[email protected]>
* Emulate native drag and drop using PointerEvent API
providing touch-based drag and drop behavior.
* Improved the deferred drag operations for tiles by moving
the drag ghost into a separate layer, simplifying some internal implementation logic.
* Use view transitions for drag operations for better UX.
* Added a dragMode property to control if and how drag operations are done in the tile manager.
* Added a resizeMode property to control if and how resize operations are done in the tile manager.

---------

Co-authored-by: Radoslav Karaivanov <[email protected]>
@gedinakova
Copy link
Contributor

Resize indicators bug

  1. Go to "Dynamic Tiles" story
  2. Enable resizeMode on hover
  3. Hover over the first tile
  4. Mouse down and drag towards the second tile
  5. Note the resize indicators over the second tile

Result: The indicators get selected and look very odd. Hover over another tile and then back to the second one. The indicators are still like that.

image

onlyexeption and others added 21 commits February 6, 2025 15:50
Abstracted cancel logic for both behaviors
to be independent from focus state
Added tests for drag behavior controller
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Tile Manager Component
6 participants