-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Improving the outliner and the surrounding area #846
Comments
For convenience, here's what Tom posted previously in #838 (comment) (I've crossed out everything that's already completed or that I've already made sure is captured accurately in the tasks above):
|
And here's a copy of https://maptio.slack.com/archives/C01QCQJMS23/p1698827400233449:
|
Introduction
This issue is a follow-up to all the work on the outliner (see #842 for all the PRs) and, in particular, to the last part of the work, of making the outliner work well in Maptio - in #838 we've collected small tasks that we could possibly pick up to improve the experience of using the outliner. We've already completed a bunch of them before shipping to production, but we've decided to postpone others. Here they are, hopefully we can do some of them now, some later over time.
Completed tasks
[USABILITY]
[MEDIUM]
When a circle is clicked, we should be able to see that circle in the outliner, even when it was previously collapsed. Therefore, on click, we need to make sure that all the circles in the path are expanded and we need to scroll down / up enough to make the selected circle visible. (done in Scroll outliner to selected initiative #849)[REGRESSION]
[SMALL]
While connecting the new outliner with the expanded map, I appear to have accidentally broken a part of the flow of opening and closing circles. Specifically, when you're zoomed in a few levels deep and click outside the currently selected circle, you should be zoomed out and see all the siblings of that circle (see behaviour in production). Instead, now (see behaviour on staging), you're zoomed out to the cover of the parent circle, making exploration a lot more annoying! (done in Fix circle cover appearing on first rather than second click out of circle #850)[USABILITY]
When a new sub-circle is added, it's (no longer?) showing on the map and in the circle details pane, let's change thatInbox
(Comments that need to be processed into tasks)
Remaining small tasks
Fast follow-on tasks
All done 🎉
After the fast follow-on tasks
Other potential fast follow-on tasks we should perhaps review to see whether they're not more important than the side panel work
[STYLES]
[TINY]
Significantly reduce the indent to make more space for the initiative names[STYLES]
[USABILITY]
[BUG]
[MEDIUM]
Other parts than vertical spacing: Improve handling of multiline items (replace input with textarea; improve margins/padding even when not editing; fix bug that happens when editing and pressing any of the buttons)[USABILITY]
[SMALL]
Pressing enter when editing should create a new item (this is almost a regression - with the old outliner it used to be very easy to create lots of circles at once and then start editing them - that was always a workaround, but it worked, whereas now there is no good way to do this - intentionally as the "right" solution, IMHO, is to do this on pressing Enter)[USABILITY]
[SMALL]
Pressing 'Esc' or 'Cmd/Ctrl Enter' while editing should allow you to exit editing currently you can only leave by clicking somewhere outside the outliner which is fiddly (it's debatable whether this is the right solution - OmniFocus does something different, Finder too, but their solutions are slightly trickier to implement in some ways)[USABILITY]
[TINY]
When the root circle is deleted and created from scratch, make sure the new outliner is updated and the new root circle selected[STYLES]
[SMALL]
Improve the drag and drop styles a bit (see also bigger task below) (timebox)[USABILITY]
[MEDIUM]
When you previously viewed a map and selected a particular circle, when you open that map again, the circle is, again, selected. However, it's not selected in the outliner. (Nor in the circle details panel, come to think of it!) If we're clearly showing a circle as selected, it should be showing up as selected also in the outliner and in the circle details panel.Want to do
[USABILITY]
When a new sub-circle is added, immediately trigger editing that circle[USABILITY]
Add expand/collapse children to the menu (this is to replace the "Expand/Collapse All" buttons)[STYLES]
Make sure the menu trigger button stays visible when the menu is open - even while you're no longer hovering over the item itself (which is what hides the menu trigger)[STYLES]
When a node doesn't have a toggle (i.e. it doesn't have any descendants), the left edge of the item highlight looks like it's sticking out a bit weirdly (because the toggle icon isn't there), what might be a nice way of addressing this?[TECH DEBT]
Move all of the new outliner-related template into a new component and the business logic into a new service to finish addressing the clutter insideBuildingComponent
and pave way for work on side panels (we could also do this work then to kick things off)Not for now
[REGRESSION]
[I18N]
[MEDIUM]
[DISCUSS!]
The tooltip for the "add sub-circle" button used to be translated, but the notebits outliner library doesn't support i18n yet! The way to solve this would be to move the labels out of the outliner library, to make them customisable in the project using the library, and that is the ultimate goal, but it's not possible yet. It's not trivial, but can be done. I'm hoping to do the bulk of the work in the future as part of notebits work though.[REGRESSION]
[USABILITY]
[DISCUSS!]
The old outliner persisted expansion state to local storage and recreated it when loading the map, I haven't reimplemented that (yet) as I don't think it's that important, especially if we open up the first level of nodes by default - still, not that hard to do![USABILITY]
Cut, copy & paste (optional now that we know drag & drop is working)[USABILITY]
PressingTab
andShift + Tab
should indent and outdent respectively[USABILITY]
When editing is triggered, show the cursor where the user clicked[STYLES]
[LARGE]
Improve the drag and drop styles - drag and drop with outliners is so tricky to get right, but it makes such a huge difference when the UX of this is really good! I am hoping to do this slowly as part of notebits work though, so perhaps we don't need to do this now (...though I would looove to!)The text was updated successfully, but these errors were encountered: