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

Block: remove redundant indicator behavior #7492

Open
2 of 3 tasks
SkyeSeitz opened this issue Aug 8, 2023 · 9 comments
Open
2 of 3 tasks

Block: remove redundant indicator behavior #7492

SkyeSeitz opened this issue Aug 8, 2023 · 9 comments
Assignees
Labels
1 - assigned Issues that are assigned to a sprint and a team member. Calcite (design) Issues logged by Calcite designers. design Issues that need design consultation prior to development. enhancement Issues tied to a new feature or request. impact - p3 - not time sensitive User set priority impact status of p3 - not time sensitive p - low Issue is non core or affecting less that 10% of people using the library

Comments

@SkyeSeitz
Copy link

SkyeSeitz commented Aug 8, 2023

Check existing issues

Description

Current behavior
Loader populates both in the header and in the content area when expanded, which feels redundant and may imply two separate elements are loading.

image

Acceptance Criteria

Expected behavior
Loader populates only in header when collapsed and only in content area when expanded.
image

Relevant Info

Building off of #6485

Which Component

Calcite Block

Example Use Case

No response

Priority impact

p4 - not time sensitive

Calcite package

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

Esri team

Calcite (design)

@SkyeSeitz SkyeSeitz added enhancement Issues tied to a new feature or request. 0 - new New issues that need assignment. needs triage Planning workflow - pending design/dev review. labels Aug 8, 2023
@github-actions github-actions bot added Calcite (design) Issues logged by Calcite designers. impact - p3 - not time sensitive User set priority impact status of p3 - not time sensitive labels Aug 8, 2023
@SkyeSeitz SkyeSeitz added the ready for dev Issues ready for development implementation. label Aug 8, 2023
@github-actions github-actions bot added the needs milestone Planning workflow - pending milestone assignment, has priority and/or estimate. label Aug 8, 2023
@github-actions
Copy link
Contributor

github-actions bot commented Aug 8, 2023

cc @geospatialem, @brittneytewks

@SkyeSeitz
Copy link
Author

cc @ashetland

@geospatialem geospatialem added p - low Issue is non core or affecting less that 10% of people using the library and removed needs triage Planning workflow - pending design/dev review. labels Aug 8, 2023
@ashetland
Copy link

ashetland commented Aug 8, 2023

@macandcheese @asangma Is there a reason use case for having a loading indicator in the header while it's expanded that we're missing?

@macandcheese
Copy link
Contributor

Not from my side. I do think it's strange the loader replaces the icon at all...

I wonder if a calcite-progress on the top of the block would make sense? It would eliminate the need to replace a user-placed element, and could subtly persist even while the block was expanded + calcite-loader present to prevent hiding / showing elements when expanding / collapsing. You do kind of lose the immediacy of the spinner being centered within the item when blocks are all collapsed, but this kind of loading often seen in "listy places" as well across Apps...

Screen.Recording.2023-08-08.at.5.00.07.PM.mov

@macandcheese
Copy link
Contributor

macandcheese commented Aug 9, 2023

I do like that the loader within the Block content area is smaller in the above screenshots - depending on height of Block content, it can feel too large currently.

@ashetland
Copy link

From #7147 and #7420, the loader size should be changing based on the height of the container. Those breakpoints can definitely be revised if we want to.

I like using Progress too, but I do see one drawback: when all the Blocks are collapsed it's hard to tell which one is actually loading.

@SkyeSeitz
Copy link
Author

Yea, it would be a somewhat learned behavior that the Progress bar represents the Block below it.
Other than that, I am digging the Progress bar as perhaps a more elegant solution. The dimmed treatment is also nice, however, I think I would ultimately say it probably does not need to persist when Block is expanded to simplify the amount of Loading indicators.

@SkyeSeitz SkyeSeitz added design Issues that need design consultation prior to development. and removed ready for dev Issues ready for development implementation. labels Aug 10, 2023
@brittneytewks brittneytewks added the figma changes Issues that require additions or updates to the Figma UI Kit where no `design` label exists label Sep 12, 2023
@geospatialem geospatialem added this to the 2024 April Priorities milestone Nov 22, 2023
@geospatialem geospatialem removed the needs milestone Planning workflow - pending milestone assignment, has priority and/or estimate. label Nov 22, 2023
@brittneytewks
Copy link

Removed Figma changes label as this will be tracked in monday.com

@brittneytewks brittneytewks removed the figma changes Issues that require additions or updates to the Figma UI Kit where no `design` label exists label Dec 11, 2023
@brittneytewks brittneytewks added the needs milestone Planning workflow - pending milestone assignment, has priority and/or estimate. label Mar 25, 2024
@brittneytewks brittneytewks removed this from the 2024-04-30 - Apr Release milestone Mar 25, 2024
@brittneytewks brittneytewks removed the needs milestone Planning workflow - pending milestone assignment, has priority and/or estimate. label Apr 1, 2024
@geospatialem geospatialem added this to the Design Backlog milestone May 22, 2024
@ashetland
Copy link

How do we feel about moving forward with this? Based on @SkyeSeitz's comment, would it work to use Progress to indicate loading only while Block is collapsed?
image

@DitwanP DitwanP removed this from the Design Backlog milestone Jul 11, 2024
@geospatialem geospatialem added 1 - assigned Issues that are assigned to a sprint and a team member. and removed 0 - new New issues that need assignment. labels Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1 - assigned Issues that are assigned to a sprint and a team member. Calcite (design) Issues logged by Calcite designers. design Issues that need design consultation prior to development. enhancement Issues tied to a new feature or request. impact - p3 - not time sensitive User set priority impact status of p3 - not time sensitive p - low Issue is non core or affecting less that 10% of people using the library
Projects
None yet
Development

No branches or pull requests

7 participants