bomb_photos's People
Forkers
scottfirestonebomb_photos's Issues
Fix AWS/Paperclip error
Bug in AWS/Paperclip in development.
Visitor views a cart with two photos
As a visitor who has added two photos to my cart,
when I click on "cart",
for each photo in my cart,
I should see the photo image (clickable to show),
and I should see the photo name (clickable to show),
and I should see the photo category (clickable to category index),
and I should see the photo price,
and I should see the total cart price,
and I should see a "continue shopping" button,
and I should see "checkout".
Platform admin can view their dashboard
As a logged in and authenticated platform admin
when I successfully log in I see my platform info
and I see table of all businesses
Registered customer cannot see business admin dashboard
As a registered customer,
when I visit the business admin dashboard,
I should see a 404.
Update header
Update header to reflect new business name and relevant navbar links
Visitor can log in as a customer
As a registered customer,
when I visit root,
I should not see "log out" on header,
and I should not see my username/email on header,
and I should see "log in" on header,
and when I click "log in",
and I fill in my username/email,
and I click "log in",
then I should see my dashboard,
and I should see "log out" on my header,
and I should not see "log in" on my header,
and I should see my username on my header.
Fix admin orders page
Header shows gifs for good, table has unnecessary columns
Customer can view multiple past orders
As a registered/logged-in customer,
who has placed multiple orders,
when I visit my past orders,
for all orders,
I should see the order numbers,
and I should see the order dates,
and I should see the order totals.
Photo show page shows studio
As a visitor
When I visit a photo show page
then I should see the studio name
Add add to cart on category show
Create a seeds file
do it
Remove status from orders table
Visitor views photos by category
As a visitor
when I visit the "all photos" page
I should see a list of all categories,
And I click on a category name
I should see only the images associated with that category
Inactive photos not present photo indices
Guest cannot see business admin dashboard
As a visitor,
when I visit the business admin dashboard,
I should see a 404.
Add hound to repo
Customer can view a deactivated photo
As a registered/logged-in customer,
when I visit my past orders,
and I click on a past order,
and I click on the photo name of a deactivated photo,
then I should see the photo page,
and I should see 'photo is no longer available',
and I should not see 'add to cart'.
Business admin can activate an inactive photo
As a registered/logged-in business admin,
when I visit a retired photo's show page,
and I click on 'activate',
then I should see the photos index page,
and the photo should be labeled 'active',
and I should see a message that 'photo was 'activated',
and when I visit the 'all photos' page,
I should see that photo.
Remove tags from add photo form
Form references tags which is an artifact from the old project
Business admin can view an individual order
As a registered/logged-in business admin,
and I visit my orders,
and I click on an order ID,
then I should see the order ID,
and I should see the date order was placed,
and I should see the customer's username/email,
and I should see ordered photos from my business,
and I should not see photos from another business.
Refactor all integration tests
Create methods in test helper to minimize duplicate code in setup
Remove extraneous capybara setup
Logged-in user creates an order
As a registered/logged-in user,
when I visit the 'all photos' page,
and I click on a category,
and I click on the photo,
and I click on 'add to cart',
and I visit the cart,
and I click on 'checkout',
(in production, I should see stripe checkout),
then I should see a message 'your order has been placed',
and I should see the order total,
and I should see the created at time/date,
and I should see a link to "all photos",
and I should see a link to all orders.
Studio admin cannot view orders for another studio
As a studio admin
When I click on my orders
I should only see my orders
Business admin can see all their orders
As a registered/logged-in business admin,
when I visit my admin dashboard,
and I click on 'view orders',
then I should see a list of order ids,
and each order should have a subtotal,
and each order should have a 'placed at' timestamp.
Create model/validation test
We may be able to salvage most of the old model tests and should matchers
Guest is prompted to login when attempting to check out
As a guest,
when I visit the 'all photos' page,
and I click on a category
and I click on the photo,
and I click on 'add to cart',
and I visit the cart,
and I click on 'checkout',
then I should see the login page,
and when I fill in my username/email,
and I fill in my password,
and I click log-in,
then I should see the cart I previously created.
Create wireframes for 3 pages
Use basalmiq
Business admin can log in
As a registered business admin,
when I visit the login path,
and I fill in my username,
and I fill in my password,
and I click "log in",
then I should see the business admin dashboard.
Registered customer cannot view other customer's order
As a registered/logged-in customer,
when I visit an order that doesn't belong to me,
then I should get a 404.
Update footer
Update footer to reflect new business info
Create database schema outline
visit
http://ondras.zarovi.cz/sql/demo/
and create dynamic tables
Remove quantity adjust from cart
Can only buy 1 quantity of a photo
Visitor can register for an account
As a visitor,
when I visit the root,
and I click "sign up",
and I fill in a username/email,
and I fill in a password,
and I fill in a password confirmation,
and I click "sign up",
then I should see a message saying "thanks for signing up,
and I should see my username/email,
and I should see an "edit info" link,
and I should see a link for my past orders,
and I should see a link for my photos.
Clean up studio admin dashboard
Make it clear which page we're on
Business Admin can create a photo
As a registered/logged-in business admin,
when I visit my admin dashboard,
and I click on create new photo,
and I fill in a name,
and I fill in a description,
and I fill in a price,
and I select a category,
and I upload an image,
and I click on 'submit',
then I should be on my business's photo index page,
and I should see the newly created photo,
and I should see a message "your photo has been created".
Business admin can update a photo
As a registered/logged-in business admin,
when I visit a photo show page,
and I click on 'update',
and I fill in a name,
and I fill in a description,
and I fill in a price,
and I select a category,
and I upload an image,
and I click on 'update',
then I should be on my business's photo index page,
and I should see the updated photo,
and I should see a message "your photo has been updated".
Refactor stripe
Visitor adds photos to cart
As a visitor,
when I visit the "all photos" page,
and I click on a category,
and I click a photo's "add to cart",
then I should see a message "photo has been added to cart",
and in the navbar,
I should see "Cart (1)",
and when I click another photo's "add to cart",
I should see a message "photo has been added to cart",
and I should see "Cart (2)".
Visitor views photos by studio
As a visitor
When I visit "all photos"
And I click on "browse by studio",
I should see a list of all studio names,
And I click on a studio name,
I should see photos associated with only that studio
Fix add to cart on studio show
Guest cannot view an order
As a guest,
when I visit an order,
then I should get a 404.
Refactor order process
Format order total on all orders chart
Format cart total
Visitor can remove photo from cart
As a visitor with two photos in my cart,
when I visit my cart,
and I click "remove" for the first photo,
then I should no longer see that photo info,
and I should see the other photo info,
and I should see a revised total.
Business admin deactivates a photo
As a registered/logged-in business admin,
when I visit a photo's show page,
and I click on 'retire',
then I should see the photos index page,
and the photo should be labeled 'inactive',
and I should see a message that 'photo was deactivated',
and when I visit the 'all photos' page,
I should not see that photo.
build wireframe for studio show page
Use basalmiq
Delete old integration tests
Delete erroneous code
user can view studio info
as a visitor
when I click on "all studios"
then I see the studio index of all studios
then I click on a studio
and I see Studio name
and studio description
and link to all studio photos
and a promo photo for studio
User cannot add same photo to cart twice
As a registered user
When I add a photo to my cart
and I click add to cart on the same photo
then I should see a flash message that the photo is already in my cart
and the count of my cart should not increase
Visitor views an empty cart
As a visitor,
when I click on cart,
I should see "Your cart is empty".
Customer can view a past order
As a registered/logged-in customer,
when I visit my past orders,
and I click on a past order,
I should see the order number,
and I should see the order date,
and I should see the order photo names (as links),
and I should see the order photo images (as links),
and I should see the order photo prices,
and I should see the order total.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.