User Report
Using the web version, how do you create a new list? I see at the top it says, Lists, so I clicked it.
Under that, there’s an option to, Create List, so I clicked it. . .
Nothing that I can tell happens.
— Russ
Investigation & Root Cause Findings
-
Silent Early Return on
+ Create List(and+ Folder) Clicks (auth_workspace_island.dart):- In
packages/hfw_jaspr/lib/components/auth_workspace_island.dart(_handleCreateList, lines 742–758), clicking+ Create Listreads#lists-new-list-nameand immediately executes:if (_newListName.trim().isEmpty) return; - When a user clicks
+ Create Listdirectly expecting a dialog, popover, or expandable creation panel to open (matching the behavior ofImport JSONright next to it,+ Add Hymn to Liston list detail pages, and theCreate Listbutton in the native iOS/Android/desktop apps), the handler silently returns with zero visual feedback:- No creation panel/modal opens to prompt for a list name and description.
- No validation message (
_errorMsg) is displayed in_buildBanners(). - The
#lists-new-list-nametext input is not focused or highlighted.
- The same silent no-op occurs in
_handleCreateFolder()(lines 760–776) when clicking+ Folder/+ Subfolderwith an empty#lists-new-folder-nameinput.
- In
-
Crowded & Visually Disconnected Toolbar Layout (
auth_workspace_island_lists.dart):- In
packages/hfw_jaspr/lib/components/auth_workspace_island_lists.dart(lines 99–284),.filter-toolbarplaces 8 controls into a wrapping flex bar (Search,Sort,#lists-new-folder-name,+ Folder,#lists-new-list-name,#lists-new-item-desc,+ Create List, andImport JSON). - Because
#lists-new-item-desc(Optional description…) sits between#lists-new-list-nameand+ Create List, and the flex row wraps across lines on standard/narrow viewports,+ Create Listappears visually detached from the name input and looks like a standalone trigger button rather than an inline form submit button.
- In
-
Skipped
setState/ Uncleared DOM Inputs & Missing Feedback After Creation (auth_workspace_island.dart):- When a name is typed into
#lists-new-list-namebefore clicking+ Create List,store.createHymnList(...)→store.createUserList(...)(packages/hfw_jaspr/lib/services/web_app_store_web_lists.dart, line 136) callsnotifyListeners()before_handleCreateList()resets_newListName = ''and_newItemDescription = ''(lines 755–756). - Because the store listener (
_sub) already updated_listsduringcreateUserList, the subsequentawait _refreshWorkspaceData()call at line 757 (withforceUpdate: false) seeslistsChanged == falseand skipssetState, leaving the DOM inputs uncleared and showing no confirmation banner (_successMsg).
- When a name is typed into
Recommended Fix
- ** Dedicated Expandable Create List / Create Folder Panel (or Modal) & Input Focus**:
- Either make
+ Create Listand+ Foldertoggle a clean, dedicated creation panel (similar to_buildImportJsonPaneland_showAddHymnPanel) with clearly labeled Name, Folder, and Description fields, or if inline inputs are kept, group them cleanly and when+ Create List/+ Folderis clicked with an empty name, focus the corresponding input and display a clear prompt/validation message (Please enter a name for your new list.).
- Either make
- Post-Creation State Reset & Confirmation:
- Reset
_newListNameand_newItemDescription(and clear DOM input values), passforceUpdate: trueto_refreshWorkspaceData(forceUpdate: true), and set_successMsg(or optionally offer a direct link/navigation to open the newly created list).
- Reset