storj/satellite
Faris Huskovic ebd976ec28
satellite/marketing: Create New Offer (#2186)
* update UI to reflect final mockups

* implement create handler and render offers table data to UI

* fix line-height unit and remove important from selectors

* update file names and ids for clarity

* shorten 'label' in ids

* localize global vars, fix endpoint names, remove unnecessary receiver, fix comments

* fix unnecessary initialization of pointer

* correct file-naming conventions

* register timeConverter in an init func for safety and remove unnecessary important from css

* consolidate create endpoints and add comments

* register timeConverter in init func

* add copyright to files

* introduce require pkg

* add proper http server unit test

* update linting and create offers concurrently in unit test

* fix getOffers comment

* add copy-right to unit-test

* fix data-races

* fix linting

* remove converter in NewServer

* requested changes in progress

* add require for checking status code

* renamed template file

* fix 400 handler

* fix missing copyright and remove extra line

* fix build

* run goroutine for testing parallel

* evaluate reqType with switch stmt and promp for credit amount in cents

* fix lint issue

* add default case

* remove unnecessary var

* fix range scope error

* remove empty lines and use long form for struct field

* fix merge conflicts

* fix template reference

* fix modal id

* not delete package

* add currency formatting and requested changes

* markup formatting

* lean out currency logic and move wait outside loop

* pass ToDollars func to home template

* fix lint
2019-06-28 10:34:10 -04:00
..
attribution internal/testrand: new package for random data (#2282) 2019-06-26 13:38:51 +03:00
console satellite/console: nicer error handling in tests (#2378) 2019-06-28 16:04:50 +03:00
inspector internal/testrand: new package for random data (#2282) 2019-06-26 13:38:51 +03:00
mailservice Use zap.Stringer instead of zap.String (#2223) 2019-06-18 01:37:43 +02:00
marketingweb satellite/marketing: Create New Offer (#2186) 2019-06-28 10:34:10 -04:00
metainfo jenkins: avoid using goimports and distribute load better (#2359) 2019-06-27 21:52:50 +03:00
nodestats Add node stats GRPC endpoint to the satellite (#2281) 2019-06-25 13:40:32 +03:00
orders internal/testrand: new package for random data (#2282) 2019-06-26 13:38:51 +03:00
payments Console: Remove payments checks during project creation and member deletion (#2236) 2019-06-18 13:09:34 -04:00
rewards satellite/marketing: Create New Offer (#2186) 2019-06-28 10:34:10 -04:00
satellitedb internal/testrand: new package for random data (#2282) 2019-06-26 13:38:51 +03:00
vouchers Fix some leaks and add notes about close handling (#2334) 2019-06-25 23:00:51 +03:00
peer.go satellite/marketing: Create New Offer (#2186) 2019-06-28 10:34:10 -04:00