* When execing into a container, try linux and windows commands when we can't determine if the node is windows
* Fix lint
* Lint: Remove trailing white space
* Use error message rather than last error
* extra failover, caching last working os against pod, errors, tests
* add __mocks__ folders to eslint ignore patterns
* standard user test fix
* removed unnecessary try/catch logic
* Revert "removed unnecessary try/catch logic"
This reverts commit c263131927.
---------
Co-authored-by: Sean <sean.mchugh@suse.com>
- Moving the store setting to enable/disable filtering in the store to a function in a computed property caused havoc for churn
- Make this much neater by moving flag to the setup stage for both ns filter
- Given forced filtering is now not resource dependent have a high level utils function to determine if enabled
- This should have opened up the door to setting a nicer default then ALL_USER, however it's actually initially applied somewhere other than ns filter
- Fixed a bug where the all option [] was valid
> This uses a new endpoint that has yet to merge. See https://github.com/rancher/rancher/issues/40140
WIP
- Contains console.warns (via custom logger, can be disabled)
- Waiting for final BE endpoint changes to merge
- Contains TODOs to resolve on final enpoint changes delivered
Pertinent Points
- Incompatible with incremental loading / manual refresh
- Harder to get counts (need to sum up from different namespaces)
- Requires use of new steve pagination
- Enforced NS threshold has been removed
- The threshold only applies to the primary resource. This has issues when loading a low count primary (daemon sets) which depends on a very high count secondary (pods)
- Fixing this would involve knowing all secondary resources a list uses, which isn't currently possible (each resource is requested individually, need to know them all first)
- There is no way to subscribe to multiple namespaces (one or all)
- We mock this in subscribe by only persisting changes to resources from within target namespaces
- Everything should work with Advanced Worker enabled
* performance page spec file
* performance page spec file: fixed linting errors
* modified checkbox and radio-group-input files
* added components to support preference page testing
* added class for clusterrepo resource list component
* preferences page objects file
* user menu page objects
* small change to preferences test
* cr updates for button-group functions
* PreferencePagePo inherit from PagePo updates to manage url etc
* update validation for table rows per page test
* accidentally removed line of code
* update validation for Number of clusters to show
* minor lint fixes
* update validation for time format test
* update validation for date format test
* banner class and lint issues fixed
* dropbox po refactor
* button-group po refactor
* radiobutton po refactor
* checkbox po refactor
* updated comments in test file
* refactor dropdown pref page tests and listed box functionality folded into labeled-select.po
* ReposListPagePo class added and prefpage tests updated
* refactored ClusterManagerListPagePo to take clusterId as argument and updated spec files
* refactor user-menu.po and tests that use it
* update intercept logic to aliasing individual requests
* update data-testid to use kebab case (value has quotes inside selector)
* removed extra validation (causing flakiness)
* added scrollIntoView to checkVisible function
* consolidated files for ReposListPagePo and updated files which use the class
* made updates to pref page spec file: simplified intercept logic, added ckeckVisible, skip login landing page test, etc.
* fixed lint issues and updated intercept function
* fix waitForGoTo function and readded removed code
---------
Co-authored-by: Yonas Berhe <yberhe@Yonass-MacBook-Pro.local>
* Fix multi select styling so that the form field expands if not all items fit into a single line anymore.
Fixes https://github.com/rancher/dashboard/issues/7842
Signed-off-by: Bastian Hofmann <mail@bastianhofmann.de>
* Remove duplication in _select.scss
* Fix select heights in ContainerLogs, ContainerShell, ApplicationLogs and ApplicationShell components
Signed-off-by: Bastian Hofmann <mail@bastianhofmann.de>
Signed-off-by: Bastian Hofmann <mail@bastianhofmann.de>
- When there are thousands of entries certain actions (drop down opened, selection changed, etc) take a long time to complete (upwards of 5 seconds)
- This is caused by churn of the filtered and options computed properties causing multiple renders for each action.
- To break this multiple-render per cycle behaviour detatch `filtered` from the value used in `v-for`.
* display dashboard version on about page
* add space between commit branch and commit hash
* address PR comments
Co-authored-by: Alexandre Alves <aalves@Alexandres-MacBook-Pro.local>
Co-authored-by: Alexandre Alves <aalves@Alexandres-MBP.lan>