Commit Graph

33 Commits

Author SHA1 Message Date
Vincent Batts ddc67a84fa
demo time
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2020-10-15 21:14:19 -04:00
keziasulami 65b5da1a9b
Fix multiply item price by quantity (#378) 2020-10-13 12:25:06 -07:00
Ben Wells 87505f1a42
Handle error template errors (#332) 2020-06-17 17:01:02 -07:00
Megan O'Keefe 05758f56b8
Hide currency conversion after checkout (#343) 2020-05-06 09:22:02 -04:00
Megan O'Keefe 814088f788
Rebrand Hipstershop as OnlineBoutique (#328)
* update productcatalog, frontend, readme

* revert productcatalog

* restore currency logic and ad display

* footer cleanup

* Resize header image

* screenshots

* Center align header image in readme

* Show platform flag on every page

* style fixes

* fix currency in UI, remove extra USD

* cart bug, fixing

* attempt to fix breaking build

* fix cart size in handler

* replace images

* # items in cart is total quantity

* Add link to 0.1.4 manifests in readme
2020-04-23 14:12:30 -07:00
sebright dc7effd601 adservice: find relevant ads by category (#61)
The ad service now returns ads matching the categories of the product that is
currently displayed.  Changes in this commit:

- List all products' categories in products.json.

- Pass the current product's categories from the frontend to the ad service when
  looking up ads.

- Store a statically initialized multimap from product category to ad in the ad
  service.

- Return all ads matching the given categories when handling an ads request.
  The ad service continues to return random ads when no categories are given or
  no ads match the categories.
2018-10-01 22:44:56 -07:00
rghetia 7f2ecfea9e Instrument Go service with Stats and monitored resources. (#30)
added default views for stats  for http and grpc in Go services only.
added monitored resources for go.
2018-08-24 16:30:50 -07:00
Ahmet Alp Balkan 3e90b73464
frontend: add integration for adservice
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-08-16 18:01:52 -07:00
Ahmet Alp Balkan 427f13fcd3
go: use dep in builds, remove relative imports
Fixes #11.
Fixes #12.
Fixes #13.

Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-08-04 11:21:03 -07:00
Ahmet Alp Balkan d0128060e4
Add LICENSE headers to source files
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-07-25 09:54:28 -07:00
Ahmet Alp Balkan 432c5462a0 frontend: add BANNER_COLOR to control jumbotron bg
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-07-19 11:28:14 -07:00
Ahmet Alp Balkan 2f5cbd5eee frontend: add footer (session id + request id)
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-07-02 16:11:58 -07:00
Ahmet Alp Balkan b7404e3500 frontend: use logrus structured logger
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-07-01 21:21:26 -07:00
Ahmet Alp Balkan ca3ace3f65 frontend: use pkg/errors, show full stacktrace
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-28 22:03:39 -07:00
Ahmet Alp Balkan 9728803877 frontend/handlers: wrap err
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-28 16:54:24 -07:00
Ahmet Alp Balkan 99cefc46c9 checkoutservice: remove PrepareOrder rpc
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-28 00:48:46 -07:00
Ahmet Alp Balkan 7db573230b frontend: also log error
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-28 00:41:20 -07:00
Ahmet Alp Balkan b2ca0868a5 frontend: error page
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-28 00:20:26 -07:00
Ahmet Alp Balkan 7f4319ae54 frontend: order result screen
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-28 00:15:16 -07:00
Ahmet Alp Balkan 483e113643 frontend: place order
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-27 22:16:03 -07:00
Ahmet Alp Balkan 0dc4055b82 breaking changes to Address in proto
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-27 15:51:33 -07:00
Ahmet Alp Balkan 2ec570c507 frontend: checkout form
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-27 15:43:24 -07:00
Ahmet Alp Balkan 10748d6b0a frontend/templates: fix money rendering
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-27 14:55:19 -07:00
Ahmet Alp Balkan 6c2336b21e frontend: money proto migration
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-27 14:31:38 -07:00
Ahmet Alp Balkan 3144c87e21 frontend: ui tweaks
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-27 13:30:16 -07:00
Ahmet Alp Balkan 908df8d331 frontend: integrate recommmendationservice
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-26 14:19:22 -07:00
Ahmet Alp Balkan 289bd4db13 frontend: view cart, add to cart, empty cart
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-26 12:55:07 -07:00
Ahmet Alp Balkan f3fe6d42ad connect cartservice
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-26 11:01:24 -07:00
Ahmet Alp Balkan 36b7b9eb65 frontend: stop refreshing cookies
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-25 23:26:26 -07:00
Ahmet Alp Balkan e16172c14a frontend: product page
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-25 22:47:33 -07:00
Ahmet Alp Balkan 6268802ab5 frontend: homepage template showing products
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-25 21:55:09 -07:00
Ahmet Alp Balkan 7063092393 frontend: more organization
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-25 11:18:08 -07:00
Ahmet Alp Balkan 3cbda5fc65 frontend: add home template
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-06-24 23:37:28 -07:00