Skip to content

Commit

Permalink
Upgrading client side app (#181)
Browse files Browse the repository at this point in the history
* client style updates

* working on lint

* lint

* adding lint file

* ignoring linting during builds

* adding in default endpoint

* adding logs

* removing need for API port env

* getting API to work

* hardociding API url

* bug fix

* style updates

* more style updates

* working on styles

* handling no featured auction

* removing default ime values

* using ended auctions as sold

* changing auction end verbiage

* removing log

* fixing purple bar

* working on API calls

* apu url things

* fixing url

* sheesh...getting working on dev again

* wrong port

* working on styles

* fixing styles based on feedback

* fixing dynamic styles

* client style updates

Signed-off-by: Keegan Thompson <[email protected]>

* working on lint

Signed-off-by: Keegan Thompson <[email protected]>

* lint

Signed-off-by: Keegan Thompson <[email protected]>

* adding lint file

Signed-off-by: Keegan Thompson <[email protected]>

* ignoring linting during builds

Signed-off-by: Keegan Thompson <[email protected]>

* adding in default endpoint

Signed-off-by: Keegan Thompson <[email protected]>

* adding logs

Signed-off-by: Keegan Thompson <[email protected]>

* removing need for API port env

Signed-off-by: Keegan Thompson <[email protected]>

* getting API to work

Signed-off-by: Keegan Thompson <[email protected]>

* hardociding API url

Signed-off-by: Keegan Thompson <[email protected]>

* bug fix

Signed-off-by: Keegan Thompson <[email protected]>

* style updates

Signed-off-by: Keegan Thompson <[email protected]>

* more style updates

Signed-off-by: Keegan Thompson <[email protected]>

* working on styles

Signed-off-by: Keegan Thompson <[email protected]>

* handling no featured auction

Signed-off-by: Keegan Thompson <[email protected]>

* removing default ime values

Signed-off-by: Keegan Thompson <[email protected]>

* using ended auctions as sold

Signed-off-by: Keegan Thompson <[email protected]>

* changing auction end verbiage

Signed-off-by: Keegan Thompson <[email protected]>

* removing log

Signed-off-by: Keegan Thompson <[email protected]>

* fixing purple bar

Signed-off-by: Keegan Thompson <[email protected]>

* WIP-Security audit fixes (#142)

* bidderaccountid is a short string

Signed-off-by: Greg Scullard <[email protected]>

* Add a short string for ID tests

Signed-off-by: Greg Scullard <[email protected]>

* Negative tests on inputs

Signed-off-by: Greg Scullard <[email protected]>

* remove postgres as image option

Signed-off-by: Greg Scullard <[email protected]>

* .env to specify database schema, user and password

Signed-off-by: Greg Scullard <[email protected]>

* An auction can only be set to "ACTIVE" if it's "PENDING"

Signed-off-by: Greg Scullard <[email protected]>

* Status checks on all state transitions to prevent backward steps.

Signed-off-by: Greg Scullard <[email protected]>

* Manage validators as a block to avoid inconsistent state

Signed-off-by: Greg Scullard <[email protected]>

* Manage bids and auction updates in a single tx, only update if necessary

Signed-off-by: Greg Scullard <[email protected]>

* throw, do not log, to rollback

Signed-off-by: Greg Scullard <[email protected]>

* Fix tests

Signed-off-by: Greg Scullard <[email protected]>

* Fix tests

Signed-off-by: Greg Scullard <[email protected]>

* fix tests

Signed-off-by: Greg Scullard <[email protected]>

* Attempt to remove a previously stored CID in the event the second fails to create

Signed-off-by: Greg Scullard <[email protected]>

* Do not output private key to logging framework

Signed-off-by: Greg Scullard <[email protected]>

* fix typo

Signed-off-by: Greg Scullard <[email protected]>

* fix potential NPE

Signed-off-by: Greg Scullard <[email protected]>

* Remove unnecessary code

Signed-off-by: Greg Scullard <[email protected]>

* remove unnecessary imports

Signed-off-by: Greg Scullard <[email protected]>

* Remove `setTesting` and mock HederaClient

Signed-off-by: Greg Scullard <[email protected]>

* Force mirror query to order ascending always

Signed-off-by: Greg Scullard <[email protected]>

* Check the auction is really pending to avoid risk of starting multiple bid watchers

Signed-off-by: Greg Scullard <[email protected]>

* make handler private

Signed-off-by: Greg Scullard <[email protected]>

* Check auction is indeed pending

Signed-off-by: Greg Scullard <[email protected]>

* Reduce API Verticle Count and pool size

Signed-off-by: Greg Scullard <[email protected]>

* Remove connection pool usage, each verticle uses its own database connection.

Signed-off-by: Greg Scullard <[email protected]>

* Only disconnect/connect if details have changed

Signed-off-by: Greg Scullard <[email protected]>

* Code tidy

Signed-off-by: Greg Scullard <[email protected]>

* Additional test coverage

Signed-off-by: Greg Scullard <[email protected]>

* Code tidy

Signed-off-by: Greg Scullard <[email protected]>

* Fix test

Signed-off-by: Greg Scullard <[email protected]>

* Update environment for github integration tests

Signed-off-by: Greg Scullard <[email protected]>

* ignore missing .env file

Signed-off-by: Greg Scullard <[email protected]>
Signed-off-by: Keegan Thompson <[email protected]>

* Add createauctiontxid to auction + improved REST error handling (#152)

* bidderaccountid is a short string

Signed-off-by: Greg Scullard <[email protected]>

* Add a short string for ID tests

Signed-off-by: Greg Scullard <[email protected]>

* Negative tests on inputs

Signed-off-by: Greg Scullard <[email protected]>

* remove postgres as image option

Signed-off-by: Greg Scullard <[email protected]>

* .env to specify database schema, user and password

Signed-off-by: Greg Scullard <[email protected]>

* An auction can only be set to "ACTIVE" if it's "PENDING"

Signed-off-by: Greg Scullard <[email protected]>

* Status checks on all state transitions to prevent backward steps.

Signed-off-by: Greg Scullard <[email protected]>

* Manage validators as a block to avoid inconsistent state

Signed-off-by: Greg Scullard <[email protected]>

* Manage bids and auction updates in a single tx, only update if necessary

Signed-off-by: Greg Scullard <[email protected]>

* throw, do not log, to rollback

Signed-off-by: Greg Scullard <[email protected]>

* Fix tests

Signed-off-by: Greg Scullard <[email protected]>

* Fix tests

Signed-off-by: Greg Scullard <[email protected]>

* fix tests

Signed-off-by: Greg Scullard <[email protected]>

* Attempt to remove a previously stored CID in the event the second fails to create

Signed-off-by: Greg Scullard <[email protected]>

* Do not output private key to logging framework

Signed-off-by: Greg Scullard <[email protected]>

* fix typo

Signed-off-by: Greg Scullard <[email protected]>

* fix potential NPE

Signed-off-by: Greg Scullard <[email protected]>

* Remove unnecessary code

Signed-off-by: Greg Scullard <[email protected]>

* remove unnecessary imports

Signed-off-by: Greg Scullard <[email protected]>

* Remove `setTesting` and mock HederaClient

Signed-off-by: Greg Scullard <[email protected]>

* Force mirror query to order ascending always

Signed-off-by: Greg Scullard <[email protected]>

* Check the auction is really pending to avoid risk of starting multiple bid watchers

Signed-off-by: Greg Scullard <[email protected]>

* make handler private

Signed-off-by: Greg Scullard <[email protected]>

* Check auction is indeed pending

Signed-off-by: Greg Scullard <[email protected]>

* Reduce API Verticle Count and pool size

Signed-off-by: Greg Scullard <[email protected]>

* Remove connection pool usage, each verticle uses its own database connection.

Signed-off-by: Greg Scullard <[email protected]>

* Only disconnect/connect if details have changed

Signed-off-by: Greg Scullard <[email protected]>

* Code tidy

Signed-off-by: Greg Scullard <[email protected]>

* Additional test coverage

Signed-off-by: Greg Scullard <[email protected]>

* Code tidy

Signed-off-by: Greg Scullard <[email protected]>

* Fix test

Signed-off-by: Greg Scullard <[email protected]>

* Update environment for github integration tests

Signed-off-by: Greg Scullard <[email protected]>

* ignore missing .env file

Signed-off-by: Greg Scullard <[email protected]>

* Code tidy

Signed-off-by: Greg Scullard <[email protected]>

* return 404 if not found instead of 500 or empty response

Signed-off-by: Greg Scullard <[email protected]>

* Add createauctiontxid to auctions + tests

Signed-off-by: Greg Scullard <[email protected]>
Signed-off-by: Keegan Thompson <[email protected]>

* Adds JMeter script to exercise the client REST api (#154)

Signed-off-by: Greg Scullard <[email protected]>
Signed-off-by: Keegan Thompson <[email protected]>

* Update readme.md

Signed-off-by: Greg Scullard <[email protected]>
Signed-off-by: Keegan Thompson <[email protected]>

* working on API calls

Signed-off-by: Keegan Thompson <[email protected]>

* apu url things

Signed-off-by: Keegan Thompson <[email protected]>

* fixing url

Signed-off-by: Keegan Thompson <[email protected]>

* sheesh...getting working on dev again

Signed-off-by: Keegan Thompson <[email protected]>

* wrong port

Signed-off-by: Keegan Thompson <[email protected]>

* working on styles

Signed-off-by: Keegan Thompson <[email protected]>

* fixing styles based on feedback

Signed-off-by: Keegan Thompson <[email protected]>

* fixing dynamic styles

Signed-off-by: Keegan Thompson <[email protected]>

* Environment variables (#156)

* Rename NEXT_PUBLIC_NETWORK to NETWORK, add NEXT_PUBLIC_BASE_API_URL

Signed-off-by: Greg Scullard <[email protected]>

* UI image always builds

Signed-off-by: Greg Scullard <[email protected]>

* Do not build UI image in Actions

Signed-off-by: Greg Scullard <[email protected]>

* Code tidy

Signed-off-by: Greg Scullard <[email protected]>
Signed-off-by: Keegan Thompson <[email protected]>

* Adds a /v1/soldauctions returning auctions that are ended with a bid above reserve (#157)

Signed-off-by: Greg Scullard <[email protected]>
Signed-off-by: Keegan Thompson <[email protected]>

* updating api url constant to use env var

Signed-off-by: Keegan Thompson <[email protected]>

* using /soldauctions endpoint

* Reduce size of image within cards

Signed-off-by: Michael Young <[email protected]>

* Auction ends value font size matches bid value on cards

Signed-off-by: Michael Young <[email protected]>

* Doubled the vertical space between Live Auctions and Sold section on home page

Signed-off-by: Michael Young <[email protected]>

* Changed title 'Live Auctions' and 'Sold' font size to 22px

Signed-off-by: Michael Young <[email protected]>

* Set USD currency value to white on the featured auction and auction detail views

Signed-off-by: Michael Young <[email protected]>

* Removed bottom paadding on img in the Cards

Signed-off-by: Michael Young <[email protected]>

* Updated FAQ and How It Works urls

Signed-off-by: Michael Young <[email protected]>

* Added support for tinybar to hbar conversion

Signed-off-by: Michael Young <[email protected]>

* Added Terms and Conditions to the footer

Signed-off-by: Michael Young <[email protected]>

* Use auction image instead of placeholder image

Signed-off-by: Michael Young <[email protected]>

* Added click to copy feature on the bid modal auction id

Signed-off-by: Michael Young <[email protected]>

* Maintain auction image aspect ratio when viewing auction detail page in Safari

Signed-off-by: Michael Young <[email protected]>

Co-authored-by: Keegan Thompson <[email protected]>
Co-authored-by: Greg Scullard <[email protected]>
Co-authored-by: gregscullard <[email protected]>
Co-authored-by: root <[email protected]>
  • Loading branch information
5 people authored Sep 21, 2021
1 parent 06ff328 commit 6aa847e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const LeftColumn = ({ auction, auctionImage, openLightbox }) => {
</div>
<div className='flex justify-between sm:flex-row flex-col'>
<img
className='sm:w-full sm:pt-10 pt-7 sm:pb-0 pb-11'
className='sm:w-full sm:pt-10 pt-7 sm:pb-0 pb-11 object-contain h-full'
src={sidebarImage}
alt='bid-item'
/>
Expand Down

0 comments on commit 6aa847e

Please sign in to comment.