-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(hub): add more options to create actor form #1944
Conversation
Deploying rivet-hub with Cloudflare Pages
|
How to use the Graphite Merge QueueAdd the label merge-queue to this PR to add it to the merge queue. You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
Deploying rivet with Cloudflare Pages
|
c282e9f
to
cc63118
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR Summary
This PR enhances the actor creation form by adding region selection, tags, and parameter configuration options, moving away from default-only settings.
- Added
RegionSelect
component in/frontend/apps/hub/src/domains/project/components/region-select.tsx
for region selection via Combobox with search functionality - Implemented JSON parameter validation and input in
actor-create-form.tsx
for configuring actor parameters - Added tag management system in
build-tags-form.tsx
with key-value validation ensuring unique keys - Modified
useCreateActorFromSdkMutation
inmutations.ts
to handle new region and parameter options - Reduced actor builds refetch interval from 5000ms to 2000ms in
query-options.ts
for more frequent updates
8 file(s) reviewed, 7 comment(s)
Edit PR Review Bot Settings | Greptile
frontend/apps/hub/src/domains/project/components/dialogs/create-actor-dialog.tsx
Show resolved
Hide resolved
frontend/apps/hub/src/domains/project/components/region-select.tsx
Outdated
Show resolved
Hide resolved
}: { | ||
projectNameId: string; | ||
environmentNameId: string; | ||
buildId: string; | ||
region: string; | ||
parameters: unknown; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
style: parameters type should be more specific than 'unknown' to ensure type safety
...es/_authenticated/_layout/projects/$projectNameId/environments/$environmentNameId/actors.tsx
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR Summary
(updates since last review)
No major changes found since last review. The previous review comprehensively covered the key changes including the addition of region selection, parameter configuration, tag management, and mutation handling. The files shown in this review are the same as those previously analyzed, with no significant new modifications to highlight.
No file(s) reviewed, no comment(s)
Edit PR Review Bot Settings | Greptile
cc63118
to
ac2e9de
Compare
Merge activity
|
Closes FRONT-605 <!-- Please make sure there is an issue that this PR is correlated to. --> ## Changes ![image](https://github.com/user-attachments/assets/749eb6b9-5be3-4bdd-b339-12bb540e2b0d) <!-- If there are frontend changes, please include screenshots. -->
Closes FRONT-605
Changes