-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Cannot resize JSLint panel or Search Result panel. #1122
Comments
Set it to medium priority since this is one of the reasons that I can't use Brackets for my everyday work. |
Reviewed - The work you did in the side bar may apply here too. Please have a look. |
Move to Backlog - probably a starter feature |
@ryanstewart - I move this to the backlog Trello card #608. |
Hi! I've seen in this Trello card that this is marked as a starter bug although it is not in here. I'd like to try this one out if that's okay. Other than the existing side panel resize, is there anything else to take into account? Looking around, I've noticed the z-index definitions in styles/brackets_variables.less. Is there a document or some rules defining how indexes must be assigned? If it does, I haven't been able to find it in the wiki so far. |
Chema, Yes, you are welcome to take on this one. I think the intent here is to add functionality to allow the bottom panel to be resized vertically only. Resizing the width of the editor or app, or changing the side panel width, will resize the panel horizontally. The z-indexes were defined in variables in brackets_variables.less for the sake of organization. We have not yet run into any conflicts, so that's why there's no documentation. But, by only allowing the height of the bottom panel to change, then you shouldn't need to change any z-indexes. |
Thanks Randy, I didn't want to step on anyone's toes. I've been already looking around and I have a couple of questions:
|
|
Hi! I have pushed a rough implementation of this in https://github.com/jbalsas/brackets/tree/jslint-panel-resize I stopped before doing any cleanup or any API changes because I'm not sure if this is what you'd want for Brackets. There are a some things that bother me about this:
I could finish tweaking and cleaning this up, at least for now, if you think it's worth having this functionality. For the long term, I'd suggest to group all the available bottom panels in one tabbed bottom panel. This module could expose some API to add/remove and enable/disable panels. It will also be the responsible for handling the resize and invoking some setHeight API on the available panels when required. What do you think? |
I think I agree that stacking panels is not a good solution. I was just thinking through how it works now to make sure current functionality doesn't get broken. It sounds to me like the tabbed panels is a better solution, but I am just 1 person on the team. I think it would be best to start a discussion thread on the brackets-dev forum (https://groups.google.com/forum/?fromgroups#!forum/brackets-dev) to reach a general consensus before you proceed. |
Also, whether or not to have a close button on the JSLint panel would be another good topic to discuss in that thread. |
A discussion about this is underway in the brackets-dev forum at https://groups.google.com/forum/?fromgroups=#!topic/brackets-dev/PqEbuhw7k6c. It looks like bottom panels organization will change in the future. Should we push the changes to fix this issue in the meantime? Or is it better to keep it clean and just close it? |
You are welcome to push any changes so we can take a look adn decide if it's the direction we want to go. |
@jbalsas Thanks much for submitting your pull request. I marked this FIP and removed the Move to Backlog tag since you're working on it already. Cool! |
Nominate to Sprint 15 |
Reassigning to Randy since he's reviewing. |
FBNC back to @RaymondLim |
Fix verified. |
Open a file that has some JS Lint errors or do a Find-in-Files. When JSLint or Search panel shows up, try to resize the panel so that you can see more of its content.
Result: You can't.
The text was updated successfully, but these errors were encountered: