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(ui): updates to Layers and Gallery tabs #7119

Merged
merged 4 commits into from
Oct 16, 2024

Conversation

maryhipp
Copy link
Collaborator

@maryhipp maryhipp commented Oct 15, 2024

Summary

44cc25a: Move the tab state for layers/gallery (canvas right panel) into redux so that it persists across session/refreshes. Also make gallery the default so that it appears for new users or those who do not have client-side state yet.

d61f0cd: add layers tab as droppable destination to improve UX of dragging an image from gallery to an existing layer

Related Issues / Discussions

QA Instructions

Screen.Recording.2024-10-15.at.10.39.33.AM.mov

Merge Plan

Checklist

  • The PR has a short but descriptive title, suitable for a changelog
  • Tests added / updated (if applicable)
  • Documentation added / updated (if applicable)

@github-actions github-actions bot added the frontend PRs that change frontend files label Oct 15, 2024
@maryhipp maryhipp changed the title feat(ui): move layers/gallery tab state into redux slice feat(ui): updates to Layers and Gallery tabs Oct 15, 2024
@psychedelicious psychedelicious force-pushed the maryhipp/canvas-panel-tabs-to-persistent-state branch from d61f0cd to 535c128 Compare October 15, 2024 23:32
@psychedelicious psychedelicious enabled auto-merge (rebase) October 16, 2024 04:18
@psychedelicious psychedelicious force-pushed the maryhipp/canvas-panel-tabs-to-persistent-state branch from 19bfa60 to 175c335 Compare October 16, 2024 04:18
Mary Hipp and others added 4 commits October 16, 2024 18:33
…oss sessions/refreshes, make gallery the default
…UX for dragging from gallery to layers tabs"

This reverts commit 535c128.
We can use the drop overlay component directly for this, without needing to add it as a `noop` dnd target.

Other changes:
- The `label` prop is now used to conditionally render the label - every drop target provides its own label, so this doesn't break anything.
- Add `withBackdrop` prop to control whether we apply the dimmed drop target effect.
@psychedelicious psychedelicious force-pushed the maryhipp/canvas-panel-tabs-to-persistent-state branch from 175c335 to f0f357f Compare October 16, 2024 07:33
@psychedelicious psychedelicious merged commit 23fada3 into main Oct 16, 2024
14 checks passed
@psychedelicious psychedelicious deleted the maryhipp/canvas-panel-tabs-to-persistent-state branch October 16, 2024 07:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
frontend PRs that change frontend files
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants