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

[CLOSED] Sidebar resize refactorization (2) #1857

Open
core-ai-bot opened this issue Aug 29, 2021 · 5 comments
Open

[CLOSED] Sidebar resize refactorization (2) #1857

core-ai-bot opened this issue Aug 29, 2021 · 5 comments

Comments

@core-ai-bot
Copy link
Member

Issue by jbalsas
Sunday Oct 21, 2012 at 17:24 GMT
Originally opened as adobe/brackets#1908


This is the final step (hopefully) on the sidebar resize refactorization proposed initially in adobe/brackets#1811 and developed in several steps in adobe/brackets#1820, adobe/brackets#1838 and adobe/brackets#1899

It moves almost all the resize functionality for the sidebar into the utils/Resizer module.

Due to the last changes on flexbox, it also adds a new data-forcemargin to control the margins that need to be pushed while resizing an element.

@redmunds With a bit of luck this could be the end of the Resizer chapter for now ;)


jbalsas included the following code: https://github.com/adobe/brackets/pull/1908/commits

@core-ai-bot
Copy link
Member Author

Comment by redmunds
Tuesday Oct 23, 2012 at 04:48 GMT


In master, the area that shows the resize cursor is to the right of the panel edge, but in your branch it's too the left of the panel edge. Logically, I think it makes more sense to have the resize area over the panel that's being resized, but it causes a problem in this case because it's over the vertical scrollbar. It makes it difficult to grab the scrollbar with the mouse -- there's only 1-2 pixels where you can grab it.

@core-ai-bot
Copy link
Member Author

Comment by redmunds
Tuesday Oct 23, 2012 at 05:01 GMT


Initial code review is complete. This cleans up a lot of code! Just a couple things to fix.

@core-ai-bot
Copy link
Member Author

Comment by jbalsas
Tuesday Oct 23, 2012 at 12:50 GMT


@redmunds On a side note, now that adobe/brackets#1854 is fixed, I was thinking of adding a second pass (first one needs to stay on htmlReady to catch the sidebar size as soon as possible) in the Resizer on appReady. Hopefully it will be able to catch now the html resizer attributes for the extensions without the manual call to makeResizable. What do you think?

@core-ai-bot
Copy link
Member Author

Comment by redmunds
Tuesday Oct 23, 2012 at 16:08 GMT


After reading the comments in adobe/brackets#1854, I am not sure if it's fixed yet. Give it a try in a new branch, but I don't want these changes to wait on that.

Looks good. Merging.

@core-ai-bot
Copy link
Member Author

Comment by jbalsas
Tuesday Oct 23, 2012 at 18:37 GMT


You're right... I guess I'll leave it to rest for a while then ;)

Thanks!

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

No branches or pull requests

1 participant