-
Notifications
You must be signed in to change notification settings - Fork 0
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] New Resizer APIs: show, hide and toggle #1792
Comments
Comment by redmunds Looking at the AppInit.htmlReady() calls in FindInFiles.js and JSLintUtils.js, the code looks almost identical. Is there any way to automate that? Or at least simplify it down to a few parameters that can be passed to an API call? |
Comment by jbalsas
I think we could find some solution, but I'm afraid it won't be as flexible as I'd like... Maybe we could translate this to the discussion in the final pull request (once we can see all we'd need) to see how that API could look like? |
Comment by redmunds Done with initial code review |
Comment by jbalsas
I think this could make it way cleaner for the regular cases. What do you think? Does it make sense to store the size preferences in By the way, I didn't realize you hadn't finished the review when I submitted the changes. Sorry about that. Please, tell me if there's anything else you'd want to see in here. |
Comment by peterflynn
|
Comment by redmunds
No problem about checking in changes while I'm still reviewing. I got side-tracked and should not have taken so long. |
Comment by jbalsas
|
Comment by redmunds
|
Comment by redmunds Looks good. Merging. |
Issue by jbalsas
Sunday Oct 14, 2012 at 13:14 GMT
Originally opened as adobe/brackets#1838
Hi,
This is a pull request prior to the sidebar refactorization proposed in adobe/brackets#1811
It creates three new APIs
show
hide
andtoggle
on theutils/Resizer
module to change the visibility of resizable elements.It also scans a new class
collapsable
on the elements to trigger the toggle function when double clicking on the resizer element.The
show
andhide
APIs are meant to decouple the visualization panels from the actual working of the Modules. For example, once the statusbar indicator actions are implemented, the jslint results panel could be shown or hidden while keeping the scan running.jbalsas included the following code: https://github.com/adobe/brackets/pull/1838/commits
The text was updated successfully, but these errors were encountered: