Feature #13135

Make full tree treeview area collapsible (optionally)

Added by Mike Cantelon 2 months ago. Updated 2 months ago.

Status:VerifiedStart date:08/06/2019
Priority:MediumDue date:
Assignee:-% Done:

0%

Category:TreeviewEstimated time:26.00 hours
Target version:Release 2.6.0
Google Code Legacy ID: Tested version:
Sponsored:Yes Requires documentation:Yes

Description

This feature will add a new configurable option to the Treeview settings page for the full-width treeview.

When enabled, the full-width treeview will be wrapped in a collapsible section, similar to the advanced search. By default it will be closed when users first arrive on a view page, but users can click to expand it, and it will maintain its open state as users navigate to different descriptions in the hierarchy via the treeview nodes. Navigating elsewhere or triggering a full page refresh (for example, using the quick search bar and selecting a result; performing a global search and navigating to a different description etc) will result in the treeview widget returning to its default collapsed state.

The new treeview widget will also have a customizable label, which users can configure via Admin > Settings > User interface labels. Default text will just read: "Show hierarchy" (to expand it) and "Hide hierarchy" (to collapse it).

treeview.png (34 KB) Mike Cantelon, 08/14/2019 02:26 PM

History

#1 Updated by Mike Cantelon 2 months ago

  • Requires documentation set to Yes

#2 Updated by Dan Gillean 2 months ago

  • Description updated (diff)
  • Category set to Treeview
  • Target version set to Release 2.6.0
  • Estimated time set to 26.00
  • Sponsored changed from No to Yes

#4 Updated by Mike Cantelon 2 months ago

  • Status changed from In progress to Code Review
  • Assignee deleted (Mike Cantelon)

#5 Updated by Steve Breker 2 months ago

  • Status changed from Code Review to Feedback
  • Assignee set to Mike Cantelon

CR complete. Looks good.

#6 Updated by Mike Cantelon 2 months ago

  • Status changed from Feedback to QA/Review
  • Assignee changed from Mike Cantelon to Dan Gillean

Thanks Steve!

Merged into qa/2.6.x.

#7 Updated by Dan Gillean 2 months ago

  • Status changed from QA/Review to Feedback
  • Assignee changed from Dan Gillean to Mike Cantelon

Hi Mike!

The collapsible area and its corresponding work great. Tested logged in and out; with markdown on and off; and made sure that the missing more button issue (#13124) works for all users with this as well.

Only feedback: there are no default labels on the widget, nor are there spots in Admin > Settings > user interface labels to customize them!

#8 Updated by Mike Cantelon 2 months ago

  • File treeview.png added
  • Assignee changed from Mike Cantelon to Dan Gillean

Only feedback: there are no default labels on the widget, nor are there spots in Admin > Settings > user interface labels to customize them!

Weird... there should be default values for the open/close labels and they should be changeable (see attached screenshot) via the UI interface labels page. I tried to replicate with both a fresh install and an update and wasn't able to.

#9 Updated by Dan Gillean 2 months ago

  • Status changed from Feedback to Verified
  • Assignee deleted (Dan Gillean)

Woops - forgot to do a schema upgrade before testing. Should have realized that new edit fields and default values means new schema migration. Works great, thanks!

Also available in: Atom PDF