nvim-ide icon indicating copy to clipboard operation
nvim-ide copied to clipboard

Implement configurable panel sizes

Open distek opened this issue 2 years ago • 7 comments

Fixes #13

Let me know if this feels okay to you and I'll fix up the documentation.

distek avatar Nov 28 '22 00:11 distek

Its a bit more of a refactor, but what do you think about opening up the "panels" config object a bit, so we dont spam a bunch of high level panel keys?

For instance:

panels = { left = { size = 30, panel_group = "explorer" } }

If you dont want to do a larger refactor in this PR, just lmk, and ill merge and refactor it a bit later.

ldelossa avatar Nov 28 '22 01:11 ldelossa

I like that idea a lot more than how it is currently. I'll look at it in a bit here.

distek avatar Nov 28 '22 01:11 distek

I thought I had commented on this last night but I guess not.

I might be able to work on the panels config some time this week if you don't get to it.

What I thought I had said last night is, basically, if you're still good with this PR then lets merge it - But now I'm thinking if we end up exposing more config options for the panels themselves, should we bother with this PR?

distek avatar Nov 28 '22 13:11 distek

This PR is good and necessary. I think we just change the panel config structure as stated above. That will put us in a good place for more panel related configs in the future.

ldelossa avatar Nov 28 '22 13:11 ldelossa

I think inability to configure default panel size is a big pain point for this plugin, IMO it should be fixed up (resolve merge conflicts) and merged, and it can be iterated on further.

mrjones2014 avatar Nov 29 '22 14:11 mrjones2014

Fixed up.

I think I have a way to tackle this in my head so I'll try and attack it tonight if no one else gets to it.

distek avatar Nov 29 '22 14:11 distek

I think inability to configure default panel size is a big pain point for this plugin, IMO it should be fixed up (resolve merge conflicts) and merged, and it can be iterated on further.

Agreed 👌

ldelossa avatar Nov 29 '22 14:11 ldelossa

@ldelossa Life stuff might get in the way of me being able to get to the refactor portion this week, so would you like to merge this or close it for now and wait for the refactor?

distek avatar Nov 30 '22 14:11 distek

My vote would be to merge now and iterate further if needed. Not having this is a big pain point.

mrjones2014 avatar Nov 30 '22 14:11 mrjones2014

Yup I'm totally cool with that!

Thanks :). Sorry missed this convo.

ldelossa avatar Nov 30 '22 21:11 ldelossa

Looks like it needs a rebase.

ldelossa avatar Nov 30 '22 21:11 ldelossa

No worries!

Looks like it needs a rebase.

Does it? If so I'll check it out when I get home

distek avatar Nov 30 '22 22:11 distek

@ldelossa double check me please, but I think we're good now.

distek avatar Dec 01 '22 00:12 distek

Hey there, I don't think there should be 11 commits in this PR?

ldelossa avatar Dec 01 '22 00:12 ldelossa

Not sure what I was thinking before. Should be good now.

distek avatar Dec 01 '22 01:12 distek

Thanks!

ldelossa avatar Dec 01 '22 01:12 ldelossa