Repository navigation
Create instance from existing boot disk - #2076
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
Ugh, thought I fixed the flash for good. Will look at it. |
This appears to be fixed now |
charliepark
left a comment
There was a problem hiding this comment.
This looks good; sorry for the delayed approval. Was running into issues that stemmed from me not restarting vite, but this is solid.
| // default to the project images tab if there are only project images | ||
| defaultValue={ | ||
| projectImages.length > 0 && siloImages.length === 0 ? 'project' : 'silo' | ||
| siloImages.length > 0 ? 'silo' : projectImages.length > 0 ? 'project' : 'disk' |
|
|
||
| const useBootDiskItems = (projectSelector: PP.Project) => { | ||
| const { data: disks } = useApiQuery('diskList', { | ||
| query: { ...projectSelector, limit: 1000 }, |
There was a problem hiding this comment.
Tested this with 500 disks in the response and it doesn't seem to get bogged down at all. Obvious candidate for a combobox.
fbd991f to
6a9b374
Compare
|
Great, copy changes look good to me |
|
I have a few fixes in #2097 that I'm close to merging here |
#2097) * Fix issue with sourceType collision on project vs silo images and disks * refactor * Refactoring, and updating types * Maintain state of fields across tab navigation (#2100) * Simplify test; make it work for Safari * Clean up and add comments * verify in test that correct image used * clean up comment
david-crespo
left a comment
There was a problem hiding this comment.
Great work @benjaminleonard and @charliepark
oxidecomputer/console@156c082...b22ca1d * [b22ca1dc](oxidecomputer/console@b22ca1dc) add loop comment to scp-assets * [99173b92](oxidecomputer/console@99173b92) bump omicron script: automatically run gh run watch when assets aren't ready * [2cfc8ee7](oxidecomputer/console@2cfc8ee7) oxidecomputer/console#2076 * [11411bb8](oxidecomputer/console@11411bb8) oxidecomputer/console#2121 * [1f8b25d7](oxidecomputer/console@1f8b25d7) oxidecomputer/console#2119 * [95f2e49e](oxidecomputer/console@95f2e49e) oxidecomputer/console#2108 * [8e3a2005](oxidecomputer/console@8e3a2005) oxidecomputer/console#2116 * [bf592a31](oxidecomputer/console@bf592a31) oxidecomputer/console#2105 * [b63c81ea](oxidecomputer/console@b63c81ea) oxidecomputer/console#2115 * [d5d70bd7](oxidecomputer/console@d5d70bd7) oxidecomputer/console#2113 * [1954709e](oxidecomputer/console@1954709e) oxidecomputer/console#2112 * [4db8d830](oxidecomputer/console@4db8d830) oxidecomputer/console#2111 * [9485ca23](oxidecomputer/console@9485ca23) Revert "Revert "Change all uses of RHF `<Controller>` to `useController` (oxidecomputer/console#2102)""
oxidecomputer/console@156c082...b22ca1d * [b22ca1dc](oxidecomputer/console@b22ca1dc) add loop comment to scp-assets * [99173b92](oxidecomputer/console@99173b92) bump omicron script: automatically run gh run watch when assets aren't ready * [2cfc8ee7](oxidecomputer/console@2cfc8ee7) oxidecomputer/console#2076 * [11411bb8](oxidecomputer/console@11411bb8) oxidecomputer/console#2121 * [1f8b25d7](oxidecomputer/console@1f8b25d7) oxidecomputer/console#2119 * [95f2e49e](oxidecomputer/console@95f2e49e) oxidecomputer/console#2108 * [8e3a2005](oxidecomputer/console@8e3a2005) oxidecomputer/console#2116 * [bf592a31](oxidecomputer/console@bf592a31) oxidecomputer/console#2105 * [b63c81ea](oxidecomputer/console@b63c81ea) oxidecomputer/console#2115 * [d5d70bd7](oxidecomputer/console@d5d70bd7) oxidecomputer/console#2113 * [1954709e](oxidecomputer/console@1954709e) oxidecomputer/console#2112 * [4db8d830](oxidecomputer/console@4db8d830) oxidecomputer/console#2111 * [9485ca23](oxidecomputer/console@9485ca23) Revert "Revert "Change all uses of RHF `<Controller>` to `useController` (oxidecomputer/console#2102)""

Fixes #1060
This exacerbates the confusion with #2075 – where it is unclear what happens to the selected value when a user switches tabs. That doesn't necessarily need to be a blocker for this, would prefer to think through a design solution first.
Also seeing a flash from the navigation blocker after submission. Unsure if that's something I introduced with this PR by accident.