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(input): add addon-* slots #206

Merged
merged 4 commits into from
Jan 30, 2023
Merged

feat(input): add addon-* slots #206

merged 4 commits into from
Jan 30, 2023

Conversation

NozomuIkuta
Copy link
Contributor

Asana: https://app.asana.com/0/1130160932501704/1203800531766512/f
Resolves #202

I believe I covered all the necessary use cases in Histoire.

@NozomuIkuta NozomuIkuta self-assigned this Jan 27, 2023
@netlify
Copy link

netlify bot commented Jan 27, 2023

Deploy Preview for sefirot-story ready!

Name Link
🔨 Latest commit 6c775ae
🔍 Latest deploy log https://app.netlify.com/sites/sefirot-story/deploys/63d75a6a35502a00094da74c
😎 Deploy Preview https://deploy-preview-206--sefirot-story.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@codecov
Copy link

codecov bot commented Jan 27, 2023

Codecov Report

Base: 67.98% // Head: 69.44% // Increases project coverage by +1.45% 🎉

Coverage data is based on head (6c775ae) compared to base (29e84fb).
Patch coverage: 94.83% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #206      +/-   ##
==========================================
+ Coverage   67.98%   69.44%   +1.45%     
==========================================
  Files         105      106       +1     
  Lines        8402     8636     +234     
  Branches      328      369      +41     
==========================================
+ Hits         5712     5997     +285     
+ Misses       2690     2639      -51     
Impacted Files Coverage Δ
lib/components/SInputDropdown.vue 0.00% <0.00%> (ø)
lib/composables/Flyout.ts 73.91% <80.00%> (+13.04%) ⬆️
lib/composables/Dropdown.ts 90.40% <84.84%> (+90.40%) ⬆️
lib/components/SInputText.vue 97.94% <98.63%> (-0.32%) ⬇️
lib/components/SInputAddon.vue 100.00% <100.00%> (ø)
lib/components/SInputNumber.vue 100.00% <100.00%> (ø)
lib/components/SDropdownSectionFilterItem.vue 76.19% <0.00%> (-23.81%) ⬇️
lib/components/SDropdownSectionFilter.vue 92.30% <0.00%> (-7.70%) ⬇️
lib/components/SDropdownSection.vue 97.91% <0.00%> (-2.09%) ⬇️
... and 1 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@netlify
Copy link

netlify bot commented Jan 27, 2023

Deploy Preview for sefirot-docs ready!

Name Link
🔨 Latest commit 6c775ae
🔍 Latest deploy log https://app.netlify.com/sites/sefirot-docs/deploys/63d75a6a3d1e3a000835005a
😎 Deploy Preview https://deploy-preview-206--sefirot-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

Copy link
Member

@ryo-gk ryo-gk left a comment

Choose a reason for hiding this comment

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

@NozomuIkuta Added some comment.
Please check them🙏

lib/components/SInputAddon.vue Outdated Show resolved Hide resolved
stories/components/SInputNumber.02_Addons.story.vue Outdated Show resolved Hide resolved
stories/components/SInputNumber.02_Addons.story.vue Outdated Show resolved Hide resolved
Copy link
Member

@kiaking kiaking left a comment

Choose a reason for hiding this comment

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

Thanks a lot! Looking good. Adjusted few stuff here and there.

  • Added tests and docs.
  • Changed props default to be true (e.g. unclickable -> clickable).
  • Cleaned up stories.
  • Cleaned up styles along with <SInputText>.
  • Moved some functions into Dropdown composable.

@kiaking kiaking merged commit f6661ed into main Jan 30, 2023
@kiaking kiaking deleted the feat/add-before-after-to-text branch January 30, 2023 05:53
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.

Add "Addon Before" feature to SInputText and SInputNumber
3 participants