Feature #22394
openSmarter selection of data/workflows tab
Description
- 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)
- 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
- User option to choose which tab to prefer showing
- From discussion, I think we add a new "User Preferences" panel accessed through the top right "User" menu.
- This would have a toggle button for the desired behavior
- 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.
Updated by Peter Amstutz 3 months ago
- Target version changed from Development 2025-01-29 to Development 2025-02-12
Updated by Peter Amstutz 3 months ago
- Target version changed from Development 2025-02-12 to Development 2025-02-26
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
Updated by Peter Amstutz 2 months ago
- Target version changed from Development 2025-02-26 to Development 2025-03-19
Updated by Peter Amstutz about 2 months ago
- Target version changed from Development 2025-03-19 to Development 2025-02-26
Updated by Peter Amstutz about 2 months ago
- Target version changed from Development 2025-02-26 to Development 2025-03-19
Updated by Peter Amstutz about 2 months ago
- Target version changed from Development 2025-03-19 to Development 2025-04-02
Updated by Peter Amstutz 25 days ago
- Target version changed from Development 2025-04-02 to Development 2025-04-16
Updated by Peter Amstutz 10 days ago
- Target version changed from Development 2025-04-16 to Development 2025-05-14
Updated by Peter Amstutz 10 days ago
- Target version changed from Development 2025-05-14 to Development 2025-04-16
Updated by Peter Amstutz 10 days ago
- Description updated (diff)
- Tracker changed from Idea to Feature
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:
- 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.
- 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.
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:
- 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.
- 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).