consul/ui/packages/consul-ui/app/helpers
Chris Hut 22e6ce0df1
Add nav bar item to show HCP link status and encourage folks to link (#20370)
* Convert consul-hcp to a simpler component

* update existing test to use envStub helper

* An hcp link item for the navbar

* A method of linking to HCP

* Hook up fetching linking status to the nav-item

* Hooking up fetching link status to the hcp link friend

* Adding some tests

* remove a comment - but also fix padding justify-content

* Fix the banner tests

* Adding permission tests as well

* some more sane formatting

* Rename function with its now multipurpose use

* Feature change: No more NEW Badge since it breaks padding - instead a linked badge

* Removing unused class
2024-02-01 15:04:01 -08:00
..
policy feat: Change global-read-only policy to non editable (#18602) 2023-09-01 11:05:32 -07:00
service [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
token [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
adopt-styles.js [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
adopt-styles.mdx
atob.js [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
cached-model.js [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
class-map.js [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
class-map.mdx
collection.js [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
css-map.js [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
css.js [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
document-attrs.js [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
dom-position.js [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
duration-from.js [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
duration-from.mdx
env.js [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
flatten-property.js [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
format-short-time.js [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
hcp-resource-id-to-link.js Add nav bar item to show HCP link status and encourage folks to link (#20370) 2024-02-01 15:04:01 -08:00
href-to.js [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
icon-mapping.js [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
icons-debug.js [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
is-href.js [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
is-href.mdx
is.js [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
is.mdx
json-stringify.js [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
last.js [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
left-trim.js [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
merge-checks.js [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
percentage-of.js [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
refresh-route.js [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
render-template.js [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
render-template.mdx
require.js [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
right-trim.js [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
route-match.js [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
slugify.js [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
smart-date-format.js [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
split.js [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
state-chart.js [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
state-matches.js [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
style-map.js [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
style-map.mdx
substr.js [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
svg-curve.js [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
temporal-format.js [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
temporal-within.js [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
test.js [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
test.mdx
to-hash.js [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
to-route.js [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
tween-to.js [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
uniq-by.js [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
unique-id.js [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
uri.js [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00