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

feature(website): make device preview panel resizable #560

Merged
merged 6 commits into from
Feb 23, 2024

Conversation

byCedric
Copy link
Member

Why

Follow up for #558. If we want to add device control to rotate the device, we need to allow users to resize that panel (because else it gets too small).

How

This introduces react-resizable-panels and implements it for the editor and preview. Note, for embeds, this won't be enabled.

Test Plan

See staging.

@byCedric byCedric changed the base branch from main to @bycedric/website/appetize-js-sdk February 21, 2024 15:17
@byCedric byCedric force-pushed the @bycedric/website/device-preview-resize branch 2 times, most recently from 9718f04 to 34ba744 Compare February 22, 2024 12:06
@byCedric byCedric force-pushed the @bycedric/website/device-preview-resize branch from ed3f94b to 0ed55a1 Compare February 22, 2024 12:15
@byCedric byCedric force-pushed the @bycedric/website/appetize-js-sdk branch from 649d32e to d4f9919 Compare February 23, 2024 08:36
Base automatically changed from @bycedric/website/appetize-js-sdk to main February 23, 2024 08:46
@byCedric byCedric force-pushed the @bycedric/website/device-preview-resize branch from 0ed55a1 to ef2805d Compare February 23, 2024 08:48
@byCedric byCedric changed the title @bycedric/website/device preview resize feature(website): make device preview panel resizable Feb 23, 2024
@byCedric byCedric merged commit 38e66a7 into main Feb 23, 2024
22 checks passed
@byCedric byCedric deleted the @bycedric/website/device-preview-resize branch February 23, 2024 08:57
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.

1 participant