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

Update tilemap/image/animation editor to use react common components #10317

Merged
merged 8 commits into from
Jan 13, 2025

Conversation

riknoll
Copy link
Member

@riknoll riknoll commented Dec 13, 2024

fixes microsoft/pxt-arcade#5924

this replaces all of the custom buttons and dropdowns that we have in the tilemap/image/animation editors with the buttons from react-common, which are better for accessibility.

also re-implements the tilemap palette page selector so that it now has a maximum of 5 pages

also adds a "FocusTrapRegion" subcomponent that lets you turn tab navigation on/off for regions within a focus trap. you can also use it to control the order of tab navigation when it differs from what's actually in the dom

@riknoll riknoll requested a review from a team December 13, 2024 22:18
Copy link
Member

@jwunderl jwunderl left a comment

Choose a reason for hiding this comment

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

LGTM, nice clean up

webapp/src/components/ImageFieldEditor.tsx Outdated Show resolved Hide resolved
Copy link
Collaborator

@eanders-ms eanders-ms left a comment

Choose a reason for hiding this comment

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

looks great

@riknoll riknoll merged commit 867bf72 into master Jan 13, 2025
6 checks passed
@riknoll riknoll deleted the dev/riknoll/tilemap-editor branch January 13, 2025 17:46
@Nolan0027
Copy link

5 page limit? Is that normal

@riknoll
Copy link
Member Author

riknoll commented Jan 14, 2025

@Nolan0027 it's not an actual limit, it's just the max number of dots that will be displayed. you can still use the arrows to move further forward/back in the list

@Nolan0027
Copy link

@riknoll ok

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.

Once users create a certain number of tiles, they can no longer get to all of the pages
4 participants