Commit Graph

162 Commits

Author SHA1 Message Date
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
Billy Lo 8dd93e7a8b user experience fix for mobile browser
Many user struggles to navigate back to grassroots after a new window is open (in step 1 or video demo).

Mobile chrome/firefox Users cannot use back button to return (this is ok on Safari because Apple is smart to allow back button to continue to work (despite it's a different window)
2021-10-16 06:00:36 -04:00
Ryan Slobojan 7ca5a469b2 Added support for new unreleased Manitoba SHC QR codes as well as NWT, NJ, HI, UT, and VA
* Also ignore now-common SHC warning message in Sentry
2021-10-15 22:32:38 -04:00
Ryan Slobojan fdc896f7ca Lots of text and messaging updates 2021-10-15 20:28:35 -04:00
Ryan Slobojan f35e9dbfb0 Lots of messaging updates 2021-10-15 10:47:32 -04:00
Billy Lo d1f70167b6 deployed version - 1.10.0 after merge and a few fixes 2021-10-14 23:07:52 -04:00
Ryan Slobojan e2b0dcf694 Completed SHC implementation
* We now register SHCs using a different format than old-style ON cards
* server-side register function has been updated to split out old-style and
  SHC registrations and put them into different collections so we can easily
  delete old-style data when the code path is turned off
* Record SHCs (minus PII) from unexpected issuers so that we can
  proactively learn about and react to new SHC issuers or format changes
* Load API config exactly once and reuse it rather than reloading on every
  card generation
2021-10-14 10:32:02 -04:00