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

Loading widget #112

Open
leonid opened this issue Sep 11, 2024 · 0 comments
Open

Loading widget #112

leonid opened this issue Sep 11, 2024 · 0 comments
Assignees
Milestone

Comments

@leonid
Copy link
Member

leonid commented Sep 11, 2024

A Loading component is a UI element used to indicate that a process or action is currently in progress. Here are the key features a Loading component should have:

  1. Spinner or Animation: Display a spinner or animation to indicate loading.
  2. Customizable Appearance: Ability to customize the appearance through CSS classes or styles.
  3. Overlay Option: Option to display the loading indicator as an overlay on top of other content.
  4. Text Support: Option to include text or a message alongside the loading indicator.
  5. Sizes: Support for different sizes (e.g., small, medium, large) to fit various UI designs.
  6. Colors and Themes: Support for different colors and themes to match the application's design.
  7. Accessibility: Ensure the component is accessible with proper ARIA attributes.
  8. Visibility Control: Ability to show or hide the loading indicator programmatically.
  9. Responsive Design: Adaptable to different screen sizes and orientations.
  10. Duration Control: Option to set a duration for how long the loading indicator should be displayed.
  11. Types of Indicators: Support for different types of loading indicators (e.g., spinner, progress bar, skeleton screen).
  12. Animations: Smooth animations for showing and hiding the loading indicator.
  13. Event Handling: Emit events when the loading state starts or ends.
  14. Positioning: Ability to position the loading indicator in different parts of the screen (e.g., center, top, bottom).
  15. Conditional Rendering: Support for conditional rendering based on the loading state.

These features ensure that the Loading component is versatile, user-friendly, and accessible.

Design

https://www.figma.com/design/6nFlVmwDwvGloglQHxyElh/Syntax-UI-3.0?node-id=411-17998&m=dev

To be implemented

  • Vue component with basic logic
  • Styles and extension points as css properties
  • Vitepress documentation: feature description, examples and api documentation
  • Unit tests for component and its composition
  • Storybook demos and documentation
@leonid leonid self-assigned this Sep 11, 2024
@leonid leonid added this to the Alpha release milestone Sep 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant