Commit Graph

137 Commits

Author SHA1 Message Date
DominikKawka 607ab7419b prettier check
Signed-off-by: DominikKawka <dkawka@redhat.com>
2025-07-10 15:29:12 +01:00
DominikKawka 41792d9dac replaced inline styling with PF utility classes
Signed-off-by: DominikKawka <dkawka@redhat.com>
2025-07-10 15:20:35 +01:00
DominikKawka 6cb8ca87d3 Merge branch 'notebooks-v2' into workspaceKindSummary 2025-07-10 15:07:20 +01:00
Jenny 023f84b3a3
chore(ws): Add support for PF utility classes (#476)
Signed-off-by: Jenny <32821331+jenny-s51@users.noreply.github.com>

chore(ws): Add support for PF utility classes
2025-07-10 13:46:53 +00:00
Jenny e76308aee3
fix(ws): Improve workspace form drawer details and wizard flow (#467)
Signed-off-by: Jenny <32821331+jenny-s51@users.noreply.github.com>

move formatLabel to separate util

add title, divider, and fix wizard buttons to align with PF design guidelines

Signed-off-by: Jenny <32821331+jenny-s51@users.noreply.github.com>

prevent wizard button from active state when no selection

Signed-off-by: Jenny <32821331+jenny-s51@users.noreply.github.com>

rebase

Signed-off-by: Jenny <32821331+jenny-s51@users.noreply.github.com>

handle standard infra resource types
2025-07-09 11:20:51 +00:00
Paulo Rego 768000ed68
chore(ws): upgrade deprecated rimraf transitive dependency (#474)
Signed-off-by: paulovmr <832830+paulovmr@users.noreply.github.com>
2025-07-09 11:16:51 +00:00
DominikKawka 2e8362752d frontend build and test fix
Signed-off-by: DominikKawka <dkawka@redhat.com>
2025-07-08 15:40:55 +01:00
DominikKawka f766f767bc Workspace Kinds Summary:UX Enchancements
Signed-off-by: DominikKawka <dkawka@redhat.com>
2025-07-08 14:55:16 +01:00
Jenny 526ef9dd58
fix(ws): Updates to Table Columns, Expandable Rows, and Theming (#432)
Signed-off-by: Jenny <32821331+jenny-s51@users.noreply.github.com>

add icon to workspaceKindsColumns interface

fix(ws): Update table with expandable variant and fix styles

fix secondary border in menu toggle

fix menu toggle expanded text color and update icon to use status prop

remove unused files

add cluster storage description list group

Signed-off-by: Jenny <32821331+jenny-s51@users.noreply.github.com>

Add title and packages

revert form label styling, revert homeVol column

fix linting

fix lint

Signed-off-by: Jenny <32821331+jenny-s51@users.noreply.github.com>

Add PR code suggestions, remove unused interfaces

Signed-off-by: Jenny <32821331+jenny-s51@users.noreply.github.com>

remove unused import

Signed-off-by: Jenny <32821331+jenny-s51@users.noreply.github.com>

fix filterWorkspacesTest

Signed-off-by: Jenny <32821331+jenny-s51@users.noreply.github.com>

fix(ws): apply feedback to fix Cypress tests

Signed-off-by: Jenny <32821331+jenny-s51@users.noreply.github.com>

Update tests, add width to defineDataFields, remove duplicate WorkspaceTableColumnKeys type

Signed-off-by: Jenny <32821331+jenny-s51@users.noreply.github.com>

fix wrapping behavior

Signed-off-by: Jenny <32821331+jenny-s51@users.noreply.github.com>

Replace Th values with mapped instance

Signed-off-by: Jenny <32821331+jenny-s51@users.noreply.github.com>

revert column order

Signed-off-by: Jenny <32821331+jenny-s51@users.noreply.github.com>

remove hardcoded package label instances

Signed-off-by: Jenny <32821331+jenny-s51@users.noreply.github.com>

delete cursor rule
2025-07-07 19:09:50 +00:00
Paulo Rego 1916b95399
chore(ws): added prettier to test and test:fix scripts (#470)
Signed-off-by: paulovmr <832830+paulovmr@users.noreply.github.com>
2025-07-07 11:17:22 +00:00
Paulo Rego 825ed0e266
chore(ws): added cspell to enforce spelling check (#469)
Signed-off-by: paulovmr <832830+paulovmr@users.noreply.github.com>
2025-07-07 11:15:22 +00:00
Guilherme Caponetto cbedbfff58
feat(ws): prepare frontend for validation errors during WorkspaceKind creation (#471)
* feat(ws): prepare frontend for validation errors during WorkspaceKind creation

Signed-off-by: Guilherme Caponetto <638737+caponetto@users.noreply.github.com>

* feat(ws): extract validation alert to its own component

Signed-off-by: Guilherme Caponetto <638737+caponetto@users.noreply.github.com>

* fix(ws): use error icon for helper text

Signed-off-by: Guilherme Caponetto <638737+caponetto@users.noreply.github.com>

---------

Signed-off-by: Guilherme Caponetto <638737+caponetto@users.noreply.github.com>
2025-07-07 11:14:21 +00:00
asaadbalum d38b24c76c
feat(ws): backend api to create wsk with YAML (#434)
* feat(ws): Notebooks 2.0 // Backend // API that allows frontend to upload a YAML file containing a full new WorkspaceKind definition

Signed-off-by: Asaad Balum <asaad.balum@gmail.com>

* mathew: 1

Signed-off-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com>

---------

Signed-off-by: Asaad Balum <asaad.balum@gmail.com>
Signed-off-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com>
Co-authored-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com>
2025-07-06 06:57:21 +00:00
Dominik Kawka f90ee781ac
fix: removed blank space on left of dropdown options (#329)
Signed-off-by: DominikKawka <dkawka@redhat.com>
2025-07-04 14:40:19 +00:00
Charles Thao e3a9c747d1
feat: workspace kind Edit Pod Configs (#425)
* Add Pod Config to WorkspaceKind form

Signed-off-by: Charles Thao <cthao@redhat.com>

* Add resource section for PodConfig

Signed-off-by: Charles Thao <cthao@redhat.com>

* Use refactored types

Signed-off-by: Charles Thao <cthao@redhat.com>

* Improve Resource input

Signed-off-by: Charles Thao <cthao@redhat.com>

* Move form view to edit mode only

Signed-off-by: Charles Thao <cthao@redhat.com>

* Bug fix and improvements

Signed-off-by: Charles Thao <cthao@redhat.com>

---------

Signed-off-by: Charles Thao <cthao@redhat.com>
2025-07-04 14:38:20 +00:00
Jenny 063d533979
fix(ws): Improve Workspace Creation Wizard Step Descriptions (#452)
Signed-off-by: Jenny <32821331+jenny-s51@users.noreply.github.com>

Changes to step descriptions based on feedback
2025-07-04 14:36:19 +00:00
Charles Thao 981527855a
feat(ws): Make Create Workspace Kind button visible (#466)
Signed-off-by: Charles Thao <cthao@redhat.com>
2025-07-02 20:45:18 +00:00
Charles Thao ca8e94c5c1
feat: refactor Form View to Edit only (#451)
Signed-off-by: Charles Thao <cthao@redhat.com>
2025-06-27 18:31:18 +00:00
Guilherme Caponetto 28f2471bb5
feat(ws): add fallback mechanism to broken images (#448)
Signed-off-by: Guilherme Caponetto <638737+caponetto@users.noreply.github.com>
2025-06-27 13:46:17 +00:00
Liav Weiss 42dfd30d94
fix(ws): backend dockerfile (#386)
* feat(ws): Properly containerize backend component #323

Signed-off-by: Liav Weiss (EXT-Nokia) <liav.weiss.ext@nokia.com>

* feat(ws): Properly containerize backend component #323

Signed-off-by: Liav Weiss (EXT-Nokia) <liav.weiss.ext@nokia.com>

* feat(ws): Properly containerize backend component #323

Signed-off-by: Liav Weiss (EXT-Nokia) <liav.weiss.ext@nokia.com>

* mathew: revert typo

Signed-off-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com>

---------

Signed-off-by: Liav Weiss (EXT-Nokia) <liav.weiss.ext@nokia.com>
Signed-off-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com>
Co-authored-by: Liav Weiss (EXT-Nokia) <liav.weiss.ext@nokia.com>
Co-authored-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com>
2025-06-26 21:47:17 +00:00
Mathew Wicks ca3289c8d1
chore: add OWNERS files with reviewers and labels (#450)
Signed-off-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com>
2025-06-26 21:42:17 +00:00
Andy Stoneberg dd4ef1f939
chore: reference ghcr.io images in workspacekind yaml (#305)
Given we have migrated all our images from docker.io to ghcr.io - our `notebooks-v2` branch should reference the "proper" container registry.

This commit updates the code to use:
- `ghcr.io/kubeflow/kubeflow/notebook-servers`

Affected areas:
- `jupyterlab_scipy_180` and `jupyterlab_scipy_190` `imageConfig` entries
- various test files

Signed-off-by: Andy Stoneberg <astonebe@redhat.com>
2025-06-26 20:49:17 +00:00
Jiri Daněk 5690c2ee52
ci(ws): archive frontend cypress test results in github actions (#396)
Signed-off-by: Jiri Daněk <jdanek@redhat.com>
2025-06-26 19:08:17 +00:00
Liav Weiss fcb5fc5272
feat(ws): fix swagger warnings and only generate json output (#424)
* feat(ws): Clean and fix swagger warnings and errors

Signed-off-by: Liav Weiss (EXT-Nokia) <liav.weiss.ext@nokia.com>

* feat(ws): Clean and fix swagger warnings and errors

Signed-off-by: Liav Weiss (EXT-Nokia) <liav.weiss.ext@nokia.com>

---------

Signed-off-by: Liav Weiss (EXT-Nokia) <liav.weiss.ext@nokia.com>
Co-authored-by: Liav Weiss (EXT-Nokia) <liav.weiss.ext@nokia.com>
2025-06-26 19:02:17 +00:00
Mathew Wicks 24a4472fcf
feat(ws): validate podMetadata for ws and wsk in webhook (#436)
Signed-off-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com>
2025-06-26 18:46:17 +00:00
Guilherme Caponetto 3f7d7fb430
chore(ws): show ESLint errors from local rules on IDE (#439)
Signed-off-by: Guilherme Caponetto <638737+caponetto@users.noreply.github.com>
2025-06-25 10:52:16 +00:00
Guilherme Caponetto dd4fa4d9a1
chore(ws): lint frontend on each commit (#440)
Signed-off-by: Guilherme Caponetto <638737+caponetto@users.noreply.github.com>
2025-06-25 10:51:16 +00:00
Charles Thao 27e5877d84
feat(ws): Notebooks v2 Create Workspace Kind (#365)
* Add routes for Workspace Kind Create

Signed-off-by: Charles Thao <cthao@redhat.com>

* Implement method selection step for Workspace Kind Create wizard

Signed-off-by: Charles Thao <cthao@redhat.com>

* Add styling

Signed-off-by: Charles Thao <cthao@redhat.com>

* Add type guards for yaml file upload

Signed-off-by: Charles Thao <cthao@redhat.com>

* Add properties step to WorkspaceKindForm

Signed-off-by: Charles Thao <cthao@redhat.com>

* Add image step to WorkspaceKindForm

Signed-off-by: Charles Thao <cthao@redhat.com>

* Add empty steps and switch Method step to radio buttons

Signed-off-by: Charles Thao <cthao@redhat.com>

* Add step description to Workspace Kind Form

Signed-off-by: Charles Thao <cthao@redhat.com>

* Migrate Workspace Kind Form to utilize Toggle Group

Signed-off-by: Charles Thao <cthao@redhat.com>

* Disable Form View when YAML is not uploaded or valid

Signed-off-by: Charles Thao <cthao@redhat.com>

* Allow VScode to discover local ESLint rules

Signed-off-by: Charles Thao <cthao@redhat.com>

* Styling organization improvements + Refactor types

Signed-off-by: Charles Thao <cthao@redhat.com>

---------

Signed-off-by: Charles Thao <cthao@redhat.com>
2025-06-25 10:50:15 +00:00
Paulo Rego f23af69671
chore(ws): allowed theme configuration during frontend start (#438)
Signed-off-by: paulovmr <832830+paulovmr@users.noreply.github.com>
2025-06-24 12:48:15 +00:00
Guilherme Caponetto 09f8f370a1
feat(ws): add `WorkspaceKindSummary` page and other improvements around it (#415)
* Minor refactorings and initial work for the Workspace Kind summary page

Signed-off-by: Guilherme Caponetto <638737+caponetto@users.noreply.github.com>

* feat(ws): added links from workspace kind details drawer to workspace kinds details page (#1)

Signed-off-by: Paulo Rego <832830+paulovmr@users.noreply.github.com>

* Enable workspace filtering by namespace in the WorkspaceKind summary page

Signed-off-by: Guilherme Caponetto <638737+caponetto@users.noreply.github.com>

* Update Pause/Start action response types according to backend

Signed-off-by: Guilherme Caponetto <638737+caponetto@users.noreply.github.com>

* Fix WorkspaceKind logo href

Signed-off-by: Guilherme Caponetto <638737+caponetto@users.noreply.github.com>

* Replace placeholders for GPU data with real values in WorkspaceKind summary page

Signed-off-by: Guilherme Caponetto <638737+caponetto@users.noreply.github.com>

* Allow columns to be hidden in the WorkspaceTable

Signed-off-by: Guilherme Caponetto <638737+caponetto@users.noreply.github.com>

* feat(ws): added links from workspace kind details drawer namespace tab to workspace kinds details page (#2)

Signed-off-by: Paulo Rego <832830+paulovmr@users.noreply.github.com>

* Improve types around Filter component

Signed-off-by: Guilherme Caponetto <638737+caponetto@users.noreply.github.com>

* feat: Add Workspace Actions Context and related components

- Introduced WorkspaceActionsContext to manage workspace actions such as view, edit, delete, start, restart, and stop.
- Created WorkspaceActionsContextProvider to encapsulate the context logic and provide it to child components.
- Implemented WorkspaceKindSummary and Workspaces components to utilize the new context for handling workspace actions.
- Added polling for refreshing workspaces at a default interval.
- Enhanced WorkspaceTable to support row actions for workspaces.
- Updated various components to include sortable and filterable data fields.
- Refactored WorkspaceStartActionModal and WorkspaceStopActionModal to handle optional onActionDone callback.
- Added loading and error handling components for better user experience.

Signed-off-by: Guilherme Caponetto <638737+caponetto@users.noreply.github.com>

* feat: Add buildWorkspaceList function and integrate into mockAllWorkspaces

Signed-off-by: Guilherme Caponetto <638737+caponetto@users.noreply.github.com>

* refactor: Update mock data and formatting for workspace activity timestamps

Signed-off-by: Guilherme Caponetto <638737+caponetto@users.noreply.github.com>

* feat: Implement usePolling hook and refactor workspace actions in Workspaces and WorkspaceKindSummary components

Signed-off-by: Guilherme Caponetto <638737+caponetto@users.noreply.github.com>

* refactor: Update column key usage in ExpandedWorkspaceRow and adjust workspace actions visibility in Workspaces component

Signed-off-by: Guilherme Caponetto <638737+caponetto@users.noreply.github.com>

* Make mocked workspace list deterministic

Signed-off-by: Guilherme Caponetto <638737+caponetto@users.noreply.github.com>

* feat: Enhance WorkspaceTable with additional columns and filtering capabilities

- Added 'namespace', 'gpu', and 'idleGpu' columns to WorkspaceTable.
- Updated filtering logic to support new columns in WorkspaceTable.
- Refactored useWorkspaces hook to remove unnecessary parameters related to idle and GPU filtering.
- Modified WorkspaceKindSummary and its expandable card to utilize new filtering functionality.
- Updated WorkspaceUtils to include a method for formatting workspace idle state.
- Adjusted Filter component to support generic filtered column types.
- Updated Workspaces page to hide new columns as needed.

Signed-off-by: Guilherme Caponetto <638737+caponetto@users.noreply.github.com>

* refactor: Improve sorting functionality in WorkspaceTable by utilizing specific types for sortable columns

Signed-off-by: Guilherme Caponetto <638737+caponetto@users.noreply.github.com>

* Adjustments after rebase

Signed-off-by: Guilherme Caponetto <638737+caponetto@users.noreply.github.com>

* Format with prettier

Signed-off-by: Guilherme Caponetto <638737+caponetto@users.noreply.github.com>

---------

Signed-off-by: Guilherme Caponetto <638737+caponetto@users.noreply.github.com>
Signed-off-by: Paulo Rego <832830+paulovmr@users.noreply.github.com>
Co-authored-by: Paulo Rego <832830+paulovmr@users.noreply.github.com>
2025-06-17 11:46:09 +00:00
Paulo Rego 6f12fa7fd3
chore(ws): Upgrade vulnerable packages (#427)
Signed-off-by: paulovmr <832830+paulovmr@users.noreply.github.com>
2025-06-16 21:20:09 +00:00
Paulo Rego 6f6ba502b8
chore(ws): enforce named imports for react hooks (#414)
Signed-off-by: paulovmr <832830+paulovmr@users.noreply.github.com>
2025-06-16 20:51:08 +00:00
Jenny 6b2c2bbe46
fix(ws): Expose active nav item on initial Workspaces page load (#419)
Signed-off-by: Jenny <32821331+jenny-s51@users.noreply.github.com>
2025-06-16 20:28:08 +00:00
Jenny ee2e14d50b
fix(ws): Action Button Alignment and Jupyter Image Display (#408)
Signed-off-by: Jenny <32821331+jenny-s51@users.noreply.github.com>

add icon to workspaceKindsColumns interface

fix actions cell alignment

move card title to fix spacing
2025-06-16 20:25:08 +00:00
Paulo Rego b2bee1d04b
chore(ws): Upgrade vulnerable package webpack-dev-server (#407)
Signed-off-by: paulovmr <832830+paulovmr@users.noreply.github.com>
2025-06-05 15:14:15 +00:00
Paulo Rego 7c660e41ba
feat(ws): added namespaces tab to workspace kind details (#406)
Signed-off-by: paulovmr <832830+paulovmr@users.noreply.github.com>
2025-06-05 11:01:15 +00:00
Jenny 248c242f84
fix(ws): Update Progress Stepper with UX feedback (#401)
Signed-off-by: Jenny <32821331+jenny-s51@users.noreply.github.com>

add description beneath title

Signed-off-by: Jenny <32821331+jenny-s51@users.noreply.github.com>

fix(ws): apply isCurrentStep correctly and Flex layout

Signed-off-by: Jenny <32821331+jenny-s51@users.noreply.github.com>

fix linting issues

Signed-off-by: Jenny <32821331+jenny-s51@users.noreply.github.com>

delete tsConfig.json
2025-06-03 15:11:14 +00:00
Paulo Rego 6490251310
feat(ws): added pod configs tab to workspace kind details (#399)
Signed-off-by: paulovmr <832830+paulovmr@users.noreply.github.com>
2025-06-02 20:11:23 +00:00
Paulo Rego 83caeff57c
feat(ws): added images tab to workspace kind details (#398)
* feat(ws): added images tab to workspace kind details

Signed-off-by: paulovmr <832830+paulovmr@users.noreply.github.com>

* feat(ws): added images tab to workspace kind details

Signed-off-by: paulovmr <832830+paulovmr@users.noreply.github.com>

* feat(ws): added images tab to workspace kind details

Signed-off-by: paulovmr <832830+paulovmr@users.noreply.github.com>

---------

Signed-off-by: paulovmr <832830+paulovmr@users.noreply.github.com>
2025-06-02 17:47:23 +00:00
aviavissar d668eb83c7
feat(ws): Workspace Kind details drawer #252 (#387)
* feat(ws):Workspace Kind details drawer #252

Signed-off-by: Avi Avissar (EXT-Nokia) <avi.avissar.ext@nokia.com>

* feat(ws): feat(ws):Workspace Kind details drawer #252

Signed-off-by: Avi Avissar (EXT-Nokia) <avi.avissar.ext@nokia.com>

* feat(ws): feat(ws): Workspace Kind details drawer #252

Signed-off-by: Avi Avissar (EXT-Nokia) <avi.avissar.ext@nokia.com>

* feat(ws): Workspace Kind details drawer #252

Signed-off-by: Avi Avissar (EXT-Nokia) <avi.avissar.ext@nokia.com>

---------

Signed-off-by: Avi Avissar (EXT-Nokia) <avi.avissar.ext@nokia.com>
Co-authored-by: Avi Avissar (EXT-Nokia) <avi.avissar.ext@nokia.com>
2025-05-29 19:31:19 +00:00
Charles Thao 92b488bb67
feat(ws): Persist last used namespace across refreshes and tabs (#341)
Signed-off-by: Charles Thao <cthao@redhat.com>
2025-05-28 18:54:19 +00:00
Paulo Rego db82bd54f6
fix(ws): removed empty table column from workspace kinds table and fixed labels (#389)
Signed-off-by: paulovmr <832830+paulovmr@users.noreply.github.com>
2025-05-28 17:38:19 +00:00
Guilherme Caponetto 3c8c8e0c2a
feat(ws): call delete Workspace API from the frontend (#383)
Signed-off-by: Guilherme Caponetto <638737+caponetto@users.noreply.github.com>
2025-05-27 13:44:33 +00:00
Guilherme Caponetto c40a2e00e3
feat(ws): prepare frontend for Edit Workspace (#370)
* Add action to Edit workspace button

Signed-off-by: Guilherme Caponetto <638737+caponetto@users.noreply.github.com>

* Rename WorkspaceCreate* -> WorkspaceForm*

Signed-off-by: Guilherme Caponetto <638737+caponetto@users.noreply.github.com>

* Enable type-safe navigation

Signed-off-by: Guilherme Caponetto <638737+caponetto@users.noreply.github.com>

* Fix some a11y warnings in the console

Signed-off-by: Guilherme Caponetto <638737+caponetto@users.noreply.github.com>

* Prepare submit code for Workspace update

Signed-off-by: Guilherme Caponetto <638737+caponetto@users.noreply.github.com>

* Final adjustments

Signed-off-by: Guilherme Caponetto <638737+caponetto@users.noreply.github.com>

* Remove edit action while it is not fully supported

Signed-off-by: Guilherme Caponetto <638737+caponetto@users.noreply.github.com>

---------

Signed-off-by: Guilherme Caponetto <638737+caponetto@users.noreply.github.com>
2025-05-22 14:59:20 +00:00
Jenny 91b1987101
fix(ws): update component structure to fix create ws button rendering (#364)
Signed-off-by: Jenny <32821331+jenny-s51@users.noreply.github.com>

fix tests

Signed-off-by: Jenny <32821331+jenny-s51@users.noreply.github.com>

fix tests
2025-05-22 13:34:20 +00:00
yehudit1987 8737db249a
test(ws): Add workspaces tests (#188)
feat(ws): Notebooks 2.0 // Frontend // Fetch workspaces



feat(ws): Notebooks 2.0 // Frontend // Fetch workspaces



feat(ws): Notebooks 2.0 // Frontend // Fetch workspaces



feat(ws): Notebooks 2.0 // Frontend // Fetch workspaces



feat(ws): Notebooks 2.0 // Frontend // Fetch workspaces



feat(ws): Notebooks 2.0 // Frontend // Fetch workspaces



feat(ws): Notebooks 2.0 // Frontend // Fetch workspaces



feat(ws): Notebooks 2.0 // Frontend // Fetch workspaces



feat(ws): Notebooks 2.0 // Frontend // Fetch workspaces



feat(ws): Notebooks 2.0 // Frontend // Fetch workspaces



fix cypress tests

Signed-off-by: Yehudit Kerido <yehudit.kerido@nokia.com>
Co-authored-by: Yehudit Kerido <yehudit.kerido@nokia.com>
2025-05-22 13:29:20 +00:00
Liav Weiss 2c3e75ee02
feat(ws): Add Empty State to Workspace list #259 (#338)
* feat(ws): Add Empty State to Workspace list #259

Signed-off-by: Liav Weiss (EXT-Nokia) <liav.weiss.ext@nokia.com>

* feat(ws): Add Empty State to Workspace list kubeflow#259

Signed-off-by: Liav Weiss (EXT-Nokia) <liav.weiss.ext@nokia.com>

* feat(ws): Add Empty State to Workspace list kubeflow#259

Signed-off-by: Liav Weiss (EXT-Nokia) <liav.weiss.ext@nokia.com>

* feat(ws): Add Empty State to Workspace list kubeflow#259

Signed-off-by: Liav Weiss (EXT-Nokia) <liav.weiss.ext@nokia.com>

---------

Signed-off-by: Liav Weiss (EXT-Nokia) <liav.weiss.ext@nokia.com>
Co-authored-by: Liav Weiss (EXT-Nokia) <liav.weiss.ext@nokia.com>
2025-05-21 12:13:37 +00:00
Guilherme Caponetto 0ee177f05d
feat(ws): prepare frontend calls to pause and start endpoints (#346)
Signed-off-by: Guilherme Caponetto <638737+caponetto@users.noreply.github.com>
2025-05-19 14:10:35 +00:00
Jenny 79fe52d09a
feat(ws): Apply theme dependent components (#313)
Signed-off-by: Jenny <32821331+jenny-s51@users.noreply.github.com>

fix linting errors

Signed-off-by: Jenny <32821331+jenny-s51@users.noreply.github.com>

move button to toolbargroup to fix toolbar alignment

fix search input height

fix frontend tests

Signed-off-by: Jenny <32821331+jenny-s51@users.noreply.github.com>

fix testing issues

Signed-off-by: Jenny <32821331+jenny-s51@users.noreply.github.com>

add export default to ThemeAwareSearchInput

Signed-off-by: Jenny <32821331+jenny-s51@users.noreply.github.com>

fix linting issues

fix import

add ID

Signed-off-by: Jenny <32821331+jenny-s51@users.noreply.github.com>

add whitespace

remove whitespace

Signed-off-by: Jenny <32821331+jenny-s51@users.noreply.github.com>

fix tests
2025-05-19 11:51:36 +00:00
Andy Stoneberg ea93acc140
fix(ws): add secrets field to backend API schema (#331)
related: #239

This commit brings partial support for secrets to the backend API.  It enables the `frontend` component to successfully create a Workspace through the "wizard flow".

**HOWEVER**, it is important to note this secrets attribute is not supported within the `controller` component yet - as #240 is not yet merged. To unblock the `frontend` - the logic contained in this commit simply adds the necessary scaffolding to accept the `secrets` attribute defined within `volumes`.  Once umarshalled, the backend essentially ignores this data.  Code to fully enable the end to end flow is included in this PR - but simply commented out with `TODO:` comments denoting what can be uncommented once #240 is merged into `notebooks-v2`.  A test is also presently disabled with `XIt` - and can also be enabled when required code present.

Changes were initially coded against the branch provided on #240 to verify full end-to-end behavior.  Once confirmed, commit was rebased onto `notebooks-v2`, relevant code commented out as described above, and behavior retested to ensure desired outcome.

In summary, with these changes:
- `backend` API accepts `volumes.secrets` in the _Create_ payload
- secrets data is **NOT USED** when programmatically constructing the Workspace CR
- Resultant workspace has no `secrets` data - irrespective of it if was provided in the payload or not.

Signed-off-by: Andy Stoneberg <astonebe@redhat.com>
2025-05-15 17:03:23 +00:00