- add ability to pin the WindowManager component to Left/Right/Bottom
- add new component DraggableZone
- update yarn.lock, rancher/icons#v2.0.6
- adapt to light/dark theme
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
* Prevent errors if no resource is retrieved for NamespaceFilter; Add data-testid attributes for testing purposes and ocmments for readability
* Add NamespaceFilter component tests
* Add Workload loading unit tests
* Restore mokcs globally after each test
* Add issue number to TODO comment
* Prevent ESLint to format generated paths
* Add HTML ESLint Rules
* Format all the Vue HTML templates except Harvester
* Exclude Harvester package from linting HTML, keeping old formatting rules
* add missing check to template part so that workspace switcher is shown on an blank cluster
* Move complicated v-if in to computed property
Co-authored-by: Alexandre Alves <aalves@Alexandres-MacBook-Pro.local>
Co-authored-by: Richard Cox <ricox@suse.com>
* Implement Rancher Prime changes.
* Implement Rancher Prime endpoint.
* squash
* Implement Rancher Prime endpoint.
* squash
* fix proxy.
* Fix support page links.
* merge master.
* Fix nuxt config.
* test without /rancherversion
* Fix links.
* Merge tify up - rename back to hasSupport for less change
* Fix version metadata fetching
* Allow links to be edited
* Fix lint, revert changed to KeyValue
* Remove unused code
* Fix typo
* Add support for linkOptions
* Add name to component
* File an issue link should go to choose page
* Fix typo
* Fix issue with legacy settings
* Address PR feedback
* Remove todo that was done
Co-authored-by: Shavindra <shavindra@users.noreply.github.com>
* WIP: Working version
* Further refinement
* Working version
* Refactor to a product
* i18n
* Fix lint and tidy comments
* Empty-Commit
* Bump e2e
* Latest fixes, i18n
* Fix lint
* Fix lint issues
* Fix imports for standlone plugin build
* Only load plugins in dev
* Fix lint issue
* Fix template errors
* Fix operator setup
* Fix menu actions
* Address PR feedback
* Address PR feedback
* Add new preference for plugin developer
* Update icon support
* Add third-party and experimental banners to slide-in
* Add support for update/rollback of a plugin
* Address PR feedback - i18n
* i18n - one more string localised
* i18n - one more string localised
* Minor visual tidy ups
* Use banner for install warning
* Fix saefMode
* Fix lint
* Add some responsiveness to the cards page
* Fix lint
* Bump PR
* Add debug to list coverage reports
* splitting up user settings belonging to DEV and updating references on rancher + update settings page to individually control each of the splitted settings
* move view in api to advanced features
* update copy of option in user prefs + update logic for inheriting value from another pref when one is not set on the server/api side + add toggleLocale shortcut to missing layouts + other minor changes
Co-authored-by: Alexandre Alves <aalves@Alexandres-MacBook-Pro.local>
* Created LocaleSelector component
* Updated backend on lacal changes
* Hide none option in language list
* Fixed hovered state and added down arrow to dropdown list
* Fixed preferences error on login screen
* Corrected order of check
* Added variable to stor value before login
* Fix locale saving when not logged in
* Removed commented code and add comments for variable
* Added local in user-preferences page
* Added loginc in commit for settign user Preference
* Changes local selector template as per the login and user preference page
* Removed extra class, fixed tags closing
Co-authored-by: Neil MacDougall <nmacdougall@suse.com>
* Created LocaleSelector component
* Updated backend on lacal changes
* Hide none option in language list
* Fixed hovered state and added down arrow to dropdown list
* Fixed preferences error on login screen
* Corrected order of check
* Added variable to stor value before login
* Fix locale saving when not logged in
* Removed commented code and add comments for variable
* Added loginc in commit for settign user Preference
Co-authored-by: Neil MacDougall <nmacdougall@suse.com>
* routing maybe
* remove nested edit views
* harvester custom routes
* fix loading imported dev cluster
* move harvester-manager hci.cluster type out of harvester pkg
* fixes for build-pkg
* fix harvester custom dialogs
* fix harvester pkg routing
* generateDynamicTypeImport hyphenated dirs
rename cloud_credential and machine_config back to cloud-credential and machine-config
* Appease linting
* Fix epinio pkg build
- Includes fixes for some dashboard component references
* Revert "Receiver credential secrets are deleted when secret is set to none"
This reverts commit 836460e2998959bcda0b14a9f6511f248980b7b5.
* Fix plugin modal cancel button in dark mode
* Ensure correct components loaded when a new version of a plugin is loaded
- The route matcher was never updated with new route-->component values
- This was due to `this.router.options.routes` not containing the result of `router.add`
- See https://github.com/vuejs/vue-router/issues/2280
* Revert "Revert "Receiver credential secrets are deleted when secret is set to none""
This reverts commit e524bb3d40ea7adfe35c38ec7870560625965d25.
* fix harvester manager->harvester routing
* rename dialogs
* move harvester-manager files out of harvester pkg
* Revert "remove nested edit views"
This reverts commit e835835943d63e74c50942884fec3706f8703047.
* plugin validators dynamic import - not working
* fix merge conflict
* fix harvester members
* fix conflict
* custom validators
* harvester table formatters
* members routing
* import path fixes
* harvester mutli load
* Port across tweaks made during dynamic plugin work
- harvester plugin can be bundled with the dashboard until dynamic work has been completed
- Nav directly to virt cluster dashboard instead of via /harvester-c-cluster
- Fix missing bottom border on virt cluster list, hide actions (as they're never populated)
* move config/settings and config/harvester-map
fix hci setting custom components
* fix harvester setting import path
* Move over SerialConsole and Novnc, remove harvester.notifications
- These components were so 1-1 with harvester in the end i moved them over
- Also removed the like-for-like generic.notification `harvester.notification` strings
* Remove isSingleVirtualCluster, most of isMultiVirtualCluster
* Fix two nav issues
- harv cluster members --> prefs --> click on-screen back
- dashboard --> prefs --> click on-screen back
Both of these would be better fixed by an incoming change to the default layout (don't show old content before switching page)
* Fix reload of project/namespace page
* Split out project namespace into it's own component (1 or 2)
* Split out project namespace into it's own component (2 or 2)
* use product hideSystemResources opt instead of isVirtual/product===virtual
* fix missing prop in header
* Move FilterLabel and CloudInitType to harv pkg + two other references
* Move Harvester Upgrade components to harv pkg
- Needs a review with Neil regarding generics
* rebase build+load not working
* fix harvester route in authenticated
* Experimental Changes
* Fix merge conflicts
* WIP Fix routing
- includes project/namespace and namespace pages
* Tidying up
* Move harvester core store to plugin, remove harvester code from authenticated flow
- harvester store is a steve store that now lives in the plugin
- harvester `loadVirtual` replaced with a shortened `loadCluster` in it's own store
- Also fix xterm css import
* Fix three routing related bugs
- Fix project/namespace create/edit/cancel/done flows
- Update harvester's loadCluster to better match loadCluster
- Make edit namespace page project resource agnostic
* Build fixes
* Fix create namespace button and other tweaks
* fix two issues with nav out of imported harvester cluster
* Fix alignment of action menu button
- Used in many places
- all generic table action menus
- global settings --> settings
- rke1 cluster detail page machine pool group actions
- project/namespace list project group actions
- resource detail page action menu
* Revert changes to app and pkg creators
- This should fix `check-plugins-build` gate
- It does hide the underlying issue, but that won't have been brought in by this PR?
Co-authored-by: Nancy Butler <42977925+mantis-toboggan-md@users.noreply.github.com>
* Use web worker to throttle counts and schema changes
* Delete nodes.md
* Address PR feedback
* Small tidy up
* Fix dependencies for plugins
* Address PR feedback
* Fix lint issue
- This was broken by https://github.com/rancher/dashboard/pull/6261
- The `activeNamespaceCache` depends on the product (fleet requires workspaces, everything else namespaces)
- This needs updating when going to or from fleet
NOTE - On `head` (but not `ui-dashboard-index` `latest`) refreshing on the explorer pods page does not show the correct namespace filtered pods
Small tidyup for `activeNamespaceCache` and `activeNamespaceFilters` getters
- epinio standalone won't have a current cluster (a rancher mgmt cluster resource type)
- so take this into account with the same property using with NamespaceFilter
- No.1
- validate and fix bad LOGS_RANGE preferences
- at some point this became polluted and now breaks streaming of logs
- fixes https://github.com/rancher/dashboard/issues/6122
- No.2
- Ensure the `Everything` log range option is correctly selected when the value is `all`
- Previously it would just show as an option underneath 'Everything`
* Configure E2E tests for CI
* Add Github CI configuration for E2E
* Write welcome and first login tests
* Add Docker initialization script
* Sort tests
* Allow to trigger input checkboxes from labels
* Run setup script in a single test to avoid server requirement restrictions with authentication in a single session
* Trigger E2E tests on PR to master only
* Correct password for E2E; extend documentation about authentication
* Allow E2E jobs to be excluded if present tag in the title
* Build and start project for E2E using SPA flag and prod env for CI
* Assure link presence while navigating in E2E tests; Improve readability
* Allow to skip setup E2E tests for remote initialized instances
* Update Cypress related libraries
* Replace class to id selections for E2E tests
* Create Page Actions PO; Move navigation related tests; Ensure Home page tests to be reliable
* Correct login redirection to include local
* Reset cards for E2E changelog
* E2E: Add manual waiting while opening the side navigation
* Change CI E2E skip exception from title to label
* E2E: Increase waiting time for side navigation racing condition issue
* Remove bootstrap setup assertion
* Allow to manually trigger E2E tests
* Disabling all flaky tests which cause race condition random failure
* Remove setup scripts and commands due opted out solution
* Rename files, tests and PO
* Remove libraries added while rebasing
* Replace ID with data-testid for E2E element selection
* Skip entirely E2E test Job on label in favor of single steps condition
* Use run ID and number for artifacts names
* Updated documentation related to E2E selectors and added best practice link
* Remove passed tests video after each test
* Add getId command to select elements by attribute
* Correct all the selections of all the existing tests; Add related data id for testing purpose
* Add terms and ignore log issue with TS
* Add missing ID to data conversion
* Replace password cases with new PO
* Restore locale login check in E2E
* Enable artifacts upload only on failure
* Disable video artifacts upload from E2E runs
* Correct linting issue with a TODO note
* Correct script naming and docker command to avoid killing other containers
* Remove unnecessary --spa flag from existing scripts
* Correct tests to do not rely spcifically to the version while testing changelog text
* Adjust documentation definitions
* Reference issue in the TODOs
* Allow failing if no container found while stopping docker
* Rephrase E2E commands reference in docs
* Correct Docker stop command typo with image name
This adds a new project for Rancher Components under `pkg/rancher-components` and replaces components used throughout dashboard with the versions used here. All imports for the following components have been updated:
```
|- BadgeState.vue
|- Banner.vue
|- Card.vue
|- Form
|- Checkbox.vue
|- LabeledInput.vue
|- LabeledTooltip.vue
|- RadioButton.vue
|- RadioGroup.vue
|- TextAreaAutoGrow.vue
```