Project

General

Profile

Actions

Feature #22394

open

Smarter selection of data/workflows tab

Added by Peter Amstutz 4 months ago. Updated about 5 hours ago.

Status:
In Progress
Priority:
Normal
Assigned To:
Category:
Workbench2
Target version:
Story points:
-

Description

  1. Have a preferred tab which is always displayed after a navigation action (right now, the one that it shows after navigation is based on React state)
    1. Specifically, if I'm looking at workflows right now and my preferred tab is Data, then navigation will always switch to show the Data tab
  2. User option to choose which tab to prefer showing
    1. From discussion, I think we add a new "User Preferences" panel accessed through the top right "User" menu.
    2. This would have a toggle button for the desired behavior
    3. I was thinking it could be saved in local storage, but actually the user record has a "prefs" field which was kind of intended for this sort of thing, so maybe we should use that?

Stretch goal: If it's not too expensive, show counts in tab title as |Data (50)|Workflows (10)|. This should just use the same count as the data table under the tab, we definitely don't want to be doing any additional API queries.

Struck from earlier description: do not reorder tabs or do clever tab switching based on the current tab contents being empty. The purpose of including a count in the tab title is to indicate if there's content in the other tab without having to click on it.


Files

Screenshot_20250417_134707.png (20.3 KB) Screenshot_20250417_134707.png Just project tab setting Stephen Smith, 04/17/2025 05:47 PM
Screenshot_20250417_134722.png (29.9 KB) Screenshot_20250417_134722.png Mockup with potential future settings Stephen Smith, 04/17/2025 05:48 PM

Subtasks 2 (2 open0 closed)

Task #22716: Branch reviewNewLisa KnoxActions
Task #22800: Interface reviewIn ProgressPeter Amstutz04/17/2025Actions
Actions

Also available in: Atom PDF