π₯π₯π₯ Open-source Jira, Linear, Monday, and ClickUp alternative. Plane is a modern project management platform to manage tasks, sprints, docs, and triage.
TypeScript boardsbug-trackerdjangodockerganttissue-trackerjirajira-alternativekanbanlinearpostgresqlproduct-managementproject-managementproject-planningpythonreactredistypesciptvitework-management
[WEB-1467] chore: run the API's required to bootstrap the application in parallel. (#4642)
Prateek Shouryab016e1d1b554
diff --git a/web/store/user/index.ts b/web/store/user/index.tsindex f22507a121..82839805ef 100644--- a/web/store/user/index.ts+++ b/web/store/user/index.ts@@ -97,9 +97,11 @@ export class UserStore implements IUserStore {});const user = await this.userService.currentUser();if (user && user?.id) {- await this.userProfile.fetchUserProfile();- await this.userSettings.fetchCurrentUserSettings();- await this.store.workspaceRoot.fetchWorkspaces();+ await Promise.all([+ this.userProfile.fetchUserProfile(),+ this.userSettings.fetchCurrentUserSettings(),+ this.store.workspaceRoot.fetchWorkspaces(),+ ]);runInAction(() => {this.data = user;this.isLoading = false;diff --git a/web/store/user/profile.store.ts b/web/store/user/profile.store.tsindex 606cbe6bfa..b5bdb8912a 100644--- a/web/store/user/profile.store.ts+++ b/web/store/user/profile.store.ts@@ -104,6 +104,7 @@ export class ProfileStore implements IUserProfileStore {message: "Failed to fetch user profile",};});+ throw error;}};diff --git a/web/store/user/settings.store.ts b/web/store/user/settings.store.tsindex 2a2675c9f0..970c2faf89 100644--- a/web/store/user/settings.store.ts+++ b/web/store/user/settings.store.ts@@ -73,6 +73,7 @@ export class UserSettingsStore implements IUserSettingsStore {message: "Failed to fetch user settings",};});+ throw error;}};}