Files
gpustack-ui/src/pages
gitlawrandjialin f15d0ab243 fix(cluster-create): hide ProviderCatalog when entering via providerHint
The catalog was gated on ``currentStep === startStep`` so it would
re-appear at step 1 whenever ``providerHint`` skipped the catalog (e.g.
GPU Service's "Add a Kubernetes Cluster" empty-state CTA). Result: the
configure step rendered the catalog *plus* the Name/Description/Advanced
form together, with Kubernetes shown as already selected — confusing
and ugly.

Pin the catalog to step 0 explicitly. ``startStep`` was only used to
seed ``currentStep``, so it's inlined into the ``useState`` initializer
to keep the "skip the catalog when providerHint is set" intent in one
place. Pre-selecting a provider now correctly lands the user straight
on the configure form alone.
2026-05-27 15:53:39 +08:00
..
2025-11-05 10:02:25 +08:00
2025-02-25 14:03:14 +08:00
2026-05-20 11:29:43 +08:00
2026-05-18 15:37:46 +08:00
2026-05-27 15:45:28 +08:00
2026-05-11 19:49:21 +08:00
2026-05-25 13:56:44 +08:00
2025-04-29 18:05:43 +08:00