Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Shell Panel] Add displayMode value that matches Shell Center Row: detached display #7513

Closed
2 of 3 tasks
macandcheese opened this issue Aug 11, 2023 · 13 comments
Closed
2 of 3 tasks
Assignees
Labels
4 - verified Issues that have been released and confirmed resolved. Calcite (design) Issues logged by Calcite designers. calcite-components Issues specific to the @esri/calcite-components package. design Issues that need design consultation prior to development. enhancement Issues tied to a new feature or request. estimate - design - sm Small design effort; 1-4 days of design work impact - p2 - want for an upcoming milestone User set priority impact status of p2 - want for an upcoming milestone p - high Issue should be addressed in the current milestone, impacts component or core functionality ready for dev Issues ready for development implementation.

Comments

@macandcheese
Copy link
Contributor

macandcheese commented Aug 11, 2023

Check existing issues

Description

As part of the story to deprecate Shell Center Row - we need to add a displayMode to Shell Panel with additional capability - to have the entire Shell Panel "float" away from the page border.

Acceptance Criteria

A new displayMode is added to Shell Panel. Propose to call this mode "float", and change the current "float" to "float-detach" to more clearly convey the difference. Open to naming ideas.

Current Shell Center Row:
Screenshot 2023-08-11 at 3 26 49 PM

Proposed in Shell Panel:

Screenshot 2023-08-11 at 3 33 05 PM

Note - there are some margin differences we can work on here - also, this requires the user to set their "layout" in the Shell Panel to "vertical" and adjust width, maybe that can be smoothed. Potentially - there could be more "position" properties than start / end and it could be "top / bottom / start / end". We could use the Shell Panel's slot to set which css var are being used instead of "layout". But, that's a bit tangential.

Relevant Info

This would allow us to deprecate Shell Center Row as this is the last remaining functionality not offered by Shell Panel. Currently, this would have the same oddities "float" does without content-behind set on a parent Shell, but they can be improved together in the future.

Maybe we could consider renaming "overlay" to "dock-overlay" to match the thing-modifier format?

cc @asangma @mitc7862

Which Component

Shell Panel

Example Use Case

As a designer - I want to have a Panel + Action Bar within a Shell Panel "float" above the map without having the Action Bar attached to the edge of the container. Currently, I can't achieve this with built in styles in Shell Panel, but I could with Shell Center Row.

Priority impact

p3 - want for upcoming milestone

Calcite package

  • @esri/calcite-components
  • @esri/calcite-components-react

Esri team

Calcite (design)

@macandcheese
Copy link
Contributor Author

cc @brittneytewks @geospatialem - prioritizing this for next available milestone could help us deprecate Shell Center Row in the following release.

@geospatialem geospatialem added the p - medium Issue is non core or affecting less that 60% of people using the library label Sep 29, 2023
@SkyeSeitz SkyeSeitz added the design Issues that need design consultation prior to development. label Oct 30, 2023
@brittneytewks brittneytewks added 1 - assigned Issues that are assigned to a sprint and a team member. and removed 0 - new New issues that need assignment. needs triage Planning workflow - pending design/dev review. labels Oct 30, 2023
@SkyeSeitz SkyeSeitz added the estimate - design - sm Small design effort; 1-4 days of design work label Oct 30, 2023
@SkyeSeitz
Copy link

Figma specs are available here: https://www.figma.com/file/AnRJbFQ31ZK04NkP22ylLU/Shell-Panel%3A-displayMode-%5B7513%5D?type=design&node-id=310%3A9795&mode=dev

Tagging in @jcfranco for comments on changing the current float value name to float-detach. This would be a breaking change, but would allow the new proposed displayMode to be called float and provide further accuracy to the names.

Related consideration Adam brought up: the position of the action bar is currently set using the position prop on Shell Panel, which we may want to update to action-bar-position for clarity.

@SkyeSeitz SkyeSeitz removed their assignment Dec 14, 2023
@geospatialem geospatialem added the ready for dev Issues ready for development implementation. label Dec 15, 2023
@github-actions github-actions bot added 0 - new New issues that need assignment. needs milestone Planning workflow - pending milestone assignment, has priority and/or estimate. and removed 1 - assigned Issues that are assigned to a sprint and a team member. labels Dec 15, 2023
Copy link
Contributor

cc @geospatialem, @brittneytewks

@github-actions github-actions bot removed this from the 2023 December Priorities milestone Dec 15, 2023
@geospatialem geospatialem removed the needs milestone Planning workflow - pending milestone assignment, has priority and/or estimate. label Jan 10, 2024
@SkyeSeitz
Copy link

"content-detached" might add a bit more clarity 👍🏽

@josercarcamo
Copy link
Contributor

@SkyeSeitz @driskull @jcfranco this is what I have so far. Please advise on how to proceed regarding the height of the action bar.

image

@jcfranco
Copy link
Member

Please advise on how to proceed regarding the height of the action bar.

@josercarcamo It's not clear to me from the screenshot, but could you provide more info on the action-bar height blocker?

@driskull
Copy link
Member

A new displayMode is added to Shell Panel. Propose to call this mode "float", and change the current "float" to "float-detach" to more clearly convey the difference. Open to naming ideas.

@macandcheese this is a bit confusing because it would introduce breaking changes if float started behaving differently.

@macandcheese
Copy link
Contributor Author

Yeah, open to other naming ideas there.

@driskull driskull added the breaking change Issues and pull requests with code changes that are not backwards compatible. label Jul 24, 2024
@geospatialem
Copy link
Member

geospatialem commented Jul 29, 2024

The team will instead pursue a "float-all" and "float-content", deprecating "float" to avoid a breaking change. cc @macandcheese @SkyeSeitz @josercarcamo

image

@geospatialem geospatialem removed the breaking change Issues and pull requests with code changes that are not backwards compatible. label Jul 29, 2024
josercarcamo added a commit that referenced this issue Jul 30, 2024
…and float-all (#9795)

**Related Issue:** #7513 

## Summary
Replaced display mode "float" with "float-content" and added "float-all". Deprecated "float".
@josercarcamo josercarcamo added 3 - installed Issues that have been merged to master branch and are ready for final confirmation. and removed 2 - in development Issues that are actively being worked on. labels Jul 30, 2024
Copy link
Contributor

Installed and assigned for verification.

@github-actions github-actions bot assigned geospatialem and DitwanP and unassigned josercarcamo Jul 30, 2024
@geospatialem geospatialem added 4 - verified Issues that have been released and confirmed resolved. and removed 3 - installed Issues that have been merged to master branch and are ready for final confirmation. labels Jul 30, 2024
@geospatialem
Copy link
Member

Verified the displayMode values of "float-content", "float-all" and "float" (deprecated) in 2.11.0-next.28 with https://codepen.io/geospatialem/pen/jOjyKrG.

calcite-admin pushed a commit that referenced this issue Jul 30, 2024
…and float-all (#9795)

**Related Issue:** #7513 

## Summary
Replaced display mode "float" with "float-content" and added "float-all". Deprecated "float".
Copy link
Contributor

Issue #9275 has been closed, this issue is ready for re-evaluation.

cc @geospatialem,@DitwanP

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4 - verified Issues that have been released and confirmed resolved. Calcite (design) Issues logged by Calcite designers. calcite-components Issues specific to the @esri/calcite-components package. design Issues that need design consultation prior to development. enhancement Issues tied to a new feature or request. estimate - design - sm Small design effort; 1-4 days of design work impact - p2 - want for an upcoming milestone User set priority impact status of p2 - want for an upcoming milestone p - high Issue should be addressed in the current milestone, impacts component or core functionality ready for dev Issues ready for development implementation.
Projects
None yet
Development

No branches or pull requests

8 participants