Project

General

Profile

Actions

Feature #22394

open

Smarter selection of data/workflows tab

Added by Peter Amstutz 4 months ago. Updated 3 days 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.


Subtasks 1 (1 open0 closed)

Task #22716: ReviewNewPeter AmstutzActions
Actions #1

Updated by Peter Amstutz 3 months ago

  • Target version changed from Development 2025-01-29 to Development 2025-02-12
Actions #2

Updated by Peter Amstutz 3 months ago

  • Target version changed from Development 2025-02-12 to Development 2025-02-26
Actions #3

Updated by Peter Amstutz 2 months ago

  • Description updated (diff)
  • Subject changed from Show counts in tab title or hide workflows tab entirely when there are no workflows in a project to Smarter selection of data/workflows tab
Actions #4

Updated by Peter Amstutz 2 months ago

  • Target version changed from Development 2025-02-26 to Development 2025-03-19
Actions #5

Updated by Peter Amstutz about 2 months ago

  • Target version changed from Development 2025-03-19 to Development 2025-02-26
Actions #6

Updated by Peter Amstutz about 2 months ago

  • Target version changed from Development 2025-02-26 to Development 2025-03-19
Actions #7

Updated by Peter Amstutz about 2 months ago

  • Target version changed from Development 2025-03-19 to Development 2025-04-02
Actions #8

Updated by Peter Amstutz 25 days ago

  • Target version changed from Development 2025-04-02 to Development 2025-04-16
Actions #9

Updated by Peter Amstutz 10 days ago

  • Target version changed from Development 2025-04-16 to Development 2025-05-14
Actions #10

Updated by Peter Amstutz 10 days ago

  • Target version changed from Development 2025-05-14 to Development 2025-04-16
Actions #11

Updated by Peter Amstutz 10 days ago

  • Description updated (diff)
  • Tracker changed from Idea to Feature
Actions #12

Updated by Peter Amstutz 10 days ago

  • Description updated (diff)
Actions #16

Updated by Peter Amstutz 10 days ago

  • Description updated (diff)
Actions #17

Updated by Peter Amstutz 10 days ago

  • Description updated (diff)
Actions #18

Updated by Peter Amstutz 9 days ago

  • Assigned To set to Stephen Smith
Actions #19

Updated by Peter Amstutz 9 days ago

  • Subtask #22716 added
Actions #20

Updated by Brett Smith 9 days ago

Look, my input matters less than any serious Workbench user, but IMO both these bullets are extraneous:

Peter Amstutz wrote:

  1. I think the preferred tab should appear first in tab order, so if you want to see workflows, the tabs are |Workflows (10)|Data (50)|

As long as the preferred tab opens first, why does the display order matter? I feel like this makes documentation and information sharing more difficult without any tangible benefit.

  1. If the preferred tab is empty, switch to the alternate tab, unless they are both empty.

I think this is just too clever by half. I think it will make the interface feel less predictable and more random. If I want to see workflows first, and I open a project with no workflows, I would prefer to be told that explicitly rather than be shown something else. I get that it saves clicks if you understand everything going on, and I get why some people might want that, but I think it'll be surprising and disorienting when you're not expecting it.

Actions #21

Updated by Peter Amstutz 8 days ago

Brett Smith wrote in #note-20:

Look, my input matters less than any serious Workbench user, but IMO both these bullets are extraneous:

Peter Amstutz wrote:

  1. I think the preferred tab should appear first in tab order, so if you want to see workflows, the tabs are |Workflows (10)|Data (50)|

As long as the preferred tab opens first, why does the display order matter? I feel like this makes documentation and information sharing more difficult without any tangible benefit.

  1. If the preferred tab is empty, switch to the alternate tab, unless they are both empty.

I think this is just too clever by half. I think it will make the interface feel less predictable and more random. If I want to see workflows first, and I open a project with no workflows, I would prefer to be told that explicitly rather than be shown something else. I get that it saves clicks if you understand everything going on, and I get why some people might want that, but I think it'll be surprising and disorienting when you're not expecting it.

This is useful feedback, I will tweak the description (Stephen, hold off on starting this until I've had a chance to update the description, hopefully later today).

Actions #22

Updated by Peter Amstutz 8 days ago

  • Description updated (diff)
Actions #23

Updated by Peter Amstutz 8 days ago

  • Description updated (diff)
Actions #24

Updated by Stephen Smith 3 days ago

  • Status changed from New to In Progress
Actions

Also available in: Atom PDF