Commit Graph

28 Commits

Author SHA1 Message Date
Richard Cox 16578fdd18 yarn link:fix 2024-07-30 15:27:49 +01:00
Richard Cox 29eb284f54 ember-cli-update --run-codemods 2024-07-30 15:27:49 +01:00
Lauren Harden fce4e2de9f
iframe issues in vue from ember (#4690)
* 3370

* fix

* 33449

* 33450

* 33469

* lint

* spacing in hbs

* manual tidy part 1

* fixes part 2

* Fix reformatting issues

* Fix more formatting changes

* More formatting fixes

* Fix more formatting

* Fix test due to style changes

Co-authored-by: Neil MacDougall <nmacdougall@suse.com>
2021-07-15 09:36:49 +01:00
Westly Wright b8ae49352b
hide local cluster from header & global clusters list if hide local true
if the new setting hide-local-cluster exists and is true we will hide the local cluster in the UI. this doesnt prevent api access.
additionally if the setting is true and a user attempts to navigate directly to a cluster or project route we will redirect them to the authenticated index route which redirects to global admin.

rancher/rancher#29325
2020-10-22 16:04:31 -07:00
Westly Wright 790231ff80
remove conflicting close action on page-header-project
when i ugpraded ember basic dropdown the mechanism we previously used to close the dropdown on click was removed and as a result I added the recommended method closing the dropdown.
the problem was that page-header-project and hover-drowndown worktogether to close the dropdown as well and the conflict was causing a full page refresh due to the close method.
ive dropped the conflicting action and instead moved the close logic to hover dropdown in the routeWillChange method since its knows its context in regards to the dropdown.
at this point the `a` in page header project will have been magically clicked and the component is done with publicDropDownApi so it can be set null.
2020-10-15 11:23:54 -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
loganhz e34fd9f11f Fix project switch issue on mobile 2020-05-27 14:46:47 +08:00
loganhz f45a7d2b40 Fix project switching issue on mobile 2020-05-25 21:23:30 +08:00
Cody Jackson 6718c4886e Addressing a number of ember deprecations
- Moved from Ember.$() to importing jquery.
- Moved from fn().on() to on(fn())
- Moved from fn().observes() to observer(fn())

This got /g/clusters from 27 warnings to 5 warnings for me.
2019-10-03 10:53:36 -07:00
Vincent Fiduccia a353a21a58
Revert "[RFE] Add Edit Project link from within project views"
This reverts commit 88c89e5799.
2019-08-21 15:34:12 -07:00
n313893254 88c89e5799 [RFE] Add Edit Project link from within project views
https://github.com/rancher/rancher/issues/21345
2019-08-21 11:20:51 +08:00
Westly Wright 68bf9ab276
better handling for long display names in tiered cluster/project nav
rancher/rancher#17381
2019-05-13 15:27:23 -07:00
Westly Wright df1562777a
Styling issue with nav dropdowns being rendered in place 2019-05-06 12:26:00 -07:00
Westly Wright 0e03164224
Header menu tabbing
Add tabbing handler logic for js dropdown menus. this also removes all top level
nav links for menus only, normal header links function correctly.

rancher/rancher#16709

Add up/down arrow actions for hover dropdown component

correct page-header-project & user-nav arrow nav

pass assign helper down to login engine for langauge dropdown comp

Add arrow key handler page-header-project menu

change focus style for trigger links
2019-05-01 14:30:59 -07:00
Westly Wright 68efcfdbe4
Ensure we're not in a transition when opening the global menu
rancher/rancher#19300
2019-04-24 15:54:03 -07:00
Westly Wright 90ad09aa79
ensure page-header-project dropdown is closed when route changes
also updated ember-basic dropdown

rancher/rancher#19300
2019-04-04 14:33:59 -07:00
Vincent Fiduccia 2fd0b0ead3
Project hover color, arrow, divider 2019-03-22 14:46:38 -07:00
Westly Wright 39fe8156f0
rework catalogs/apps/tools nav menus
rancher/rancher#18847
2019-03-13 11:39:41 -07:00
lvuch ab711f2d12 16732 2019-01-08 15:01:12 -07:00
lvuch 00c0f3ea65 finish 16735 2019-01-08 14:54:41 -07:00
lvuch 0d640369e4 minor cleanup for merge 2019-01-03 10:33:01 -07:00
lvuch fa545ebaf9 button fixes for 16924 2019-01-03 10:33:01 -07:00
lvuch 3ff07a63ce minor cleanup for merge 2019-01-03 10:29:07 -07:00
lvuch ec7ba54e88 fix search bar, hover of user menu 16708 2019-01-03 10:29:07 -07:00
lvuch 784a7ae2c8 button fixes for 16924 2019-01-03 10:29:07 -07:00
Vincent Fiduccia 8ac74e342b
Fix HTML escaping of search results 2018-11-28 16:48:09 -07:00
Vincent Fiduccia 13c5aab8f5
Empty cluster/project messages 2018-11-21 11:25:14 -07:00
Vincent Fiduccia 9d9fc34285
Tiered cluster dropdown 2018-11-15 16:21:37 -07:00