44015d5451
### TL;DR This pull request adds a loading icon to the 'Deploy' button in the project template creation form. ### What changed? - Imported `LoadingIcon` from `components/shared/CustomIcon`. - Modified the `Button` component to conditionally display the `LoadingIcon` when `isLoading` is `true`. The icon will animate by spinning. ### How to test? 1. Navigate to the project template creation form. 2. Fill in the required fields. 3. Click the 'Deploy' button. 4. Ensure the loading icon appears and spins when the button is disabled (when `isLoading` is `true`). ### Why make this change? This change provides visual feedback to users, indicating that their action is being processed, thereby enhancing user experience. --- |
||
---|---|---|
.. | ||
.storybook | ||
public | ||
src | ||
.env.example | ||
.eslintrc.cjs | ||
.gitignore | ||
.node-version | ||
.prettierignore | ||
.prettierrc.json | ||
chromatic.config.json | ||
index.html | ||
package.json | ||
postcss.config.js | ||
README.md | ||
reload-dev.sh | ||
tailwind.config.js | ||
tsconfig.json | ||
tsconfig.node.json | ||
vite.config.ts |
frontend
This is a vite react nextjs project in a yarn workspace.
Getting Started
Install dependencies
In the root of the project, run:
yarn
Build backend
yarn build --ignore frontend
Environment variables
Local
Copy the .env.example
file to .env
:
cp .env.example .env
Staging environment variables
Change in deployer/deploy-frontend.staging.sh
Production environment variables
Change in deployer/deploy-frontend.sh
Run development server
yarn dev
Deployment
From the root of the project, run:
Staging
cd packages/deployer && ./deploy-frontend.staging.sh
Production
cd packages/deployer && ./deploy-frontend.sh
Deployment status
Check the status of the deployment here