Commit Graph

181 Commits

Author SHA1 Message Date
Neil MacDougall b79cb11a86
Update caniuselite and fix broken pages dues to RKE1 removal (#5243)
* Update caniuselite and fix broken pages dues to RKE1 removal

* Fix lint issues
2025-09-03 08:57:27 +01:00
Richard Cox 29eb284f54 ember-cli-update --run-codemods 2024-07-30 15:27:49 +01:00
Richard Cox 3349beba87 Ensure embedded ember pages in dashboard work with cypress / e2e
- Create helper functions to determine if running in embedded mode, and the target window for dashboard messages
  - Wasn't sure where to put this, hopefully choice the right location
- isEmbedded `window.top !== window` weirdly didn't work in cypress runner, so now we check if window.top has ember available (only scenario where isEmbedded is false)
- window used for messaging dashboard is now window.parent, window.top can be cypress runner
2023-06-06 17:11:57 +01:00
Neil MacDougall 58feb90b2f Hide component statuses when not available 2021-12-10 08:40:36 +00:00
Neil MacDougall 3660613c19 Fix for when component statuses is not defined 2021-12-09 09:23:27 +00:00
Cody Jackson c58c71e461 Updating the default prometheus memory limit
https://github.com/rancher/rancher/issues/34850#issuecomment-926012429
2021-09-23 15:38:32 -07:00
Cody Jackson ad22b329e6 Updating the istio banner to remove the 1.7 reference and making the monitoring banner a warning.
https://github.com/rancher/dashboard/issues/3586#issuecomment-892156953
2021-08-04 09:14:45 -07:00
Cody Jackson 000d34e36d Updating the deprecation text
rancher/dashboard#3586
2021-08-03 09:30:33 -07:00
Lauren Harden 85ad5adb0b
theme changes for vue (#4655)
* theme changes for vue WIP

* banners

* header fixes

* rm blarp

* avatar fix

* table and header fixes

* table fix

* modal

* fix annotation

* right button headers

* accordion

* header color fixes

* banner fix
2021-06-30 09:45:00 -07:00
Westly Wright 556bdce127
Add warning when importing a cluster without RBAC enabled
rancher/rancher#33307
2021-06-22 16:13:28 -07:00
Neil MacDougall b936223f84 Don't show events tab when embedded 2021-06-15 09:18:54 +01:00
Westly Wright cab623d56d
refactor logic of when to grey out component status indicators
the logic prior to this relied on a static list, ive updated the logic to actually check the component status objects and there health.

rancher/rancher#11496
2021-05-27 15:56:06 -07:00
Westly Wright 32e6b2a095
Merge pull request #4634 from westlywright/enhc.aks.cm.scheduler
Add Additional Providers to Status Component Exclusion List
2021-05-26 08:57:54 -07:00
Westly Wright 9bf359f44b
Add import branch to check if the status providers should be greyed
rancher/rancher#11496
2021-05-25 13:35:57 -07:00
Neil MacDougall 2f55f5d506 Embedding support bug fixes 2021-05-21 15:31:29 +01:00
Neil MacDougall 4e103c18b6 Improvements and enhancements to support embedding in dashboard UI 2021-05-14 11:53:39 +01:00
Westly Wright 4fc2d9e52c
Update docs base logic for 2.5+
Addeded docsBase to translations that were missing it as well.

rancher/rancher#31860
2021-04-20 14:07:14 -07:00
Westly Wright 9a38d546f7
Expose Import Command for EKS v2 Clusters with Private Access
rancher/rancher#28356
2020-12-02 12:09:33 -07:00
Westly Wright c84090835d
Expose cluster reg token 4 cluster w/o nodes
For imported or custom clusters that never had a host register there was
never a way to get back to the registration command. This exposes a new
modal and button ont he cluster dashboard the allows the user to fetch
this command if the cluster doesn't have any nodes.

rancher/rancher#28548

Add import-command component the import command on imported clusters

this is the first step to exposing the command as an action in the modal for show command

Create CustomCommand component for modal show command

add custom input to show command modal

translations
2020-10-29 15:31:41 -07:00
Westly Wright d3d78e87c8
Upgrade Ember & Dependencies for LTS support >3.12
There are changes required for the ember upgrade but additional changes
for individual libs are also present. Commit has been squashed, see
individual commits if needed.

There are a bunch of HBS changes as well. These are to deal with a
couple new rules and there impact is low. The button one has bitten us a
few time so this seemed great to add IMO.

update ember 3.12.4

ember 3.13

fixes for new eslint rules

ember 3.13->3.14

ember3.14->3.16

ember3.16->3.20

3.20 lint rules

yarn upgrade

update ember-optional-feature

update deps that can go to patch versions

upgrade major versions that are possible

update ansi_up

only reset term var if we're not destroying

prevents new ember 'same computation' error

update async

upgrade dot-object

new-catalog - add set to deal with new warning
marked-down - drop call into next to ensure its called at the correct time

upgrade ember-assign

update ember-cli-clipboard

remove unused & deprecated ember-cli-release

remove unused drag-drop lib

use set on tracked prop

update ember-flatpickr && cli-test-loader

upgrade ember-href-to

update filesaver

update liquid-fire and ipaddr

upgrade jsondiffpatch

upgrade marked

upgrade semver

update xterm

Update ember-basic-dropdown

the library has changed quite a bit and no longer provides an addon for the content-item where we handling the click event to close the dropdown,
thus click events must be added manually to the items being clicked to close the dropdown.

udpate dompurify

fix page header project styles

Bump ember api store, remove npm-run-all

Autofix button types from hbs linting

this change looks large but only adds `type` button to any buttons that dont have a type, which should help to reduce weird side effects

more hbs lint changes for no-negate-condition

turned off a couple rules that could be too much to test right now
2020-10-07 16:52:22 -07:00
Westly Wright 316252dd82
cluster level monitoring enabled warning
rancher/rancher#29006
2020-09-30 10:39:42 -07:00
Westly Wright b95399afeb
Only show cluster explorer links if the cluster is ready
this prevents the user being sent to a non-existant page

rancher/rancher#29199
2020-09-28 10:18:36 -07:00
Westly Wright 4473310039
Add warning when Rancher Monitoring Namespace exists
rancher/rancher#29006
2020-09-28 09:16:25 -07:00
Denise Schannon c4ea789f79 Change from info to warning for deprecation banners. Updated istio isnt enabled banner to info to match monitoring. 2020-09-26 11:14:34 -07:00
Vincent Fiduccia 46610de6f5
Logging, Monitoring, CIS banners 2020-08-28 17:57:54 -07:00
Vincent Fiduccia aa4799e9ac
More ember vs vue and new in 2.5 stuff 2020-08-27 17:52:07 -07:00
Vincent Fiduccia d7436d4059
Ember<->Vue integration & login 2020-08-26 03:47:59 -07:00
Westly Wright 4925f54ef7
Expose node group versions on eks v2 node groups
adds both tooltip warning on cluster row and alert warning on cluster dashboard

version can only be updated on edit when cluster version is different from node group version
all other times we set the node group version to the clusters version

rancher/rancher#28335
2020-08-14 16:38:02 -07:00
Westly Wright 44ceaedaef
Update cluster model param provider
backend added there own provider param so this just renames the provider to clusterProvider

rancher/rancher#28355
2020-08-14 09:55:27 -07:00
吴远翔 2111bbffad Fix dockerVersion display issue 2020-05-06 20:11:16 +08:00
Westly Wright 9400ca31e7
If etcd component status unavailable, grey out
rancher/rancher#26402
2020-04-09 10:37:25 -07:00
loganhz d7376e21cb Display hosted k8s cluster region in cluster dashboard 2020-03-31 00:14:33 +08:00
Westly Wright a9ba72a73a
Only show rotate action in tooltips and banners if exists on model
rancher/rancher#25563
2020-02-28 15:44:26 -07:00
Westly Wright f718b13afe
add node args component 2020-02-25 14:25:18 -07:00
Westly Wright 191ebd31dd
Expose k3s node args and env vars for imported k3s clusters
rancher/rancher#25400
2020-02-25 10:42:09 -07:00
n313893254 796baf2f54 Incorrect node memory usage gauge when cluster monitoring is enabled
https://github.com/rancher/rancher/issues/23786
2019-11-01 20:18:31 +08:00
Westly Wright fcad0a2953
Merge pull request #3409 from codyrancher/grafana
Move Grafana options to own section
2019-10-02 14:02:06 -07:00
Westly Wright 0ef600f737
Merge pull request #3405 from westlywright/issue.21099
[2.3.2] Dynamically change version label on node dashboard
2019-10-02 14:00:17 -07:00
Westly Wright d145445d25
Upgrade ember-intl to latest version
remove prototype extension

Remove translations from engines

The motivation behind this change stems from this issue ember-intl issues/797
and the current implmentation of engine support in ember-intl. The translations
essentially get bundled twice. Until ember-intl removes the second bundle it
makes sense to keep the translations in the main ui file.
2019-10-02 13:46:37 -07:00
Cody Jackson 32be99a9ae Move Grafana options to own section
The Grafana storage options were confusingly in the middle of the
Prometheus options on the Cluster Monitoring Configuration page.
To resolve this we moved the Grafana options to be below the
Prometheus options and above the advanced otpions.

rancher/rancher#22885
2019-10-01 15:26:49 -07:00
Westly Wright 1c30a15ee1
general cleanup 2019-10-01 09:00:56 -07:00
Westly Wright 5fce14597a
Dynamically change version label on node dashboard for dock/contd
Checks the os info to see if its docker or container d and display the
appropriate label in each case.

rancher/rancher#21099
2019-10-01 09:00:56 -07:00
Cody Jackson acc6145586 Improve robustness of showing template/revision
- We will only conditionally render template/revision section on the
monitoring page if the cluster is using a template. This was
crashing the page before.
- We will now make sure there's a string when invoking replace
when generating the template and revision display names.
- We will now respect the enable flag of template revisions
when determining if an upgrade is available.

rancher/rancher#23126
2019-09-27 12:20:29 -07:00
Cody Jackson 71a7fb8d2d Include Template/Revision in cluster table
We want to make it easier for someone that is managing multiple
clusters to see what template and template revision a cluster
is using. We also want to make it easy for a user to notice
that a cluster isn't using the latest revision.

To achieve this we added the template and revision to a column
in the clusters table to display both. We also indicate add
a warning badge beside a revision when the revision isn't
the latest.

rancher/rancher#22047
2019-09-26 09:20:45 -07:00
Vincent Fiduccia 4e7b7e45ad
Merge pull request #3350 from loganhz/k8s-events
Show Kubernetes events in UI
2019-09-12 17:15:01 -07:00
loganhz 9f8acf0d39 Show Kubernetes events in UI 2019-09-12 14:44:30 +08:00
n313893254 0f09e6e756 Fix typo 2019-09-12 12:25:45 +08:00
n313893254 9b57a156b7 Fix answers for Monitoring Disappear After Save
https://github.com/rancher/rancher/issues/22801
2019-09-12 11:42:48 +08:00
Tejeev b60534fe55
Added 'that' to monitoring message to clarify 2019-09-09 23:13:33 +01:00
xiaolu hong 66bca20123 update zh-hans 2019-09-04 21:24:10 +08:00