Граф коммитов

10217 Коммитов

Автор SHA1 Сообщение Дата
Florian Zia 5b539ab076 chore: Update comment 2023-04-18 15:24:22 +02:00
Florian Zia 5a26bbb064 fix: Update breach resolution test 2023-04-18 15:12:03 +02:00
Florian Zia 2d1f4cab69 chore: Update breach resolution strings for password and security question 2023-04-18 14:33:04 +02:00
Florian Zia c0a14d093f Merge branch 'main' into MNTOR-1504-Add-links-to-websites 2023-04-18 11:44:52 +02:00
Vincent 5ed89e9dba Add a maximum width for email address
On large viewports, we don't want the hero content part to
endlessly grow if the user's email address happens to be
ridiculously long. This change limits it to a reasonable size that
maintains readability for the regular content, and truncates the
email address if it is wider than that.
2023-04-18 11:07:55 +02:00
Robert Helmer 9d487d7c28
MNTOR-1452 - use UPDATE FOR to lock table and prevent race condition when adding email (#2982) 2023-04-17 09:29:23 -07:00
Florian Zia e8dceb93af
Merge pull request #2983 from mozilla/MNTOR-971-Landing-page-transitions
MNTOR-971: Landing page section transitions
2023-04-17 17:04:55 +02:00
Vincent ae35b85b50 Prevent zoom when focusing input on iOS
See
https://css-tricks.com/16px-or-larger-text-prevents-ios-form-zoom/
2023-04-17 16:59:12 +02:00
Florian Zia 3caf352b58 merge: main -> MNTOR-971-Landing-page-transitions 2023-04-17 16:57:24 +02:00
Vincent c171875ca7 Update filter results when clearing search field
On the public breach list, the search input that filters the list
of breaches would respond to `keyup` events specifically, rather
than anything that might change the input. Thus, if (e.g. in Chrome
or Safari) a browser adds a "Clear input" icon to the field and the
user clicks that, the field gets emptied, but the list of breaches
are still narrowed down to the previous input.
2023-04-17 13:02:21 +02:00
Amri Toufali 7391fee71e
Merge pull request #2987 from mozilla/MNTOR-1171/code-splitting
MNTOR-1171: Code Splitting
2023-04-14 14:25:48 -07:00
Florian Zia 5e607c7ea1 chore: Remove entering transition for hero section 2023-04-14 16:33:38 +02:00
Florian Zia 94536765ef chore: Handle instances where JS does not load or takes too long 2023-04-14 16:17:34 +02:00
Vincent 43f612cb71 Fix bunched-up layout on iOS on the exposure scan 2023-04-14 14:55:55 +02:00
Florian Zia 9e47556098 chore: Set CSS vars instead of adding classnames 2023-04-14 14:03:06 +02:00
Florian Zia c76e41d2a0 chore: Use data attribute and CSS animations for entering transitions 2023-04-14 11:55:02 +02:00
Amri Toufali 779fba66af
fix camelCase lint errors 2023-04-13 23:54:51 -07:00
Amri Toufali b950466726
add ESLint plugin for camelCase lint 2023-04-13 23:42:22 -07:00
Amri Toufali 3d7a208818
use camelCase for .js and .css files 2023-04-13 23:26:46 -07:00
Amri Toufali 1b11d93575
initial salvo 2023-04-13 15:46:26 -07:00
Florian Zia e774f146f1 chore: Fallback for when JS is not allowed 2023-04-13 19:32:47 +02:00
Florian Zia fb036ad587 chore: Add inline comments 2023-04-13 18:13:45 +02:00
Florian Zia 81c85d3422 chore: Rename cue -> queue 2023-04-13 18:08:47 +02:00
Florian Zia e255eff662 chore: Remove optional chhaining 2023-04-13 18:03:39 +02:00
Florian Zia 36b67aecc3
chore: Remove optional Chaining
Co-authored-by: Vincent <Vinnl@users.noreply.github.com>
2023-04-13 17:59:13 +02:00
Florian Zia ccf12809cb Merge branch 'main' into MNTOR-971-Landing-page-transitions 2023-04-13 15:29:15 +02:00
Florian Zia 25d4ff7ad2 chore: Use a preset domain blocklist 2023-04-13 15:06:26 +02:00
Amri Toufali bdad97aa7d
Merge pull request #2972 from mozilla/MNTOR-1509-fix-broken-ga
MNTOR-1509 move GA4 to shared script, and correct DNT check for Safari
2023-04-12 09:11:07 -07:00
Amri Toufali ff416f10a1
minor cleanup 2023-04-12 08:59:59 -07:00
Vincent c9b511561a Add type definition for FxA account data 2023-04-12 15:58:32 +02:00
Vincent 678e66cd09 Add routes for exposure scan signup and overview
This should make it easier to work on both in parallel while
minimising conflicts.
2023-04-12 15:58:32 +02:00
Florian Zia 378c199efa chore: Reorder const variables 2023-04-12 14:07:32 +02:00
Florian Zia b55651408b feat: Add basic transitions to landing page sections 2023-04-12 13:55:41 +02:00
Amri Toufali cb08aee159
Merge branch 'main' into MNTOR-1509-fix-broken-ga 2023-04-11 23:03:02 -07:00
Amri Toufali d729f1f39c
remove nonce used for GA4 2023-04-11 23:00:36 -07:00
Amri Toufali cbce405ac8
use ESBuild to define env vars in client 2023-04-11 22:51:29 -07:00
Florian Zia e1c95e5a92
Merge pull request #2978 from mozilla/MNTOR-1533-Breaches-company-names
chore: Adjust breach detail header layout
2023-04-11 17:18:37 +02:00
Vincent 1f4b4b94b7 Allow scanning for exposures without logging in
Co-authored-by: Robert Helmer <rhelmer@mozilla.com>
2023-04-11 16:56:47 +02:00
Florian Zia 62853fefc0 feat: Observe landing page sections 2023-04-11 15:28:25 +02:00
Florian Zia c69b04df7f chore: Adjust breach detail header layout 2023-04-11 12:56:46 +02:00
Amri Toufali bde8b6b205
refactor GA analytics to use import module 2023-04-10 15:29:42 -07:00
Robert Helmer ea0df794bc revert to main 2023-04-07 22:46:51 -07:00
Robert Helmer a855cb8e9f load gtag dynamically to avoid loading when DNT is set 2023-04-07 22:22:02 -07:00
Robert Helmer 6d4f5f66e0 formatting 2023-04-07 21:50:35 -07:00
Robert Helmer 89ac5f3e5e revert vscode settings change 2023-04-07 21:48:41 -07:00
Robert Helmer 3a62064f9f lint, html in strings is hard to format 2023-04-07 21:47:27 -07:00
Robert Helmer 5e556793bd clean up the GA4 blob 2023-04-07 21:38:32 -07:00
Robert Helmer 3eb4d3b7c3 get ga4 to load in safari 2023-04-07 21:21:47 -07:00
Robert Helmer 425f127a51 fix typo 2023-04-07 19:52:20 -07:00
Robert Helmer dbaee1d347 MNTOR-1509 fix for broken GA JS on guest page 2023-04-07 13:22:22 -07:00