-
-
Notifications
You must be signed in to change notification settings - Fork 152
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
Rewrite layout algorithm internals [draft] #182
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
78df837
to
9b4246d
Compare
I made pretty good progress this weekend on migrating the React components to use the new utilities. One more weekend of this and I think I should be ready to publish a release. |
How's this going? I've realized a flaw in the "custom" pixel approach we're using currently (setting sizes by watching windows resize and using math to translate a pixel value into a percent When the user resizes or collapses the panel, and then resizes the window, the current size needs to be recalculated. For example if they collapse our panel it needs to be exactly 36px. Say that translates to 1.85% of the screen width. When they shrink the window, the current size stays 1.85% so therefore shrinks below the 36px minimum. I could write logic to recalculate the new percentage on windows resize and use the panel api to |
Unfortunately no update since my last comment. I've been busy with my day job, and also traveling a lot, and this remains an unpaid side project. I'll get to it when I can find the time and energy. No promises when that will be. |
Picking this back up today to see if I can make a little progress. I don't have a sense of how close to finished it is. There's some work (mostly in |
Was traveling for most of October, in Japan for a few weeks, so I didn't do anything here, but I picked things back up this weekend and filled in some of the remaining TODO comments for tests. I'm getting closer but it's still several hours away from being complete. I think the biggest TODO I need to tackle is the |
I believe all of the functionality has been ported, and all tests should be passing now. All that's left is for me to write the changelog entry with a few before/after code examples to help people update their components. |
16f8e3a
to
82c0085
Compare
Support mix of percentage and pixel units within a group or panel.