Commit Graph

768 Commits

Author SHA1 Message Date
IshaVenikar
430d9dcca9 Display bids in auction details 2024-10-15 18:20:11 +05:30
IshaVenikar
b16e0a951c Update auction card UI 2024-10-15 18:20:11 +05:30
IshaVenikar
dd2fcff6ee Display auction details in overview page 2024-10-15 18:20:11 +05:30
IshaVenikar
0341e41c63 Update deployments only if valid request Id exists 2024-10-15 18:20:11 +05:30
IshaVenikar
9ede75a5a2 test 2024-10-15 18:20:11 +05:30
IshaVenikar
38acf81a9d Display auction details in Overview tab 2024-10-15 18:20:11 +05:30
IshaVenikar
8163ea5dc0 Pass auction Id in DNS deployment 2024-10-15 18:20:11 +05:30
IshaVenikar
a7e3936d7f Pass auction id in deployment requests 2024-10-15 18:20:11 +05:30
IshaVenikar
f445d0b956 Store deployer lrn for each deployment 2024-10-15 18:20:11 +05:30
IshaVenikar
1dc8dcabb1 Update UI for configure deployment step 2024-10-15 18:20:11 +05:30
IshaVenikar
1374a28fe6 Check request Id for updating deployment data 2024-10-15 18:20:11 +05:30
IshaVenikar
8ae1aec468 Navigate to success page after auction creation 2024-10-15 18:20:11 +05:30
IshaVenikar
ee2c8d098a Display loader for deploy button 2024-10-15 18:20:11 +05:30
IshaVenikar
34cf551cba Fix deployer LRN field in project 2024-10-15 18:20:11 +05:30
IshaVenikar
cedad71c44 Check for auction if deployment request id is not present 2024-10-15 18:20:11 +05:30
IshaVenikar
2a011a99cd Pass auction data when adding project 2024-10-15 18:20:11 +05:30
IshaVenikar
9ca43c4b00 Create deployments after auction creation 2024-10-15 18:20:11 +05:30
IshaVenikar
f1e758f25d Check for auction status in a loop 2024-10-15 18:20:11 +05:30
IshaVenikar
5bba3c7f5c Add method deployment requests after auction completion 2024-10-15 18:20:11 +05:30
IshaVenikar
5bde36228d Set gas price in Registry instantiation 2024-10-15 18:20:11 +05:30
IshaVenikar
ede9cd44b4 Implement UI to add configure deployment step 2024-10-15 18:20:11 +05:30
IshaVenikar
f49c2af8e4 Update methods in gql client 2024-10-15 18:20:11 +05:30
IshaVenikar
c7bc4295ab Update schema and resolver functions 2024-10-15 18:20:11 +05:30
IshaVenikar
e5d9278b00 Take auction params from config 2024-10-15 18:20:11 +05:30
IshaVenikar
da3ecde4a1 Add back-end function to create deployment with auction 2024-10-15 18:20:11 +05:30
IshaVenikar
0466632426 Update registry-sdk version
Some checks failed
Lint / lint (20.x) (pull_request) Failing after 20s
2024-10-07 18:23:53 +05:30
IshaVenikar
24f64466d3 Use util method from registry-sdk 2024-10-03 16:50:47 +05:30
IshaVenikar
02faaf74d1 Update yarn lock file 2024-10-03 16:26:53 +05:30
IshaVenikar
984c679988 Use method to parse gas and fees from registry-sdk 2024-10-03 16:14:08 +05:30
IshaVenikar
4813bdaa4d Changes to upgrade registry-sdk 2024-10-03 11:34:08 +05:30
Gilbert
e5a00016c1
Merge pull request #234 from snowball-tools/ng-deployment-test
Some checks failed
Lint / lint (20.x) (push) Failing after 20s
Test webapp deployment / test_app_deployment (20.x) (push) Failing after 19s
Increase retry interval for checking deployment URL in CI test
2024-09-18 23:21:33 -05:00
13b912d318 Increase retry interval for checking deployment URL 2024-08-23 11:09:12 +05:30
059863c4b9
Merge pull request #233 from snowball-tools/dboreham-frontend-deploy-from-gh
Deploy frontend directly from github repo
2024-07-05 09:42:05 -06:00
58906844cc Deploy directly from github repo 2024-07-05 09:36:05 -06:00
Vivian Phung
9f0a2ad548
space 2024-07-03 12:41:39 -04:00
Vivian Phung
bd10e2cb35
fix: version temp 2024-06-25 01:34:21 -04:00
Vivian Phung
eb32385cf3
revert fix 2024-06-25 01:14:08 -04:00
Vivian Phung
aebb20b987
update README.md debugging deployer 2024-06-25 01:08:38 -04:00
Vivian Phung
8a2b51952f
fix: temp frontend (#230)
* v.0.0.9 staging

* fix: temp frontend deployment bug
2024-06-25 01:04:03 -04:00
Vivian Phung
94f46f9621
v.0.0.9 staging (#229) 2024-06-24 19:52:51 -04:00
Vivian Phung
e751addcce
Update local.toml.example in packages/backend (#228)
### TL;DR

Added new keys for Google and Turnkey integration in `local.toml.example`

### What changed?

- Updated server session secret to empty string
- Added placeholders for google clientId and clientSecret
- Added placeholders for Turnkey API integration (apiBaseUrl, apiPrivateKey, apiPublicKey, defaultOrganizationId)

### How to test?

1. Pull the latest changes
2. Update `local.toml.example` file with actual values.
3. Run the application locally and ensure all services are working correctly.

### Why make this change?

To integrate new services (Google and Turnkey) into the project setup.

---
2024-06-24 19:42:33 -04:00
Vivian Phung
c01f8fdabf
Refactor: components/shared (#227)
### TL;DR

This pull request consolidates all shared component exports into a new `index.ts` file within the `components/shared` directory. The purpose is to streamline and centralize the exports of shared components for improved maintainability.

### What changed?

- Created a new `index.ts` file in the `components/shared` directory that exports all shared components.
- Updated import statements to use the new centralized `index.ts` file instead of individual component files.

### How to test?

1. Run the frontend application.
2. Navigate through the application to ensure all shared components render correctly without console errors.

### Why make this change?

The motivation behind this change is to organize exports of shared components in a single file. This enhances code maintainability and simplifies the process of importing shared components across the project.

---
2024-06-24 19:36:08 -04:00
Vivian Phung
2b60114dab
refactor: use onToast remove react-hot-toast dep (#226)
### TL;DR

Removed the dependency on `react-hot-toast` in favor of a custom implementation for toast notifications.

### What changed?

1. Removed `react-hot-toast` from `package.json` and `yarn.lock`. 
2. Updated `EnvironmentVariables` and `Config` to use the custom toast notification system.

### Why make this change?

To reduce bundle size and have more control over the toast notification system.

### How to test?

1. Navigate to the Environment Variables settings for a project. Try adding and removing environment variables to see the new toast notifications in action.
2. Navigate to the Domains settings for a project and try adding a new domain to view the custom toast notifications.

---
2024-06-24 19:25:31 -04:00
Vivian Phung
9a1c0e8338
feat(domains): DomainCard and WebhookCard styling start (#225)
### TL;DR

Refactored the `DomainCard`, `EditDomainDialog`, and `WebhookCard` components to improve code readability and enhance UI using new shared components like `Tag`, `Heading`, `Button`, and `CustomIcon`.

### What changed?

- `DomainCard` component:
  - Replaced `Chip` with `Tag` component.
  - Used `Heading`, `Button`, and `CustomIcon` components.
  - Updated refresh icon to show `LoadingIcon` when checking.
- `EditDomainDialog` component:
  - Used `useToast` hook for toast messages.
- `WebhookCard` component:
  - Used `Input`, `Button`, and `CustomIcon` components for better UI.
- Added Storybook stories for the updated components.

### How to test?

1. Go to the project settings page.
2. Verify the `DomainCard` UI updates.
3. Edit a domain and check the toasts.
4. Verify the `WebhookCard` UI and functionality.
5. Run Storybook and inspect the added stories for the components.

### Why make this change?

To improve the consistency and user experience of the project settings UI, and to make the components more maintainable by using shared components.

---
2024-06-24 19:22:20 -04:00
Vivian Phung
1b038476c7
feat: Settings screen for org (#224)
This update introduces a new header section within the `Settings` page. It incorporates a `Heading` component from the shared components library, ensuring consistent styling and structure across the app. The `Settings` page layout now features appropriate padding and flexbox for better alignment and spacing.

---
2024-06-24 18:57:38 -04:00
Vivian Phung
4a78eb13f6
fix: ProjectSearchBarDialog (search small screen) Suggestions once (#223)
Refactor the rendering logic of the suggestion list in `ProjectSearchBarDialog` component. This change simplifies the conditional rendering by restructuring the JSX to be more readable and maintainable. Now, the 'Suggestions' label is rendered once if there are items, and the items are mapped afterward.

---
2024-06-24 18:54:32 -04:00
Vivian Phung
41bcb2e7d0
fix: ProjectSearchBarDialog suppressRefError (#222)
This PR resolves issues with the Project Search Bar component where `getMenuProps` was causing reference errors. By adding `suppressRefError: true` to `getMenuProps` in both `ProjectSearchBar` and `ProjectSearchBarDialog`, the warnings are suppressed.

---
2024-06-24 18:51:31 -04:00
Vivian Phung
f981f1a3f6
fix(ProjectSearchBarDialog): getMenuProps error (#221)
- Replaced `useDebounce` with `useDebounceValue` for better type inference and simplicity
- Added `getMenuProps` to `useCombobox` to support better accessibility and usability
- Minor style tweak to improve `ProjectSearch` header hover effect
- Created Storybook stories for the `ProjectSearchBar` component

---
2024-06-24 18:48:32 -04:00
Vivian Phung
dee84f18cb
feat: dynamic project success page and update links (#220)
### TL;DR

Integrates project data fetching for dynamic subdomain display on the Project Deployment Success page and the OverviewTabPanel.

### What changed?

- Updated `Id.tsx` to fetch project data and dynamically display project's subdomain after deployment.
- Modified `Overview.tsx` to make project's subdomain a clickable link.

### How to test?

1. Deploy a new project and check the deployment success page for correct subdomain display.
2. Open a project's overview tab and click the subdomain link to ensure it navigates correctly.

### Why make this change?

Improves user experience by displaying the actual subdomain and making it clickable, ensuring users can conveniently verify their deployment and access project domain.

---
2024-06-24 18:44:34 -04:00
Vivian Phung
44015d5451
feat(ui): loading spinner on project creation (#219)
### 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.

---
2024-06-24 18:41:31 -04:00