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

feat: add loading indicator #81

Merged
merged 2 commits into from Mar 4, 2024
Merged

feat: add loading indicator #81

merged 2 commits into from Mar 4, 2024

Conversation

moshetanzer
Copy link
Contributor

@moshetanzer moshetanzer commented Mar 1, 2024

πŸ”— Linked issue

#77

❓ Type of change

  • πŸ“– Documentation (updates to the documentation, readme, or JSdoc annotations)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • πŸ‘Œ Enhancement (improving an existing functionality like performance)
  • ✨ New feature (a non-breaking change that adds functionality)
  • 🧹 Chore (updates to the build process or auxiliary tools and libraries)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

πŸ“š Description

Just added a loading indicator. Think this will make UX much better - definilty until hover issue is fixed (#69) - and nuxt ui is "sped up" - since on mobile and sometimes on desktop, you literally don't know if your click routed.

BTW
Wasnt able to pass bg color tailwind class... not sure why.. prob because of !important

πŸ“ Checklist

  • I have linked an issue or discussion.
  • I have updated the documentation accordingly.

@@ -20,6 +20,7 @@ provide('navigation', navigation)
</script>

<template>
<NuxtLoadingIndicator color="rgb(252,211,77)" />
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We might inherit color from theme. But lets iterate πŸ‘πŸΌ

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right that would be best. For some reason couldn't set it using color and with style didn't work either... though didn't try !important

@pi0 pi0 merged commit 84e4b68 into unjs:main Mar 4, 2024
2 checks passed
@moshetanzer moshetanzer deleted the patch-2 branch March 7, 2024 05:13
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

Successfully merging this pull request may close these issues.

None yet

2 participants