rrabinovitch / crate Goto Github PK
View Code? Open in Web Editor NEWThis project forked from turingschool/crate
License: MIT License
This project forked from turingschool/crate
License: MIT License
User can select one item in each category (tops, bottoms, etc)
Once a user has selected on item in each category, they click on the submit button and receive a message with their style type
Refactor #27 and identify where it makes most sense for this logic (ie, which style a user is being assigned) to go
When FE provides an array of numbers generated by a user's style preferences selection and the user's id,
BE logic calculates the most frequent number in the array in order to identify the user's style preference label (ie, sporty, posh, scary, etc.).
A User
model mutation updates the user style column with the identified style preference.
Implementation details:
We'll get together to discuss and map out the user flow on jamboard or miro
As each of us collects images for our assigned profile and categories, add the links to this slack thread.
Style profiles/types:
Categories: each style type has an image for each of the following categories
Feature:
As a user, it’s frustrating to go to my profile page and see little about myself other than my subscriptions. To give the user more control, I’d love to upload my own image, set a personal description, edit my email address and shipping address, and see a history of products that have been delivered to me and what I have kept. I should also see when my next delivery is coming and adjust the date for when I am available.
Extensions:
Style survey track info here
Check the box next to your name when you've completed this item:
Ensure that once new style is saved to a user and null is replaced, fe has access to that style and can display it
Feature:
Before adding a monthly subscription I would like to choose my style preferences to ensure that I get clothes that better match my personal style. When I visit /crates, the first time I click on + subscribe I am taken to a style preferences page /style-preferences. I am presented with a style survey that consists of a series of categories such as tops, bottoms, dresses, shoes, accessories, etc. For each category I am given several images to choose from with instructions to choose the images that best reflects my style. After I have chosen the images from each category I am given a summary of my style such as ‘classic but edgy’.
Extensions:
When I visit my profile page, I can see a button to view my style survey. When I click on the button, I am taken to /style-prefences and can edit my style preferences to update my style at any time.
I would like to fill out a style survey for different categories of my wardrobe i.e. work, casual, date night. For each category I am presented with the same categories of choices i.e. tops, bottoms, dresses, shoes, accessories, etc.
When a user logs in, they are taken to the crate subscription page.
On clicking + subscription on a crate, if no style saved to user, it automatically takes them to the style survey page
Instructions here
When you're done with setup, answer the following questions in a comment below:
Check the box next to your name when you've completed this item:
Resources:
Approved, but left in this column for future ref if needed.
As a user completing my style survey,
If I select two styles an equivalent number of times,
< decide what to implement as a 'tie breaker' >
When a user submits their info, BE uses API to manipulate the information before passing it onto the database & adding to the user's info
Implementation details:
currently a user is created with their style preference defaulting to undefined
change this attribute default value to null
so that it is a more intentional value
Style Survey track info here - also see issue #2
Requirements:
Check the box next to your name when you've completed this item:
Switch from using seeded data to instances created within test file for User query test & add server closing code
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.