Coder Social home page Coder Social logo

dinner_dash's People

Contributors

davemaurer avatar maxtedford avatar

Watchers

 avatar

Forkers

maxtedford

dinner_dash's Issues

admin can see order's status

As an authenticated admin,
When I visit "/admin/orders" and click on an order,
I expect to see the order's status.

Format Dates

Make dates across site user readable (orders index for user and admin, order show for user and admin)

admin can see order item details

as an authenticated admin

when i visit '/admin/orders'

and i click on an order

i see item details including:
item name as a link to '/item/:id'
item quantity
item price
line item subtotal

admin can add items

As an authenticated admin,
When I visit "/admin/items" and click "Add New Item",
I expect to see a page where I can create a listing with a name, description, price, and upload a photo.

admin can create categories

as an authenticated admin

when i visit '/admin/categories'

and i click on 'add new category'

i can create a new category

admin can edit items

as an authenticated admin

when i visit 'admin/items' or '/admin/items/:id"

and i click on 'edit item'

i see the edit items page (create items partial) where i can edit all fields

admin can change order status

As an authenticated admin,
When I visit "/admin/orders",
I expect to see a links to change the order's status:

  1. if status == "ordered" || "paid"
    link_to "cancel"
  2. if status == "ordered"
    link_to "paid"
  3. If status == "paid"
    link_to "completed"

unauthenticated user can remove items from cart

as an unauthenticated user

when i visit '/cart' and click 'remove item'

i expect that item to be removed from the list of items in my cart

and i expect the order subtotal to reflect the item removal

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.