Tyler Wendlandt
b8347ae8c6
ui: Add ServerExternalAddresses to peer token create form ( #15555 )
...
* ui: Add ServerExternalAddresses field to token generation
* Add test for ServerExternalAddresses on peer token create
* Add changelog entry
* Update translations
* Format hbs files
* Update translations
2022-11-30 11:42:36 -07:00
Tyler Wendlandt
c55ec2823b
Merge pull request #15153 from hashicorp/ui/chore/update-icons-to-use-flight-icons-component
...
ui: update icons to use flight icons component
2022-10-27 15:21:56 -06:00
wenincode
f1ce34836f
Replace main consul logo with FlightIcon
2022-10-27 14:28:10 -06:00
wenincode
2dd31ff96f
Format index template
2022-10-27 14:23:41 -06:00
Michael Klein
67905f8348
Merge pull request #15159 from hashicorp/ui/fix-peered-service-not-unique-based-on-peer
...
ui: Fix PeerName is part of service uniqueness
2022-10-27 20:26:50 +02:00
Michael Klein
288bb16cd5
Merge pull request #15158 from hashicorp/ui/improve-layout-address-list-peer-detail
...
ui: Improve layout address list peer detail
2022-10-27 20:26:30 +02:00
wenincode
46ba6174d5
Format intentions table hbs template
2022-10-26 11:46:35 -06:00
wenincode
4dbb1e16f4
Replace k8s informed action with flight icon
2022-10-26 11:07:42 -06:00
Michael Klein
033694e6a3
Fix PeerName is part of service uniqueness
...
We need to make a PeerName part of a the service id when present.
This makes sure that peers can export services named
the same as other peers but have the UI still treat them
as separate services.
2022-10-26 17:34:45 +02:00
Michael Klein
e5130be812
Merge pull request #15156 from hashicorp/ui/peer-create-redirect-to-show
...
ui: peer create redirect to show
2022-10-26 17:16:28 +02:00
wenincode
c1800b9187
Remove consul logo icons
2022-10-26 08:57:43 -06:00
wenincode
cbc150f7bf
Update iconography documentation
2022-10-26 08:57:31 -06:00
Michael Klein
ca0dbe2052
Improve layout address list peer detail
2022-10-26 16:17:05 +02:00
Michael Klein
41e50a0f8d
Merge pull request #15148 from hashicorp/ui/update-hds-usage-best-practices
...
UI: update hds usage to hds best practices
2022-10-26 16:10:05 +02:00
wenincode
6a4cd42a2b
Remove shadow-template/host and related components
2022-10-26 08:07:35 -06:00
wenincode
b34244c62d
Remove template log
2022-10-26 06:43:57 -06:00
Michael Klein
3ba50bd5a3
Redirect to peers.show after establishing peering
2022-10-26 11:15:57 +02:00
Michael Klein
63a2d5a1f5
Prettify peers.index template
2022-10-26 11:15:06 +02:00
Michael Klein
44c7614b3b
prettify peer/initiate form
2022-10-26 10:11:41 +02:00
wenincode
f96b45b9f0
Add back logo-consul-color
2022-10-25 14:13:12 -06:00
wenincode
ee9481d3aa
Remove some icons
2022-10-25 14:02:38 -06:00
wenincode
9eb97b29f9
Use FlightIcon component for k8s type select in authmethods
2022-10-25 12:01:09 -06:00
wenincode
64904d35da
Format auth method search bar template
2022-10-25 11:55:09 -06:00
wenincode
59936ae661
Set the color to black for vault
2022-10-25 11:44:27 -06:00
wenincode
4d47dd78e7
Share code with new icons for sources select
2022-10-25 11:12:15 -06:00
Michael Klein
0c2903a730
Update hds-docs with custom utility class
2022-10-25 18:40:36 +02:00
wenincode
19e99f0188
Update icon-map to work for auth methods
2022-10-25 07:14:55 -06:00
Michael Klein
bdbeb9e3f6
Use HDS utilities instead of tailwind peer details
2022-10-25 14:17:40 +02:00
Michael Klein
b73e64f896
Update HDS docs
2022-10-25 14:03:31 +02:00
Michael Klein
7e4d12d8d0
Disable custom color utilities based on hds colors
...
We want to use the utility classes that HDS provides instead.
2022-10-25 14:03:11 +02:00
wenincode
d1019c25ce
Use FlightIcon component for external sources
2022-10-24 13:39:28 -06:00
Michael Klein
653b390005
fix: customize eai publicAssetURL in production
...
The `lib/startup`-addon is used to create a custom
index.html page to boot up the app. Because this is
a custom approach and we aren't relying on setting
rootURL to a different value when running the app
in `production` we need to set `publicAssetURL`
in the configuration we pass to `ember-auto-import`.
Reference:
9a2887f1d0/docs/upgrade-guide-2.0.md (quick-summary)
2022-10-24 14:28:58 +02:00
Tyler Wendlandt
2354c06a93
Merge pull request #15085 from hashicorp/ui/feature/net-889-prepopulate-partition-sso-login
...
ui: NET-889 pre-populate partition SSO login
2022-10-21 09:07:04 -06:00
wenincode
88670b2a12
Remove extra partition test
2022-10-20 16:23:53 -06:00
Michael Klein
c35556caa7
Merge pull request #15023 from hashicorp/ui/fix/token-secret-id-handling
...
ui: Fix token in cookie passthrough
2022-10-20 08:49:37 +02:00
wenincode
f0cdbb00b3
Pre-populate partition on sso login
2022-10-19 17:26:25 -06:00
Tyler Wendlandt
2a9cc3f084
Merge pull request #14971 from hashicorp/ui/feature/agentless-nodes-banner
...
ui: agentless nodes notice banner banner
2022-10-19 09:06:46 -06:00
Michael Klein
7285a9160f
Cleanup app boot by using hcp service
2022-10-19 08:34:36 +02:00
Michael Klein
14b90314e9
Encapsulate hcp related logic in service
2022-10-19 08:34:36 +02:00
Michael Klein
dcdcdbc5ea
Fix `TokenSecretID`-handling
2022-10-19 08:34:36 +02:00
Michael Klein
cc25602df1
Add tests for TokenSecretID handling
2022-10-19 08:34:30 +02:00
wenincode
15d14ba308
Enable synthetic nodes in mock data via env var
2022-10-18 13:45:14 -06:00
wenincode
9da2a73785
Call super with arguments to safeguard against future changes
2022-10-18 11:53:24 -06:00
wenincode
815439b593
Update yarn lockfile
2022-10-18 10:17:03 -06:00
wenincode
c450183b4c
Use local-storage service to manage localStorage
...
Use local-storage service, prototyped here https://github.com/LevelbossMike/local-storage-service , to manage local storage usage in an octane way. Does not write to local storage in tests by default and is easy to stub out.
2022-10-18 09:40:47 -06:00
Michael Klein
47053c185d
Improve testability `env`-service
2022-10-18 16:07:12 +02:00
wenincode
63c4d670d9
Set postfix for agentless-notice storage key based on partition and dc
2022-10-14 14:08:40 -06:00
wenincode
6c2ca0ba3f
Save agentless node notice dismissal per dc
2022-10-14 12:21:25 -06:00
Tyler Wendlandt
0c8563f060
Merge pull request #14986 from hashicorp/ui/feature/filter-node-healthchecks-agentless
...
UI: filter node healthchecks on agentless service instances
2022-10-14 09:33:45 -06:00
Michael Klein
03734a1bac
Merge pull request #14977 from hashicorp/ui/fix/scrollbar-bento-box
...
ui: Bento-Box show scrollbars only when necessary
2022-10-14 09:07:57 +02:00
wenincode
c85d70e80d
Address linting errors
2022-10-13 19:05:19 -06:00
wenincode
9355d0d4f6
Add tests for filtering node health checks
2022-10-13 18:45:15 -06:00
wenincode
4530e2e547
Format healthchecks template
2022-10-13 15:48:18 -06:00
wenincode
0eb250d3a0
Filter healthchecks for synthetic-nodes
2022-10-13 15:47:47 -06:00
wenincode
12a24a6d8c
Update peers show tests to look for serverAddresses tab
2022-10-13 13:06:11 -06:00
Jasmine W
09513e7ef2
Update index.js
2022-10-13 14:42:13 -04:00
Michael Klein
8a1609f6da
Bento-Box show scrollbars only when necessary
2022-10-13 20:27:19 +02:00
Jasmine W
56e3c0884e
UI: Copy changes for peering detail page
2022-10-13 13:45:03 -04:00
wenincode
e6134761be
Fix linting error
2022-10-13 10:59:48 -06:00
wenincode
09514daf0c
Move agentless-notice banner css to it's own file
2022-10-13 10:38:26 -06:00
Michael Klein
3872a36d93
Merge pull request #14973 from hashicorp/ui/chore/consol-api-gateway-bottom-sources-filter
...
ui: Always sort consul-gateway to bottom sources list
2022-10-13 18:34:45 +02:00
wenincode
d12a6c5e1a
Add tests for agentless-notice-banner
2022-10-13 10:29:03 -06:00
wenincode
8254f243ca
Move banner to component and make it dismissable
2022-10-13 10:29:03 -06:00
wenincode
4845b90c8e
Add banner for agentless node notice
2022-10-13 10:29:03 -06:00
Michael Klein
f06001352a
Always sort consul-gateway to bottom sources list
2022-10-13 17:13:00 +02:00
Tyler Wendlandt
e8748503c3
Merge pull request #14970 from hashicorp/ui/feature/filter-synthetic-nodes
...
ui: Filter synthetic nodes on nodes list page
2022-10-13 09:12:03 -06:00
Michael Klein
54409c9ac4
Add tests peers.show
2022-10-13 16:45:03 +02:00
Michael Klein
38fed7d2b6
Fix href-to persists hash
...
Copy passed hash before manipulating it.
Assigning to the same hash object will break href-to
because in certain scenarios href-to-helper will
not create a new object that gets passed to
`fsm-with-optional`-hrefTo method.
This is problematic for optional route-params, and lead
to a situation where links to peered services would
create the wrong url for their href-attribute.
2022-10-13 16:45:03 +02:00
Michael Klein
0653bb57ac
Update peering mocks
2022-10-13 16:45:03 +02:00
Michael Klein
19fbdb7a0b
Fix linting error dimension service
2022-10-13 16:45:03 +02:00
Michael Klein
6b34e3e91a
Fix peering regenerate test
...
* only dialers will show a regenerate token action
* add test that receivers won't show regenerate action
2022-10-13 16:45:03 +02:00
Michael Klein
491de53154
Update yarn.lock
2022-10-13 16:45:03 +02:00
Michael Klein
7178604f4a
Don't `--focus` for dist-vercel
...
This breaks the vercel deploy as `--focus` will try to install
workspace dependency from the registry:
Reference:
https://github.com/yarnpkg/yarn/issues/5864
https://github.com/yarnpkg/yarn/issues/6715
2022-10-13 16:43:54 +02:00
Michael Klein
041e7c4626
Link to peer.show service-instance peer-info
2022-10-13 16:43:54 +02:00
Michael Klein
e548bbb4ff
Prettify dc.services.show template
2022-10-13 16:43:54 +02:00
Michael Klein
a33feb2b41
Use translations for empty states peers.show
2022-10-13 16:43:54 +02:00
Michael Klein
0532dcc441
Update dimension provider
...
* simplify implementation
* add docs
2022-10-13 16:43:54 +02:00
Michael Klein
35c7cc8ec1
Rename `peers.edit` to `peers.show`
2022-10-13 16:43:54 +02:00
Michael Klein
d6f0fe9f6e
Fix bucket-list display depends on navigation
...
We need to explicitly tell the UI to not show the bucket-list
when we are displaying imported services. If we make
this depend on the data we will sometimes not show
it due to data-loader caching.
2022-10-13 16:43:54 +02:00
Michael Klein
e55306e258
Match design order health states imported-services
2022-10-13 16:43:54 +02:00
Michael Klein
9030c32164
Use existing freefilter to match existing design
2022-10-13 16:43:49 +02:00
Michael Klein
71e20c3122
Add filtering for 'unknown' imported services
2022-10-13 16:43:49 +02:00
Michael Klein
42a725bffe
Add `unknown`-state predicate services
...
Based on the new peer relationship
2022-10-13 16:43:49 +02:00
Michael Klein
ebf7c91b11
Update imported/export count on peers
...
Api has changed we need to adjust accordingly.
2022-10-13 16:43:49 +02:00
Michael Klein
40e18c0e45
Add peer as a belongs-to to service
...
Working with a peer model as a relationship is much
easier than to workaround a non-relationship in
imported services. This is currently only relevant
for imported-services where we know the peer
in advance.
2022-10-13 16:43:49 +02:00
Michael Klein
45f06149d4
Always transition to imported peers.edit
2022-10-13 16:43:49 +02:00
Michael Klein
a61085258e
Prototype StreamStatus integration peers detail
2022-10-13 16:43:49 +02:00
Michael Klein
90259d7366
Move peering bento box into dedicated component
2022-10-13 16:43:49 +02:00
Michael Klein
e8db58c56b
Don't handle undefined in smart-date-format
...
We will handle that from the outside
2022-10-13 16:43:38 +02:00
Michael Klein
7600cb2e31
Add bento box peers.edit
2022-10-13 16:43:38 +02:00
Michael Klein
ecfb17bba0
Implement smart-date-format-helper
...
Add a helper that knows how to format past dates
in a smart way. When less than a week ago we will
use relative date strings - for dates older than a week
we will use a friendly human-readable format.
This matches best practices we want to adhere to
based on what Terraform did for date-formatting.
2022-10-13 16:43:38 +02:00
Michael Klein
ec8c6e0c47
Add empty state peers.edit.addresses
2022-10-13 16:43:38 +02:00
Michael Klein
128de18ac1
Add tooltips exported/imported tabs
2022-10-13 16:43:38 +02:00
Michael Klein
ec6d6d001f
Display tab tooltips in tab-nav
2022-10-13 16:43:38 +02:00
Michael Klein
7162005a70
Allow tabs to have tooltips
2022-10-13 16:43:38 +02:00
Michael Klein
56d83c316e
Link service in exported-service list
2022-10-13 16:43:38 +02:00
Michael Klein
33471be408
Show cursor peer-list
2022-10-13 16:43:38 +02:00
Michael Klein
20d80ed8eb
Implement imported services tab peers.edit
2022-10-13 16:43:38 +02:00
Michael Klein
312e6ff206
Display addresses when receiver peer.edit
2022-10-13 16:43:38 +02:00
Michael Klein
7956576019
Return all items without search term exported
2022-10-13 16:43:38 +02:00