This repository has been archived by the owner on Apr 25, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 12
feat: allowing widget and block plugins to resize when they are expandable #170
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
✔️ Deploy Preview for reearth-web ready! 🔨 Explore the source changes: 2d17c4f 🔍 Inspect the deploy log: https://app.netlify.com/sites/reearth-web/deploys/6203925bceac5e000841a0e6 😎 Browse the preview: https://deploy-preview-170--reearth-web.netlify.app |
Codecov Report
@@ Coverage Diff @@
## main #170 +/- ##
==========================================
- Coverage 45.39% 45.21% -0.18%
==========================================
Files 60 60
Lines 1302 1307 +5
Branches 207 212 +5
==========================================
Hits 591 591
- Misses 652 657 +5
Partials 59 59
|
rot1024
suggested changes
Feb 7, 2022
Add autoResize prop to this also: https://github.com/reearth/reearth-web/blob/main/src/components/molecules/Visualizer/Block/index.tsx#L46 |
rot1024
approved these changes
Feb 8, 2022
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it's good, but I have more in-depth advice.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Overview
Plugin developers want to be able to stretch 100% vertically or horizontally, and resize in the opposite direction. related issue
What I've done
autoResizeHorizontally
andautoResizeVertically
.What I haven't done
How I tested
Screenshot
Before:


After: