Commit Graph

12205 Commits

Author SHA1 Message Date
Evgeniya Vashkevich 92d77386dc
[FIX] Fixed app icon aligntment for extensions with image icon (#12827) 2024-12-05 11:14:04 -08:00
yonasberhe23 412bfb86e3
Merge pull request #12796 from yonasberhe23/yaml_page_footer_test
yaml footer e2e test
2024-12-05 11:13:53 -08:00
Evgeniya Vashkevich 93a0b4750f
Fixed cluster page throwing error if imported cluster is broken (#12798) 2024-12-05 11:13:36 -08:00
Yonas Berhe 1148ebac30 yaml footer test 2024-12-05 09:20:33 -08:00
Alexandre Alves ef76fecf23
Fix slack outputs (#12820)
* update

* delete file that shouldnt be there

* fix slack outputs on other extensions wf tests + change update script from sh to bash + bump creators version
2024-12-05 15:14:28 +00:00
Francesco Torchia 51c568e85d
Merge pull request #12723 from torchiaf/portings-harvester-ui-extension
Harvester Manager plugin, portings from Harvester
2024-12-05 15:47:05 +01:00
Alexandre Alves 04a8857452
Test builds of extensions with latest published shell version in all relevant branches (#12814)
* update

* delete file that shouldnt be there

* create nightly test to cover skeleton app generation and update paths + update master workflow + improve slack message output
2024-12-05 14:27:40 +00:00
codyrancher 6c170fc01a
Merge pull request #12746 from codyrancher/lint-fix-2
Fixing an issue with eslint not working in vscode
2024-12-04 15:27:55 -07:00
Cody Jackson c77ee88b01 Adding `emits` to all rancher-components to fix linting rules 2024-12-04 09:04:19 -07:00
Phillip Rak 4653a0f660
Merge pull request #12744 from rak-phillip/bugfix/10840-pod-shell
Improve logging for errors in `ContainerShell.vue`
2024-12-04 08:32:00 -07:00
Richard Cox a79df0739c
Merge pull request #12614 from adamkpickering/remove-rancher-telemetry
Remove mentions of rancher telemetry
2024-12-04 10:33:35 +01:00
Izaac Zavaleta 25c5cac1ab
Merge pull request #12727 from izaac/container_limits
[Automation] - Check default limit values in UI while creating a Pod with the Form
2024-12-03 16:42:43 -07:00
Phillip Rak 9157fd8ce2
Merge pull request #12682 from rak-phillip/bugfix/11899-pod-storage-selection
Allow Longhorn CSI storage driver to be selected
2024-12-03 15:38:51 -07:00
codyrancher 20be22a0aa
Merge pull request #12672 from codyrancher/error-template
Removing the unused `templates/error.vue` and `popstate` references
2024-12-03 15:30:48 -07:00
Izaac Zavaleta 37e39454f5
Check default limit values in UI while creating a Pod with the Form 2024-12-03 14:57:43 -07:00
Evgeniya Vashkevich bb1f8c2097
fixed some console errors for standard user (#12479) 2024-12-03 11:14:59 -08:00
Eric Promislow 90859a2a66
Remove a stutter in the sentence. (#12742) 2024-12-03 11:13:40 -08:00
yonasberhe23 cc2487030f
Merge pull request #12743 from yonasberhe23/jenkins_failure_fixes
update e2e tests
2024-12-03 11:10:05 -08:00
Phillip Rak 0fbbab2f95 Add e2e test for selecting Longhorn CSI Pod storage
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2024-12-03 12:08:34 -07:00
Phillip Rak badaff88fb Update name for pod storage tab
The `name` prop for tabs assigns an id to a `section` element in the underlying tab. Since ids must be unique in the document, there conflicts can arise when programmatically selecting tabs.

Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2024-12-03 12:08:34 -07:00
Phillip Rak 2d531ad4d9 Create methods for getting CSI option labels
Options for CSI can be either a string or an object; objects contain a label property. 

Replace periods with `-` in keys like `driver.longhorn.io` so that the i18n implementation will properly match a translation.

Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2024-12-03 12:08:34 -07:00
Phillip Rak dea3832217 Replace periods with `-` in translation key
Periods are used as a default key separator in Dashboard's i18n implementation. Using `-` instead of periods in our keys allows for a proper lookup of keys.

Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2024-12-03 12:08:34 -07:00
Adam Pickering fa5134a1d1 Fix lines moved by mistake that relate to istio telemetry 2024-12-03 10:31:41 -07:00
Alexandre Alves d47451e06c
Tackle issues with migration script (#12730)
* fix issue with migration script updating resolutions + mark package updates for future adjustment after analysis

* add more code comments

* fix migration script to originate correct builds

* bump creators version

* Add completion log

---------

Co-authored-by: Jordon Leach <jordonleach@gmail.com>
2024-12-03 16:17:04 +00:00
Jordon Leach 5fe50041fc
Clean up extension creator - add rancher annotations to pkg.package.json (#12741)
Remove annotations from helm chart
2024-12-03 05:13:53 -05:00
Richard Cox b6e1a4edb7 Add fix for low vertical alignment
- Was a bit weird to start with (flex 3 and flex 8)
- min-height 50 block normally empty at bottom for errors threw things off
  - done to stop whole content wobbling on show of error
2024-12-03 08:59:40 +00:00
Andy Lee 977b7f8afe
Merge pull request #12714 from a110605/bump_shell
bump rancher/shell to v3.0.1-rc.3
2024-12-03 10:04:36 +08:00
Cody Jackson 59e90a31fb Fixing an issue with eslint not working in vscode
- Using rulesdir in the package scripts made it so the rules were only present when running them in the cli and showed errors in editors. This now allows the rules to run in the editor since I made a plugin using a local dependency
- I also made is so lint rules can be run from root on pkg/rancher-components

Fixes https://github.com/rancher/dashboard/issues/12670
2024-12-02 18:01:22 -07:00
Phillip Rak 0568efe051 Fix Container Shell unit tests
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2024-12-02 15:53:11 -07:00
Yonas Berhe c13d76251f update e2e tests 2024-12-02 14:29:41 -08:00
Phillip Rak 0832160a54 Update ContainerShell error messages
This updates the error messages printed to provide clarity by adding:

1. a timestamp and log level to the messages
2. human-readable explanation when `/bin/sh` is missing from a container

Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2024-12-02 14:54:06 -07:00
Phillip Rak 3099018762 Use `writeln` instead of `write`
This uses `writeln` instead of `write` so that logs can default to printing in the terminal on multiple lines.

Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2024-12-02 14:54:06 -07:00
momesgin 0bbc3f5162
Merge pull request #12701 from momesgin/12418-addon-yaml
Fix merging array values on add-on yaml editor for rke2
2024-12-02 13:41:34 -08:00
Jordon Leach f0458777d5
Extension creator upgrade paths - Update documentation (#12737)
* Fix upgrade path for extension creators

* Add extension upgrade documentation

* Bump extension creator
2024-12-02 13:26:24 -05:00
Giuseppe Leo 568d6b47c8
Feature/12715 storybook build fix (#12735)
* Fix dir folder

* Correct path on copy
2024-12-02 18:15:32 +01:00
Nancy e64e3da1f8
Fix editing rke2/k3s clusters in 'pending' state (#12694)
* fix cluster isImported check to account for clusters in the process of provisioning

* remove tests
2024-12-02 08:31:02 -08:00
Giuseppe Leo 26cd5cc586
Add storybook segment (#12733) 2024-12-02 15:48:10 +01:00
Francesco Torchia 2ea316b753
Remove legacy pkg download logic
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2024-12-01 16:51:41 +01:00
Francesco Torchia 5ce1c23876
Porting - disable Harvester legacy versions
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2024-12-01 15:45:18 +01:00
momesgin 6033b26d98
Merge pull request #12722 from momesgin/12711-remove-oci-experimental-badge
Remove OCI's experimental badge
2024-11-29 18:14:35 -08:00
Mo Mesgin 89223b3ffc remove oci's experimental badge 2024-11-29 10:34:21 -08:00
Alexandre Alves 6bc972ad7c
fix issue with display of fleet and cattle agent status on cluster dashboard view with very limited user permissions (#12717) 2024-11-29 15:28:10 +00:00
Francesco Torchia 5fa5abfd07
Merge pull request #12716 from torchiaf/fix-hot-reload
Include `harvester-manager` in hot-reload watchOptions
2024-11-29 10:47:19 +01:00
Francesco Torchia 81e04190ed
Fix package exclude Regex
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2024-11-29 10:19:21 +01:00
andy.lee 1a210879d6
bump rancher/shell to v3.0.1-rc3
Signed-off-by: andy.lee <andy.lee@suse.com>
2024-11-29 16:46:58 +08:00
Giuseppe Leo a822b7a5bf
Some Storybook components do not render correctly after migration (#12594)
* Remove install as storybook start script

* Install Storybook8 with Webpack5

* Correct issue in importing a node style within the SCSS instead of vue config

* Add existing configuration for Webpack

* Convert first component to SFC/MDX new model

* Add remaining plugins, directives and components

* Correct store import in the Rancher Dashboard way

* Complete input migration

* Add buttons

* Correct assets import

* Move foundation

* Fix path for assets import

* Move example assets within the folder

* Migrate Form

* Move first components

* Migrate to proper file naming

* Remove visual tests

* Migrate components

* Remove title for Labeled Select

* Add welcome page

* Bump Storybook to 8.4.2 with auto migration script

* Add MDX support for tables

* Add iframe for rancher icons

* Rename component as modal to avoid confusion

* Enable themes and custom Rancher theme

* Correct  MDX markdown errors

* Correct i18n import

* ESLint fiuxes

* Change import of debounce from lodash

* Code cleanup

* Remove unnecessary import about Code Mirror

* Replace old storybook

* Add decorator for Vue routing and fix hash issues for the tabs

* Change Webpack configuration to declarative format

* Add ToC to the documentation

* Fix linting issue
2024-11-29 09:46:58 +01:00
Andy Lee 454734b883
Merge pull request #12713 from a110605/fix_7058
Fix table header align not work
2024-11-29 16:43:01 +08:00
andy.lee 6701ce2546
fix table header align not work
Signed-off-by: andy.lee <andy.lee@suse.com>
2024-11-29 14:32:20 +08:00
Alexandre Alves 6facd60a9f
remove all mentions for the restricted admin role (#12708) 2024-11-28 17:57:59 +00:00
Alexandre Alves b0aba31dc8
Small fixes for docs and extensions workflow tests (#12704)
* small fix extensions workflow tests + update docs for extensions

* small fix extensions workflow tests

* fix annotation in migration script
2024-11-28 16:05:05 +00:00