Skip to content

WIP: Multi split outliner#429

Merged
RvanderLaan merged 10 commits into
masterfrom
multi-split-outliner
Mar 6, 2022
Merged

WIP: Multi split outliner#429
RvanderLaan merged 10 commits into
masterfrom
multi-split-outliner

Conversation

@RvanderLaan

@RvanderLaan RvanderLaan commented Feb 12, 2022

Copy link
Copy Markdown
Collaborator

Can't get the behavior quite right yet..

Preview:

Preview gif


Edit: I couldn't get it working in this approach. The collapse/expand logic got way too complicated in addition to the resizing.

I've swapped it out for a CSS-only approach now, no more manual layout calculations:

allusion-multi-split-css-only.mp4

I think it works good enough for now. Possible TODOs

  • Store whether panels are expanded, so it can be restored after toggling the outliner or restarting the application
  • Better transitions: Only the collapse/expand transition for the last expanded panel works at the moment

@hummingly

Copy link
Copy Markdown
Collaborator

@RvanderLaan I can't see the difference in the preview 🙈 I will still take a look and use VSCode as reference.

@RvanderLaan

Copy link
Copy Markdown
Collaborator Author

yeah I didn't demonstrate it very well 😅 But it is far from where it needs to be. I feel like I overcomplicated it, but even after retrying two times I can't figure out a simpler approach

I'm gonna give it one last shot today

@RvanderLaan RvanderLaan merged commit 4beaa26 into master Mar 6, 2022
@hummingly hummingly deleted the multi-split-outliner branch May 1, 2022 13:29
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

Successfully merging this pull request may close these issues.

2 participants