Roadmap - Shreerang/Vue-Nuggets GitHub Wiki
Accept issues from the community and self-identify issues and fix them quickly! π All issues are tracked here - https://github.com/Shreerang/Vue-Nuggets/issues
Accept enhancement requests from the community and self-identify enhancements and work on them! π¨βπ» All enhancements are tracked here - https://github.com/Shreerang/Vue-Nuggets/issues
Keep identifying new components in the e-commerce sphere! Following are the planned components for 2019.
-
Layout switcher
-
Image carousel
-
Modals
-
Infinite Scroll
-
π¨Accordion for PDP
I have started working on this component. This component will be truly dynamic, so as to even create an accordion with different content structure in each fold.
βThe component is built and available for testing in the Nuggets Demo Code base. A live demo πΏis available here
-
π¨
Shop our brands for multi brand sitesI started working on the Shop Our Brands component and like Footer realized that it is just an implementation of the Grid component. I will include this in the examples. A separate component is not required.
-
π¨
FooterI started working on the Footer as a component but then soon realized that it is mostly a Grid always. Be it a single line footer or a multi-column footer, it can be very easily implemented using the Grid component. The footer seen on the demo site is created using the Grid component and I will include more examples of footers on the demo site.
-
Single fixed column and single scrollable column (Use cases: PDP for Desktop or Bag page or Order Details)
-
π¨βπ»Credit card detection
I have started developing the credit card component. Some of the things I have planned on including.
-
Credit Card Field
- Credit card known patterns!
-
Card Type Length IIN Ranges Spacing Patterns Visa (incl. VPay) 13-19 4 #### #### #### #### (4-4-4-4)
Pattern not known for 13-15 and 17-19 digit cards.Visa Electron 16 4026, 417500, 4405,
4508, 4844, 4913,
4917#### #### #### #### (4-4-4-4) American Express 15 34, 37 #### ###### ##### (4-6-5) China UnionPay 16-19 62 #### #### #### #### (4-4-4-4)
###### ############# (6-13)
Pattern not known for 17-18 digit cards.MasterCard 16 51β55, 222100β272099 #### #### #### #### (4-4-4-4) Maestro 12-19 500000β509999,
560000β589999,
600000β699999#### #### ##### (4-4-5)
#### ###### ##### (4-6-5)
#### #### #### #### (4-4-4-4)
#### #### #### #### ### (4-4-4-4-3)
Pattern not known for 12, 14, 17, and 18 digit cards.Diners Club Carte Blanche 14 300β305 #### ###### #### (4-6-4) Diners Club International 14 300β305, 309, 36, 38β39 #### ###### #### (4-6-4) Diners Club United States & Canada 16 54, 55 #### #### #### #### (4-4-4-4) Discover 16 6011, 622126β622925, 644β649, 65 #### #### #### #### (4-4-4-4) JCB 16 3528β3589 #### #### #### #### (4-4-4-4) UATP 15 1 #### ##### ###### (4-5-6) Dankort 16 5019 #### #### #### #### (4-4-4-4) InterPayment 16-19 636 #### #### #### #### (4-4-4-4)
Pattern not known for 17-19 digit cards. - Determine the maxLength of the field based on the credit card type
- Based on the credit card number show the icon of the payment provider.
- I am currently including a regex for Visa, Discover, Amex, Diner's, MasterCard and JCB. However, I want to make this component truly global and configurable. So what are the other credit card companies that need to be covered? π€
- There also needs to be provision for a custom credit card like a Store Card (e.g. Amazon, Gap Brands, Macy's, William-Sonoma, etc.) number regex and also a icon for that. Is there a regex to identify these store credit cards? I have posted a question on StackOverflow asking the same.
-
CVV Field
- Determine the length of the filed based on the type of card.
- If a custom brand credit card is an option then they sometimes do not have a CVV field at all.
- Determine the name of the field as either CVV, CID, CVC, CVN, CVP and so on based on the card type.
-
Brand Name Size Visa CVV 3 Mastercard CVC 3 American Express CID 4 Diners Club CVV 3 Discover CID 3 JCB CVV 3 UnionPay CVN 3 Maestro CVC 3 Mir CVP 3 Elo CVE 3 Hiper CVC 3 Hipercard CVC 4
-
Name on card filed
- This field will be optional. A lot of sites don't ask for this! Some do. π€·
-
Masking the inputs
- I want to have all of the 4 credit card input fields to be masked. Users are less prone to making a mistake filling in the information based on this article
-
Credit Card Field
-
Checkout with PayPal button (https://developer.paypal.com/docs/checkout/)
Bring unit test coverage to as close as 100%
Publish the library as a NPM package. Currently don't know how π’
Library is now available as a NPM Package
This is currently work in progress. Storybook components can be viewed here. The Vue integration for Storybook does not seem to be great, at least with their current version. Props are not working as expected. Addons are not working as expected. Have filed a Github issue with Storybook
Demo [Github Repo][(https://github.com/Shreerang/Vue-Nuggets-Demo) is now in place.
All demos are currently hosted on the Heroku site. I also wish to include more real time demos like:
- Search/ Browse page
- PDP page
- Quantity Selector with inline warnings
- ...
It would be great, if somebody uses these components in production π₯Create a "used-by" section. Hope to see it fill up π€π
Working on this library is taking up time. Should I set up at least a Kofi, if not Patreon? π€
Set up my Ko-fi page βοΈβ€οΈ