open-consul/ui/packages/consul-ui/app/components/consul
Michael Klein 048572946c
ui: chore - upgrade ember and friends (#14518)
* v3.20.2...v3.24.0

* Fix handle undefined outlet in route component

* Don't use template helper for optional modal.open

Using the optional-helper here will trigger a computation
in the same runloop error. This is because we are setting
the `modal`-property when the `<Ref>` component gets
rendered which will update the `this.modal`-property which
will then recompute the `optional`-helper leading to this
error.

Instead we will create an action that will call the `open`-method
on the modal when it is defined. This gets rid of the double
computation error as we will not access the modal property
twice in the same runloop when `modal` is getting set.

* Fix - fn needs to be passed function tab-nav

We create functions in the component file instead
so that fn-helper stops complaining about the
need to pass a function.

* Update ember-exam to 6.1 version

"Makes it compatible" with ember-qunit v5

* scheduleOnce setMaxHeight paged-collection

We need to schedule to get around double-computation error.

* Fix - model.data is removed from ember-data

This has been private API all along - we need to
work around the removal.

Reference: https://github.com/emberjs/data/pull/7338/files#diff-9a8746fc5c86fd57e6122f00fef3155f76f0f3003a24b53fb7c4621d95dcd9bfL1310

* Fix `propContains` instead of `deepEqual` policy

Recent model.data works differently than iterating attributes.
We use `propContains` instead of `deepEqual`. We are only
interested in the properties we assert against and match
the previous behavior with this change.

* Fix `propContains` instead of `deepEqual` token

* Better handling single-records repo test-helper

`model.data` has been removed we need to handle proxies and
model instances differently.

* Fix remaining repository tests with propContains

We don't want to match entire objects - we don't care
about properties we haven't defined in the assertion.

* Don't use template helper for optional modal.open

Using a template helper will give us a recomputation error -
we work around it by creating an explicit action on
the component instead.

* Await `I $verb the $pageObject object` step

* Fix no more customization ember-can

No need to customize, the helper handles destruction
fine on its own.

* Fix - don't pass `optional` functions to fn

We will declare the functions on the component instead.
This gives us the same behavior but no error from
`fn`, which expects a function to be passed.

* Fix - handle `undefined` state on validate modifier

StateChart can yield out an undefined `state` we need
to handle that in the validate modifier

* Fix linting errors tests directory

* Warn / turn off new ember linting issues

We will tackle them one by one and don't want to
autofix issues that could be dangerous to auto-fix.

* Auto-fix linting issues

* More linting configuration

* Fix remaining linting issues

* Fix linting issues new files after rebase

* ui: Remove ember-cli-uglify config now we are using terser (#14574)

Co-authored-by: John Cowen <johncowen@users.noreply.github.com>
2022-09-15 09:43:17 +01:00
..
acl/disabled ui: Remove legacy ACLs (#11096) 2021-09-22 18:32:51 +01:00
auth-method ui: CopyableCode component (#13686) 2022-07-07 17:42:47 +01:00
bucket/list ui: Improve display peer info in service list (#14111) 2022-08-10 20:07:59 +02:00
datacenter/selector ui: Add 'self-managed' badge when CONSUL_HCP_MANAGED_RUNTIME=self (#14496) 2022-09-08 11:45:20 +01:00
discovery-chain ui: chore - upgrade ember and friends (#14518) 2022-09-15 09:43:17 +01:00
exposed-path/list ui: Replaces almost all remaining instances of SASS variables with CSS (#11200) 2021-10-07 19:21:11 +01:00
external-source ui: Add AWS Lambda as potential external source (#14605) 2022-09-14 18:38:03 +01:00
health-check ui: chore - upgrade ember and friends (#14518) 2022-09-15 09:43:17 +01:00
instance-checks ui: Ensure proxy instance health is taken into account in Service Instance Listings (#12279) 2022-02-10 15:28:26 +00:00
intention ui: chore - upgrade ember and friends (#14518) 2022-09-15 09:43:17 +01:00
kind ui: Update badge / pill icon sizing (#14282) 2022-08-23 13:02:40 -06:00
kv ui: chore - upgrade ember and friends (#14518) 2022-09-15 09:43:17 +01:00
loader ui: Fix brand coloring for inline-code plus docs (#11578) 2021-11-23 18:32:11 +00:00
logo Update brand assets (#10081) 2021-05-03 16:19:09 +01:00
metadata/list ui: Partitions Application Layer (#11017) 2021-09-15 19:50:11 +01:00
node ui: feature-flagged peering mvp (#13425) 2022-06-23 14:16:26 +01:00
node-identity/template ui: Adds partition support to Service and Node Identity templates (#11696) 2021-12-06 10:33:44 +00:00
peer ui: Surface peer info in nodes.show view (#13832) 2022-07-21 15:35:54 +01:00
policy ui: upgrade ember composable helper (#13394) 2022-06-08 16:07:51 +01:00
role ui: upgrade ember composable helper (#13394) 2022-06-08 16:07:51 +01:00
server ui: upgrade ember composable helper (#13394) 2022-06-08 16:07:51 +01:00
service ui: Improve display peer info in service list (#14111) 2022-08-10 20:07:59 +02:00
service-identity/template ui: Adds partition support to Service and Node Identity templates (#11696) 2021-12-06 10:33:44 +00:00
service-instance ui: upgrade ember composable helper (#13394) 2022-06-08 16:07:51 +01:00
source ui: Create Routing Configurations route and page (#10835) 2021-08-16 12:04:04 -04:00
token ui: upgrade ember composable helper (#13394) 2022-06-08 16:07:51 +01:00
tomography/graph ui: chore - upgrade ember and friends (#14518) 2022-09-15 09:43:17 +01:00
transparent-proxy Create TransparentProxy mode label for service instance page 2021-04-15 09:19:21 -04:00
upstream ui: upgrade ember composable helper (#13394) 2022-06-08 16:07:51 +01:00
upstream-instance ui: chore - upgrade ember and friends (#14518) 2022-09-15 09:43:17 +01:00