[Customer Portal Micro App] Add Project Selection View#5
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the ✨ Finishing touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
| @@ -0,0 +1 @@ | |||
| VITE_BACKEND_URL=https://example.com/api No newline at end of file | |||
There was a problem hiding this comment.
| VITE_BACKEND_URL=https://example.com/api | |
| VITE_BACKEND_URL=https://example.com/api | |
| # config.js | ||
| /public/config.js | ||
|
|
||
| .env No newline at end of file |
| import { Topic } from "./types"; | ||
| import type { LogLevel, TopicType } from "./types"; |
There was a problem hiding this comment.
Let's use path aliases for consistency
| import { getToken } from "@components/microapp-bridge"; | ||
| import { LocalStorageKeys } from "@utils/constants"; | ||
| import { Logger } from "@utils/logger"; | ||
| import { useUserStore, type User } from "../store/user"; |
| "react-router-dom": "^7.9.1", | ||
| "vite-plugin-svgr": "^4.5.0", | ||
| "vite-tsconfig-paths": "^5.1.4", | ||
| "zustand": "^5.0.9" |
There was a problem hiding this comment.
As discussed let's use Context API for state management
Overview
This PR introduces the Project Selection screen, which allows users to choose between different environments (e.g., Dreamwork Inc., Newsline Enterprise) to access specific support cases, chats, and dashboards. Additionally, it establishes several core architectural components for the customer portal.