You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1.`ClusterProvider.Kubernetes` is semantically wrong — the only supported local provider is Minikube (Docker driver). The enum value misleads users into thinking any generic Kubernetes cluster is the target.
10
+
2. Selecting OpenShift gives no feedback that it is not yet supported.
11
+
3. The kubeconfig placeholder mentions `kubectl config view --flatten --minify` but it is not copyable — users have to type it manually.
12
+
13
+
## Expected
14
+
15
+
### 1 — ClusterProvider rename
16
+
- Rename enum value `Kubernetes` → `MinikubeDocker`, displayed as `"Minikube (Docker)"` in the Select via `ItemLabelGenerator`.
- Re-add CHECK constraint with new values `('MinikubeDocker', 'OpenShift')`
21
+
- Default value in the dialog Select updated to `ClusterProvider.MinikubeDocker`.
22
+
23
+
### 2 — OpenShift "coming soon"
24
+
- When the user selects `OpenShift` in the provider Select, show an inline warning message below the field: `"OpenShift support is coming in a future release."`.
25
+
- The Save button is disabled while OpenShift is selected.
26
+
- Selecting any other provider hides the warning and re-enables Save.
27
+
28
+
### 3 — Copyable kubectl command
29
+
- Below the kubeconfig TextArea, add a styled code block (dark background) displaying `kubectl config view --flatten --minify`.
30
+
- The block has a copy icon button on the right that copies the command to the clipboard via `UI.getCurrent().getPage().executeJs(...)`.
31
+
- The TextArea placeholder is simplified to reference the block below rather than repeating the command inline.
Copy file name to clipboardExpand all lines: CONTEXT.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -82,7 +82,7 @@ A write operation on a CronJob that pauses new Job creation by patching `spec.su
82
82
_Avoid_: Pause, stop, disable
83
83
84
84
**ClusterProvider**:
85
-
Contextual metadata describing the Kubernetes distribution behind a Cluster (OKD, OpenShift, Kubernetes, Rancher). Does not alter GreenCap's behavior — used for display and identification only.
85
+
Contextual metadata describing the Kubernetes distribution behind a Cluster. Current values: `MinikubeDocker` (displayed as "Minikube (Docker)") and `OpenShift` (planned, not yet supported). Does not alter GreenCap's behavior — used for display and identification only.
Copy file name to clipboardExpand all lines: docs/sprints-archive.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -651,3 +651,9 @@
651
651
-`samples/greencap-demo/cluster-provision.sh`: addon `registry` habilitado junto de `metrics-server`/`ingress`; `create-demo.sh` refatorado — addons (antes espalhados entre os dois scripts) agora centralizados em `cluster-provision.sh`, `create-demo.sh` passa a só aplicar os manifests do demo; `README.md` atualizado
652
652
- Validado ponta a ponta no `greencap-demo`: addon `registry` habilitado, imagens de teste (`greencap-demo/hello` com tags `v1`/`v2`/`latest`, `greencap-demo/backend` com tag `v1`) buildadas e enviadas via port-forward + `docker push`; menu "Container Registry" lista os repositories com contagem de tags e "View Tags" exibe nome/digest/size/created corretamente
### Sprint 69 ✅ — Fix: Container Registry — item ausente na treeview de permissões + ação View Tags na grid
656
+
657
+
-`UserManagementView.buildGlobalGroups()`: novo grupo "Container Registry" (`GLOBAL_REGISTRY_VIEW`) — permission introduzida na sprint 68 que não havia sido exposta na treeview de permissões (GLOBAL), mesmo padrão de grupo único do "Infrastructure"
658
+
-`RegistryView`: ação "View Tags" sai da barra de título (selection action) e passa para uma coluna de ações na própria grid (`UiConstants.addActionsColumn`, botão por linha), mesmo padrão de `JobsView` ("View Pods")
-`ClustersView` grid: coluna Provider usa `displayName()` em vez de `.name()`
91
+
-`ClustersView` dialog: Select usa `ItemLabelGenerator` com `displayName()`; default alterado para `MinikubeDocker`; ao selecionar OpenShift, exibe aviso inline `"OpenShift support is coming in a future release."` e desabilita o botão Save; code block escuro com `kubectl config view --flatten --minify` e botão de cópia via `navigator.clipboard.writeText`
92
+
-`CONTEXT.md`: entrada `ClusterProvider` atualizada com os valores reais (`MinikubeDocker`, `OpenShift`)
### Sprint 79 ✅ — UX: padronização de header em ClustersView e UserManagementView
87
96
88
97
-`ClustersView`: `buildToolbar()` com `H2` removido; substituído por `UiConstants.buildSectionHeader` com H3 + botão "Add Cluster" (`LUMO_PRIMARY + LUMO_SMALL`) como extra leading button; ações "Test Connection" (`VaadinIcon.CONNECT`) e "Remove" (`VaadinIcon.TRASH`, destrutivo) movidas para `SelectionAction` no header (habilitadas pela seleção de linha); coluna de ações inline removida do grid; `GridSelectionMemory` injetado com `configureSingleSelection`; `refreshGrid()` retorna `boolean` para uso como `BooleanSupplier`; imports `H2` e `HorizontalLayout` removidos
@@ -176,12 +185,6 @@
176
185
-`MainLayout`: default do field `currentRefreshInterval` e fallback em `onAttach()` passam de `NONE` para `THREE_SECONDS` — auto-refresh a 3s ativo desde o login para quem nunca configurou; usuários que já salvaram explicitamente "No auto refresh" (0) ou outro valor continuam inalterados; aplicado uniformemente a todas as views `Refreshable`, sem migration Flyway (mesmo padrão do fallback de tema `"DARK"`)
### Sprint 69 ✅ — Fix: Container Registry — item ausente na treeview de permissões + ação View Tags na grid
180
-
181
-
-`UserManagementView.buildGlobalGroups()`: novo grupo "Container Registry" (`GLOBAL_REGISTRY_VIEW`) — permission introduzida na sprint 68 que não havia sido exposta na treeview de permissões (GLOBAL), mesmo padrão de grupo único do "Infrastructure"
182
-
-`RegistryView`: ação "View Tags" sai da barra de título (selection action) e passa para uma coluna de ações na própria grid (`UiConstants.addActionsColumn`, botão por linha), mesmo padrão de `JobsView` ("View Pods")
0 commit comments