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

141 Коммитов

Автор SHA1 Сообщение Дата
Florian Zia fcd9fa161b
chore: Remove unused legacy env vars 2024-03-13 17:55:53 +01:00
Florian Zia 26d73ab363 fix: Revert e2e review change 2024-02-08 17:13:05 +01:00
Florian Zia 4cc6462cc8 chore: Set BROKER_SCAN_RELEASE_DATE to a future date to fix e2e 2024-02-08 17:13:05 +01:00
Robert Helmer 51ad8ab3bd
MNTOR-2832/fix ga4 debug mode (#4097)
* MNTOR-2832 - configure GA4 debug mode with build time env var
2024-01-26 17:22:08 -08:00
Florian Zia fa824469b6
Merge branch 'main' into mntor-2154 2024-01-26 14:39:21 +01:00
Vincent 86ae792204 Update OneRep API base URL 2024-01-26 14:21:04 +01:00
Robert Helmer 0b4b93bfca
MNTOR-2422 - upload sourcemaps to Sentry (#4078)
* MNTOR-2422 - upload sourcemaps to Sentry
2024-01-24 14:27:15 -08:00
Florian Zia 773c36c7f4
chore: Move subscription billing info to env variable 2024-01-24 17:22:25 +01:00
Vincent ed4cd8e72a Remove NEXT_PUBLIC env vars by constants
We used NEXT_PUBLIC_* env vars for values that:

- were the same across environments, and
- we wanted to easily change.

In other words, they were essentially constants. By turning them
into regular, statically-analysable, JS variables, they:

- can easily be renamed,
- are known to be defined and thus don't need non-null or type
  assertions, and
- can have non-string values, removing the need to e.g. parse
  integers,
- are more explicitly the same in every environment, avoiding the
  temptation to attempt (and fail) to set environment-specific
  env vars to override them.
2024-01-12 17:09:41 +01:00
Vincent 247b112f76 Update broker scan date 2024-01-10 20:04:05 +01:00
Kaitlyn Andres 29133cd390
MNTOR-2650 - FAQ Section (#3963)
* MNTOR-2650 - FAQ Section

* add premium qn and answers

* add title and see faq link

* only open one at a time

* only open one at a time

* unit tests

* add telemetry

* add test

* use link instead of btn

* add usebutton and focusring props

* remove commented out code

* let bedrock localize link

* open one at a time

* use aria hidden, aria controls for test

* use link id isntead of button id

* fix no test assertion error

* remove tabindex and align faq qn

* wrap faqqn in a button element

* use getbyrole and use regex

* use record telemetry instead

* faq specific css file

* Update src/app/(proper_react)/redesign/(public)/Faq.tsx

Co-authored-by: Vincent <Vinnl@users.noreply.github.com>

---------

Co-authored-by: Vincent <Vinnl@users.noreply.github.com>
2024-01-09 13:06:27 -05:00
Kaitlyn Andres 810b268275
MNTOR-2684 - Add footer to LP (#3993)
* MNTOR-2684 - Add footer to LP

* make footer a server component
2024-01-09 11:22:32 -05:00
Robert Helmer 6d53d6b144
MNTOR-2431 - create alert for scan and profile limits (#3779)
* MNTOR-2431 - create alert for scan and profile limits
2024-01-05 08:02:46 -08:00
Vincent 79593268db Split US and non-US strings
Some US-specific strings inadvertently appeared outside the US, so
those have been fixed as well insofar as I saw them.
2024-01-04 12:16:39 +01:00
Florian Zia 67f9e30cb8
merge: main -> mntor-2319 2024-01-02 14:10:01 +01:00
Robert Helmer a5767c8673
MNTOR-2517 - automatically opt-out any monitoring scans (#3921)
* MNTOR-2517 - automatically opt-out any monitoring scans
2023-12-29 14:32:22 -08:00
Florian Zia bc0496762a
feat: Make child prop for SubscriberWaitlistDialog optional 2023-12-22 12:13:55 +01:00
Florian Zia cd0df8014c
chore: Add unit tests for SubscriberWaitlistDialog 2023-12-21 15:59:45 +01:00
Florian Zia 46e3a8a5ed
chore: Add conditions for max broker scan threshold 2023-12-21 13:42:46 +01:00
Kaitlyn Andres df1310f025
MNTOR-2600 - Add SUMO learn more link (#3816)
* MNTOR-2600 - Add SUMO learn more link

* prefix NEXT_PUBLIC to env var

* remove unrequired,

* fix env var name change

* remove localized url
2023-11-30 14:58:52 -05:00
Vincent efec9ae36b Remove dynamic NEXT_PUBLIC_* environment variables
It's fine to use NEXT_PUBLIC_* environment variables that are
defined in `.env-dist` and are the same in every environment.
However, since they are inserted at build time, they cannot be
dynamically inserted at runtime, and trying to do so will instead
inject the value they have at build time.
2023-11-13 10:11:27 +01:00
Vincent 61e1dbcbfe Start redirecting new users to the welcome screen
Here, "new users" are defined as those who are in the US, have not
yet run a data broker scan, and did not create their Monitor
account before the release of data broker scanning, as determined
by the date set in the `BROKER_SCAN_RELEASE_DATE` environment
variable.
2023-10-18 17:02:58 +02:00
Florian Zia 01f1f08347
chore: Remove NODE_ENV from .env-dist 2023-10-09 11:44:12 +02:00
Robert Helmer a6d698a808
MNTOR-2243 - pass subscription URLs from server to client components (#3496)
* MNTOR-2243 - pass subscription URLs from server to client components
* Revert "chore(deps): Bump postcss and next"

This reverts commit 452a682769.

---------

Co-authored-by: Florian Zia <zia.florian@gmail.com>
2023-10-04 14:19:02 -07:00
Florian Zia 80bca58206
chore: Set fallback id for GA 2023-09-27 18:48:39 +02:00
Robert Helmer d13c49c7cb
bump max email worker jobs to 10k, split out to env var (#3446)
* bump max email worker jobs to 10k, split out to env var
2023-09-23 20:44:19 -07:00
Florian Zia e5e5f0e2d9
merge: main -> mntor-2045-premium-modal-events 2023-09-22 18:44:44 +02:00
Vincent 8566e8ab7b Stop gating Premium behind an env var
We've got proper feature flags now, but we don't need the gate
anyway (and have been inconsistently applying it so far).
2023-09-22 18:21:45 +02:00
Florian Zia a3e75ecea0
merge: main -> mntor-2045-premium-modal-events 2023-09-22 13:46:30 +02:00
Florian Zia 6607ebd67f
Merge branch 'main' into analytics-wrapper-function 2023-09-22 13:16:13 +02:00
Robert Helmer 0a776d0f6b
chore: change nimbus sidecar URL default port to 8001 (#3438) 2023-09-21 13:26:54 -07:00
Florian Zia 1b2dfbfc73
chore: Add useGtag hook for recording GA events 2023-09-21 21:29:57 +02:00
Robert Helmer c53728f597
MNTOR-2022 - add basic Cirrus integration (#3421)
* MNTOR-2022 - add basic Cirrus integration

* if user is not logged in, use a cookie to store random ID
* use glean from authenticated sessions, and pass user_id correctly
2023-09-20 07:22:30 -07:00
Florian Zia b1fd2cb291
merge: main -> mntor-2045-premium-modal-events 2023-09-20 14:02:49 +02:00
Raphael Okafor Jr 812566b50a
Merge branch 'main' into MNTOR-2069-README 2023-09-19 07:03:20 -04:00
Florian Zia 14bb9bbdf9
Merge branch 'main' into mntor-2045-premium-modal-events 2023-09-14 12:14:05 +02:00
Florian Zia 6dcdaea085
chore: Add Monitor Premium yearly plan 2023-09-14 11:17:55 +02:00
mansaj e060bf4732
Merge branch 'main' into MNTOR-2129 2023-09-13 10:35:30 -07:00
Robert Helmer aba3c277b7
MNTOR-2120 - add GCP_PUBSUB_TOPIC_NAME env var to .env-dist (#3387) 2023-09-12 12:13:53 -07:00
Joey Zhou 0f266617b7 add subscriber quota/count 2023-09-11 13:16:24 -07:00
Robert Helmer d07b8659b9
MNTOR-2120 - re enable breach alerts with pubsub (#3380)
MNTOR-2120 - split HIBP into receiving API and processor using GCP PubSub

* add instructions for using pubsub emulator
* export knex objects so connection pools can be torn down
* move projectId, topicName, and subscriptionName to env vars
2023-09-08 17:02:53 -07:00
Raphael Okafor Jr ddaa746fd9
Merge branch 'main' into MNTOR-2069-README 2023-09-05 15:02:04 -04:00
Florian Zia 396df7f379
chore: Move onerep broker count to env variable 2023-09-05 12:56:06 +02:00
Florian Zia 962145453d
chore: Make premium env variable public 2023-09-04 17:15:52 +02:00
mozrokafor 468e666136 PR feedback, adding link to general readme, syntax updates 2023-08-29 11:03:54 -04:00
Florian Zia 579b0778f8
chore: Remove duplicate FxA settings env url 2023-08-28 13:47:35 +02:00
Florian Zia f62fcf48a5
chore: Add UserMenu layout and types 2023-08-18 18:07:22 +02:00
Robert Helmer d0b29c2046
MNTOR-1859 - expose stats API, starting with scans (#3280)
* MNTOR-1859 - expose stats API, starting with scans

- monthly quota
- current scan count
2023-08-01 21:03:14 -07:00
Vincent bc97f5596b Add env var required for Next-Auth to work
Our README suggests copying `.env-dist` to `.env`, and it contains
other values used for local development. Since this variable is
necessary to be able to sign in, it made sense to add it here.
2023-08-01 20:22:59 +02:00
Robert Helmer da8919b8f3
fix: use NEXT_PUBLC_ prefix for APP_ENV in front-end code (#3253) 2023-07-26 14:03:07 -07:00