Commit Graph

168 Commits

Author SHA1 Message Date
Ryan Slobojan 081674a3db Merge branch 'main' of github.com:billylo1/covidpass into main
* 'main' of github.com:billylo1/covidpass:
  add instructions for removing pass
  ready for deployment to main
  alpha test
2021-10-24 15:40:32 -04:00
Ryan Slobojan 06d28f6c35 Reformatted province/state list to make it easier to read at a glance
* Added global CSS to start centralizing shared styles
* Lots of little wording updates
* Increment app version to 2.2.2
2021-10-24 15:40:12 -04:00
Billy Lo deb2222322 Merge branch 'main' into fastlink-to-original-pdf 2021-10-24 13:27:48 -04:00
Billy Lo 437bb8be4a alpha test 2021-10-24 08:29:07 -04:00
Ryan Slobojan 8ba81a8498 Fixed issue with some PDFs not detecting SHC QR codes
* Doubling the pdfScale from 2 to 4 seems to make them big enough
  that the library can then find them
2021-10-23 21:13:08 -04:00
Ryan Slobojan 67a4a15007 Added new provinces and states to the list of accepted regions
* Added links to NL and PEI proof-of-vaccination portals
* Fixed Wallet and Pay buttons not looking disabled when inactive
* Bumped version to 2.2.1
* Some dead code removal and warning cleanup
* We need to find a better way to list regions - it's turning into an eternal run-on sentence, hard to identify supported regions
2021-10-23 18:51:36 -04:00
Billy Lo 6f062f0bfb update to button height for add to apple and google 2021-10-21 17:14:46 -04:00
Jason Liu d3639b6578 added form trnaslations and removed unused 2021-10-21 13:12:23 -04:00
Jason Liu 32cb366b17 removed verifier and demo link 2021-10-21 12:28:36 -04:00
Jason Liu 809a5f2bf6 enabled focus outline for accessibility 2021-10-21 11:33:21 -04:00
Jason Liu ef3f6818a3 fixed render photo button placement 2021-10-21 01:13:51 -04:00
Jason Liu f55e35f13c added key to dropdown items 2021-10-21 01:13:31 -04:00
Jason Liu 57e55d7eae added google pay and apple wallet buttons 2021-10-21 01:12:52 -04:00
Jason Liu ada594ac31 official apple wallet button 2021-10-20 22:41:53 -04:00
Jason Liu 43fa8445df added back description text 2021-10-20 22:38:27 -04:00
Jason Liu ad48493fe1 northern->northwest typo fix 2021-10-20 22:35:57 -04:00
Jason Liu df5f72e40b created tailwind dropdown component
removed react-select
reenabled dark mode
2021-10-20 22:33:40 -04:00
Ryan Slobojan 527776092e Wording updates to reflect GPay support
* Bumped rev to 2.2.0
2021-10-20 16:40:26 -04:00
Ryan Slobojan 0360e6b6b3 More cleanup and simplification
* Remove unneeded build script
* Removed unneeded code and imports
* Ensured /api/config is only called once and reused
2021-10-20 16:23:46 -04:00
Ryan Slobojan 4b66da1589 Code simplification and cleanup 2021-10-20 16:06:17 -04:00
Ryan Slobojan bb7b8c75d1 Dropped unneeded new packages, moved GPay pass download to window.location.href rather than React Router 2021-10-20 15:49:19 -04:00
Ryan Slobojan 28e482911b Delete unneeded unused file 2021-10-20 15:39:41 -04:00
Billy Lo 50cb5c2290 minor updates to button and environment variables 2021-10-20 14:56:19 -04:00
Billy Lo 21997d0aa6 Merge branch 'main' into android 2021-10-20 10:45:59 -04:00
Billy Lo 8b8a08558a generalize client side code we can switch from loyalty to covidcard smoothly 2021-10-20 10:23:48 -04:00
Ryan Slobojan 1ccddb92c3 Add refresh button to fix photo issues on older iPhones
Can now click to refresh the image if it doesn't draw right the first time
2021-10-19 17:47:01 -04:00
Ryan Slobojan b138f78d8a Another attempt at a fix for Safari image issue
* Now rendering card to a full PNG and embedding in page
* Link around PNG is also the full PN as a data URL
* SHould be able to either click or direct-save image
2021-10-18 23:43:40 -04:00
Ryan Slobojan 0a91eadb14 Another attempt to fix Mobile Safari not saving photo cards correctly
* Moved photo card right underneath "Save as Photo" button
* Update to latest html-to-image library (1.9.0)
* Added 1px border to photo card
* Hide photo card when camera opened or new file selected
* Rev version to 2.1.5
2021-10-18 18:25:55 -04:00
Ryan Slobojan ddd6e19266 Merge branch 'main' of github.com:billylo1/covidpass into main
* 'main' of github.com:billylo1/covidpass:
  no drop down

# Conflicts:
#	components/Form.tsx
2021-10-18 13:18:54 -04:00
Ryan Slobojan 8cef67d8f7 Added explanation to step 1 so users know it's optional 2021-10-18 13:09:54 -04:00
Billy Lo f0853286eb Merge branch 'main' of https://github.com/billylo1/covidpass 2021-10-18 13:08:22 -04:00
Billy Lo 9630122ca2 no drop down 2021-10-18 13:08:21 -04:00
Ryan Slobojan 464b5585e1 Merge branch 'main' of github.com:billylo1/covidpass into main
* 'main' of github.com:billylo1/covidpass:
  hot fix to remove the altText of the QR code to improve scannabilitiy
  increment version code to 2.1.3
  2.1.2 - Added dropdown box for Step 1 to support different provinces

# Conflicts:
#	src/passphoto-common.ts
2021-10-18 12:37:53 -04:00
Ryan Slobojan 241b68f300 Fixed Safari image rendering issue
* Apparent race condition between rendering/hiding canvas and
  saving of file
* Photo card now just remains visible all the time as soon as a
  SHC QR code is detected, to eliminate race conditions
2021-10-18 12:36:25 -04:00
Billy Lo d4b7d267d3 increment version code to 2.1.3 2021-10-18 01:16:14 -04:00
Billy Lo 2152af09a0 Merge branch 'main' of https://github.com/billylo1/covidpass 2021-10-18 01:15:21 -04:00
Billy Lo 3af4a148de 2.1.2 - Added dropdown box for Step 1 to support different provinces 2021-10-18 01:14:52 -04:00
Ryan Slobojan e477f55637 Increment build number 2021-10-17 23:51:12 -04:00
Ryan Slobojan adb4a27c03 Merge branch 'main' of github.com:billylo1/covidpass into main
* 'main' of github.com:billylo1/covidpass:
  2.1.1 - updated photo to sync with wallet pass
2021-10-17 23:50:03 -04:00
Ryan Slobojan e65b85ba7b Attempted fixes to timing issues in image save
* Delay removal of QR codes until second card is generated, rather than right after first
* Don't hide image HTML until after save loading is complete
* Await unawaited toBlob call in image save
2021-10-17 23:49:57 -04:00
Billy Lo e625cadd00 Merge branch 'main' into android 2021-10-17 19:57:15 -04:00
Billy Lo 5657b28b65 2.1.1 - updated photo to sync with wallet pass 2021-10-17 19:34:18 -04:00
Ryan Slobojan e93de3243a Text updates, Rev 2.1.0 release 2021-10-17 17:58:48 -04:00
Ryan Slobojan cdd8317bd5 Updated iOS 15 detection and debugging messages 2021-10-17 14:56:43 -04:00
Ryan Slobojan 8e83c65f6c Added direct camera-scan support for creating QR codes
* SHC QR codes can now be scanned directly from the camera, eliminating the need for
  error-prone screenshotting or photos - the scanner will auto-detect an SHC QR code
  and proceed to the next step
2021-10-17 13:30:18 -04:00
Billy Lo 24ec6b062b add sentry logging for ios15 log errors 2021-10-17 11:58:10 -04:00
Billy Lo 04a1f697ce enhancing ios15 check with user agent 2021-10-17 11:56:54 -04:00
Billy Lo f080ca8618 Merge branch 'main' into android 2021-10-16 15:50:55 -04:00
Billy Lo d6d9691aee minor edits to suggest the G-Pay button 2021-10-16 15:45:22 -04:00
Billy Lo b179c19e3d 2.0.5 - update for iOS 15 validation 2021-10-16 14:54:16 -04:00