Giter Club home page Giter Club logo

assistant-frontend's Introduction

assistant-frontend

an ember client for the artisan assistant-API

Prerequisites

You will need the following things properly installed on your computer.

Installation

  • $ git clone https://github.com/artisan-tattoo/assistant-frontend.git
  • $ cd assistant-frontend
  • $ npm install
  • $ bower install

Running / Development

assistant-frontend's People

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

assistant-frontend's Issues

customer detail page

the customer detail page shows the details for the customer
it is viewable by the associated artist and associated shop

shop detail / artist index view

the shop detail page shows the store details and all associated artists
the artist index is viewable by the artist and the shop

new customer POST fails, content-security policy violation

Content Security Policy violation: {"csp-report":{"document-uri":"http://localhost:4200/customers","referrer":"http://localhost:4200/customers/new","violated-directive":"connect-src 'self' http://localhost:8080/ ws://localhost:35729 ws://0.0.0.0:35729 http://0.0.0.0:4200/csp-report","effective-directive":"connect-src","original-policy":"default-src 'none'; script-src 'self' localhost:35729 0.0.0.0:35729; font-src 'self'; connect-src 'self' http://localhost:8080/ ws://localhost:35729 ws://0.0.0.0:35729 http://0.0.0.0:4200/csp-report; img-src 'self'; style-src 'self'; media-src 'self'; report-uri http://0.0.0.0:4200/csp-report;","blocked-uri":"ws://127.0.0.1:35729","source-file":"http://127.0.0.1:35729","line-number":74,"column-number":21,"status-code":404}}

filter cusotmers by status

Currently looks like this:

2015-08-23-193437_613x114_scrot

This makes the only people in the customer's

be the ones by that particular status, and the "All" clears them.

search customers

Looks like this currently:

2015-08-23-193248_258x87_scrot

type something in there, and it shows the only customer records where what's typed is in any column.

the code from the original app:

 @customers = %w[name phone email credit want notes location].collect do |col|
    Customer.all(:conditions => ["#{col} ILIKE ?","%#{params[:q]}%"])
end.inject([], &:|)

specify key in each in templates

WARNING: Using {{each}} without specifying a key can lead to unusual behavior. Please specify a key that identifies a unique value on each item being iterated. E.g. {{each model key="@guid" as |item|}}.

shop index view

the store index view should show all artists
the store index is only viewable by the store

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.