-
-
-
- {{ "checkYourEmail" | i18n }}
-
-
{{ "followTheLinkInTheEmailSentTo" | i18n }}
{{ email.value }}
diff --git a/libs/auth/src/angular/registration/registration-start/registration-start.component.ts b/libs/auth/src/angular/registration/registration-start/registration-start.component.ts
index 141bff11525..258f811ec8b 100644
--- a/libs/auth/src/angular/registration/registration-start/registration-start.component.ts
+++ b/libs/auth/src/angular/registration/registration-start/registration-start.component.ts
@@ -18,6 +18,8 @@ import {
LinkModule,
} from "@bitwarden/components";
+import { AnonLayoutWrapperDataService } from "../../anon-layout/anon-layout-wrapper-data.service";
+import { RegistrationUserAddIcon } from "../../icons";
import { RegistrationCheckEmailIcon } from "../../icons/registration-check-email.icon";
import { RegistrationEnvSelectorComponent } from "../registration-env-selector/registration-env-selector.component";
@@ -54,7 +56,6 @@ export class RegistrationStartComponent implements OnInit, OnDestroy {
state: RegistrationStartState = RegistrationStartState.USER_DATA_ENTRY;
RegistrationStartState = RegistrationStartState;
- readonly Icons = { RegistrationCheckEmailIcon };
isSelfHost = false;
@@ -88,6 +89,7 @@ export class RegistrationStartComponent implements OnInit, OnDestroy {
private platformUtilsService: PlatformUtilsService,
private accountApiService: AccountApiService,
private router: Router,
+ private anonLayoutWrapperDataService: AnonLayoutWrapperDataService,
) {
this.isSelfHost = platformUtilsService.isSelfHost();
}
@@ -148,6 +150,12 @@ export class RegistrationStartComponent implements OnInit, OnDestroy {
// Result is null, so email verification is required
this.state = RegistrationStartState.CHECK_EMAIL;
+ this.anonLayoutWrapperDataService.setAnonLayoutWrapperData({
+ pageTitle: {
+ key: "checkYourEmail",
+ },
+ pageIcon: RegistrationCheckEmailIcon,
+ });
this.registrationStartStateChange.emit(this.state);
};
@@ -171,6 +179,12 @@ export class RegistrationStartComponent implements OnInit, OnDestroy {
goBack() {
this.state = RegistrationStartState.USER_DATA_ENTRY;
+ this.anonLayoutWrapperDataService.setAnonLayoutWrapperData({
+ pageIcon: RegistrationUserAddIcon,
+ pageTitle: {
+ key: "createAccount",
+ },
+ });
this.registrationStartStateChange.emit(this.state);
}
diff --git a/libs/auth/src/angular/registration/registration-start/registration-start.stories.ts b/libs/auth/src/angular/registration/registration-start/registration-start.stories.ts
index e4d016de49b..f7f6185280a 100644
--- a/libs/auth/src/angular/registration/registration-start/registration-start.stories.ts
+++ b/libs/auth/src/angular/registration/registration-start/registration-start.stories.ts
@@ -30,6 +30,8 @@ import {
// FIXME: remove `/apps` import from `/libs`
// eslint-disable-next-line import/no-restricted-paths
import { PreloadedEnglishI18nModule } from "../../../../../../apps/web/src/app/core/tests";
+import { AnonLayoutWrapperDataService } from "../../anon-layout/anon-layout-wrapper-data.service";
+import { AnonLayoutWrapperData } from "../../anon-layout/anon-layout-wrapper.component";
import { RegistrationStartComponent } from "./registration-start.component";
@@ -88,6 +90,14 @@ const decorators = (options: {
getClientType: () => options.clientType || ClientType.Web,
} as Partial,
},
+ {
+ provide: AnonLayoutWrapperDataService,
+ useValue: {
+ setAnonLayoutWrapperData: (data: AnonLayoutWrapperData) => {
+ return;
+ },
+ } as Partial,
+ },
{
provide: ToastService,
useValue: {
From 80e6b1afd1907c45fdcb019d06b88d93f61db322 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Micha=C5=82=20Ch=C4=99ci=C5=84ski?=
Date: Thu, 17 Oct 2024 11:32:08 +0200
Subject: [PATCH 11/24] [BRE-101] Remove dept-devops from CODEOWNERS (#9564)
* BRE-101: Remove dept-devops from CODEOWNERS
* Fix
* Update codeowners
---
.github/CODEOWNERS | 33 ++++++++++++++++++++++++---------
1 file changed, 24 insertions(+), 9 deletions(-)
diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS
index 7a7bb31ea54..ad802d791e8 100644
--- a/.github/CODEOWNERS
+++ b/.github/CODEOWNERS
@@ -114,18 +114,33 @@ apps/desktop/destkop_native/core/src/biometric/ @bitwarden/team-key-management-d
apps/desktop/src/services/native-messaging.service.ts @bitwarden/team-key-management-dev
apps/browser/src/background/nativeMessaging.background.ts @bitwarden/team-key-management-dev
-## DevOps team files ##
-/.github/workflows @bitwarden/dept-devops
-
-# DevOps for Docker changes.
-**/Dockerfile @bitwarden/dept-devops
-**/*.Dockerfile @bitwarden/dept-devops
-**/.dockerignore @bitwarden/dept-devops
-**/entrypoint.sh @bitwarden/dept-devops
-
## Locales ##
apps/browser/src/_locales/en/messages.json
apps/browser/store/locales/en
apps/cli/src/locales/en/messages.json
apps/desktop/src/locales/en/messages.json
apps/web/src/locales/en/messages.json
+
+## BRE team owns these workflows ##
+.github/workflows/brew-bump-desktop.yml @bitwarden/dept-bre
+.github/workflows/deploy-web.yml @bitwarden/dept-bre
+.github/workflows/publish-cli.yml @bitwarden/dept-bre
+.github/workflows/publish-desktop.yml @bitwarden/dept-bre
+.github/workflows/publish-web.yml @bitwarden/dept-bre
+.github/workflows/retrieve-current-desktop-rollout.yml @bitwarden/dept-bre
+.github/workflows/staged-rollout-desktop.yml @bitwarden/dept-bre
+
+## Shared ownership workflows ##
+.github/workflows/release-browser.yml
+.github/workflows/release-cli.yml
+.github/workflows/release-desktop-beta.yml
+.github/workflows/release-desktop.yml
+.github/workflows/release-web.yml
+.github/workflows/version-auto-bump.yml
+.github/workflows/version-bump.yml
+
+## Docker files have shared ownership ##
+**/Dockerfile
+**/*.Dockerfile
+**/.dockerignore
+**/entrypoint.sh
From 073ee4739b0844c9558be7dc45f202bb3bd0a850 Mon Sep 17 00:00:00 2001
From: Addison Beck
Date: Thu, 17 Oct 2024 06:34:34 -0400
Subject: [PATCH 12/24] Split `Organization.LimitCollectionCreationDeletion`
into two separate business rules (#11223)
* Declare feature flag
* Introduce new model properties
* Reference feature toggle in template
* Fix bugs caught during manual testing
---
.../settings/account.component.html | 28 ++++++--
.../settings/account.component.ts | 69 +++++++++++++++----
apps/web/src/locales/en/messages.json | 6 ++
.../collections/models/collection.view.ts | 2 +-
.../models/data/organization.data.spec.ts | 3 +
.../models/data/organization.data.ts | 6 ++
.../models/domain/organization.ts | 11 ++-
...on-collection-management-update.request.ts | 3 +
.../models/response/organization.response.ts | 6 ++
.../response/profile-organization.response.ts | 6 ++
.../services/key-connector.service.spec.ts | 3 +-
libs/common/src/enums/feature-flag.enum.ts | 2 +
12 files changed, 120 insertions(+), 25 deletions(-)
diff --git a/apps/web/src/app/admin-console/organizations/settings/account.component.html b/apps/web/src/app/admin-console/organizations/settings/account.component.html
index e4d3ee7de95..d1a1a091929 100644
--- a/apps/web/src/app/admin-console/organizations/settings/account.component.html
+++ b/apps/web/src/app/admin-console/organizations/settings/account.component.html
@@ -52,7 +52,11 @@