Code Monkey home page Code Monkey logo

Comments (13)

macandcheese avatar macandcheese commented on June 1, 2024 1

I think we are conflating the two a bit.. the example already in the demo that @driskull is referring to should remain (although maybe only consumed by modal, alert, etc.) - the "Square" loader in my mind is great for initial page loads, switching between apps, etc., and could be easily themed to a particular Online app's color scheme - but I think they are two different use cases and we need both. Can't think of a good differentiating name however, ha.

from calcite-design-system.

driskull avatar driskull commented on June 1, 2024 1

Maybe...

  • calcite-loader (big square)
  • calcite-loader-progress (progress square)
  • calcite-loader-top (loader at top of element, can be determinate or indeterminate)
  • calcite-loader-inline (small square)

from calcite-design-system.

bstifle avatar bstifle commented on June 1, 2024 1

@paulcpederson this is looking pretty dope based on the video.

Would love to art direct a little when you have the time for fine tuning

from calcite-design-system.

julio8a avatar julio8a commented on June 1, 2024

Loaders-Squares.mp4.zip

From the Calcite-Web 2.0 update, new design. The new design includes:

  • Loader (default)
  • Progress
  • Inline

I can see how the progress bar Patrick shared can be valuable as well. I've seen the infinite loader from Alan's worked. Maybe it's adding it and updating the tweens to match the new calcite loader?

from calcite-design-system.

driskull avatar driskull commented on June 1, 2024

We might be able to add just Progress and Inline components.

I can see the Progress component handling Alan's infinite loader bar which we usually have at the top of a panel or component. The Progress component would just have a slot for whatever goes inside it and it would allow configuring the progress bar at the top. There would be multiple options for the progress bar like indeterminate, indeterminate-reversed, percentage

from calcite-design-system.

macandcheese avatar macandcheese commented on June 1, 2024

Could we in any way leverage alerts for the progression or "filename.csv is being generated" type progress containers? I'd imagine the fields would be pretty similar.

We have a "countdown" animation already for auto dismiss alerts, we can change that to be a progression bar or indeterminate loading animation based on a prop?

from calcite-design-system.

driskull avatar driskull commented on June 1, 2024

We have a "countdown" animation already for auto dismiss alerts, we can change that to be a progression bar or indeterminate loading animation based on a prop?

Yep sounds right.

Could we in any way leverage alerts for the progression or "filename.csv is being generated" type progress containers? I'd imagine the fields would be pretty similar.

Maybe just an optional string that a user could update when they update the percentage

from calcite-design-system.

julio8a avatar julio8a commented on June 1, 2024

When ready for the 2.0 UI update for this component please work with @bstifle.

Loading squares video above

from calcite-design-system.

driskull avatar driskull commented on June 1, 2024

@julio8a I think we still need a border-top loader that would just go at the top of a panel and not take up space within content. Is there a design for that?

from calcite-design-system.

julio8a avatar julio8a commented on June 1, 2024

I'll work on getting that posted here.

from calcite-design-system.

driskull avatar driskull commented on June 1, 2024

It seems like we need:

  • calcite-loader (big square)
  • calcite-loader-progress (progress square)
  • calcite-loader-inline (small square)
  • calcite-loader-indeterminate (border loader, top of slot content)

from calcite-design-system.

macandcheese avatar macandcheese commented on June 1, 2024

Yeah that looks good, only thing we might want to add would be the determinate version of "top border":

  • calcite-loader-progress (border loader, top of slot content)

from calcite-design-system.

driskull avatar driskull commented on June 1, 2024

Ok, so the plan would be to...

  • Rename calcite-progress to calcite-loader-top.
  • Update calcite-loader to use new box design (big square)
  • Develop calcite-loader-progress (progress square)
  • Develop calcite-loader-inline (small square)

from calcite-design-system.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.