Persist resizable shell panel widths #8210
Labels
0 - new
New issues that need assignment.
ArcGIS Field Apps
Issues logged by ArcGIS Field Apps team members.
blocked
This issue is blocked by another issue.
calcite-components
Issues specific to the @esri/calcite-components package.
enhancement
Issues tied to a new feature or request.
impact - p2 - want for an upcoming milestone
User set priority impact status of p2 - want for an upcoming milestone
Milestone
Check existing issues
Description
The width of a resizable
<calcite-shell-panel>
currently resets upon refreshing the browser window. The requested enhancement is that, if the user had resized the panel manually, the panel stays that width until the user changes it again -- even after refreshing the window and possibly extending across sessions.While it's possible for the consuming app to implement this functionality using resize observers and setting Calcite CSS variables, there is enough room for variance in the requirements that we'd likely end up with an inconsistent UX across Esri apps.
Acceptance Criteria
Relevant Info
Other components provide a
storageId
prop for persisting state to local storage. Something similar might work well here.Which Component
Shell panel
Example Use Case
Field Maps Designer is interested in using the
<calcite-shell>
and<calcite-shell-panel>
elements to create several list/detail views across several different routes. If the user decides to give the detail view a little more room by resizing the shell panel, it'd be nice to maintain that width when visiting the other related list/detail routes.Priority impact
p3 - want for upcoming milestone
Calcite package
Esri team
ArcGIS Field Apps
The text was updated successfully, but these errors were encountered: