Commit Graph

95 Commits

Author SHA1 Message Date
Matthew Irish
cedd6208b2
UI - cross-browser svg scaling fixes (#6933)
* fix icon sizing in firefox

* specify height becuase IE likes to make things way too tall
2019-06-20 10:55:23 -05:00
Noelle Daley
f2779179af
Add HTTP Request Volume page (#6925)
* Add http request volume table (#6765)

* init http metrics page

* remove flex-table-column

* add http requests table

* calculate percent change between each counter

* start percent change tests

* style request table

* show percent more/less glyph

* add percent more less tests

* add inline alert about recorded metrics

* make arrows diagonal

* remove conditional inside countersWithChange

* add better error msg

* use tagName and wrapping element a la glimmer components

* extend ClusterRouteBase so auth and seal checks happen

* make table accessible

* remove curlies

* add HttpRequestsTable to storybook

* make table accessible

* use qunit dom for better assertions

* remove EmptyState since we will never have 0 requests

* ensure counters is set in test context

* Http request volume/add barchart (#6814)

* Add http request volume table (#6765)

* init http metrics page

* remove flex-table-column

* add http requests table

* calculate percent change between each counter

* start percent change tests

* style request table

* show percent more/less glyph

* add percent more less tests

* add inline alert about recorded metrics

* make arrows diagonal

* remove conditional inside countersWithChange

* add better error msg

* use tagName and wrapping element a la glimmer components

* extend ClusterRouteBase so auth and seal checks happen

* make table accessible

* remove curlies

* add HttpRequestsTable to storybook

* make table accessible

* use qunit dom for better assertions

* remove EmptyState since we will never have 0 requests

* ensure counters is set in test context

* add http-requests-bar-chart

* add HttpRequestsBarChart tests

* add HttpRequestsBarChart to Storybook

* format total number of requests according to locale

* do not show extra minus sign when percent change is negative

* add link to request metrics in status bar menu

* only show bar chart if we have data for more than 1 month

* make ticks lighter

* ensure charts show data for correct month

* make example counters response look like the adapter response instead of the raw api response

* ensure ui shows the same utc date as the api response

* add format-utc tests

* downgrade to d3 v4 to support ie11

* add gridlines

* move dasharray to css

* use scheduleOnce instead of debounce to prevent multiple re-renders

* add key function to bars

* add exit case when data is no longer in parsedCounters

* fix timestamp in table test

* fix timestamps

* use utcParse and fallback to isoParse for non-UTC dates

* fix bar chart tests
2019-06-19 16:14:25 -07:00
Joshua Ogle
2fab20e082
UI: Remove upgrade modal (#6871)
* Remove upgrade-link component
* Hide enterprrise links from OSS
* Don't show sidebar if they can't use the options
2019-06-14 15:46:18 -06:00
Matthew Irish
82cedbba36
don't use fit-content, ff doesn't love it (#6763) 2019-05-20 16:00:36 -05:00
Joshua Ogle
6603a86499
UI: Confirm Action as a popover
* Refactors ConfirmAction implementation as a popover
* Improves copy surrounding consequences of destructive actions
* Moves 'Delete' buttons to Toolbar
2019-05-17 11:29:21 -06:00
Matthew Irish
6d273dc368
UI ember engines (#6718)
Adds replication engine and core in-repo addon
2019-05-13 14:05:25 -05:00
Joshua Ogle
88737395d6 Move auth form toolbar back 2019-05-09 10:07:13 -06:00
Joshua Ogle
acbcdc6892 Simplify Toolbar Link components 2019-05-08 23:42:40 -06:00
Joshua Ogle
4760a3b3c9 Better toolbar container style 2019-05-08 17:08:39 -06:00
Joshua Ogle
30a148f842 Add Toolbar component 2019-05-08 17:08:39 -06:00
Joshua Ogle
2db3653774 UI: Fix select arrow 2019-04-25 08:11:10 -05:00
Joshua Ogle
796e2e21cc Fix User menu links on mobile 2019-03-29 13:50:19 -06:00
Joshua Ogle
9f23b1de38 Hide footer links on mobile 2019-03-28 16:15:48 -06:00
Matthew Irish
50c7797984
UI - jwt auth (#6188)
* fix default rendering of svg and allow plugins access to mount tune form

* add auth-jwt component

* add callback route, and allow it to be navigated to on load

* add jwt as a supported auth method

* use auth-jwt component and implement intial oidc flow

* allow wrapping un-authed requests

* pass redirect_url and properly redirect with the wrapped token

* popup for login

* center popup window and move to localStorage events for cross window communication because of IE11

* access window via a getter on the auth-form component

* show OIDC provider name on the button

* fetch default role on render of the auth-jwt component

* simplify auth-form template

* style callback page

* refetch auth_url when path changes for auth-jwt component

* fix glimmer error on alias metadata, and add back popup-metadata component

* fix link in metadata page

* add logo-edition component and remove use of partial for logo svg

* render oidc callback template on the loading page if we're going there

* add docs icon and change timeout on the auth form

* move OIDC auth specific things to auth-jwt component

* start to add branded buttons for OIDC providers

* add google button

* finish branded buttons

* update glyph for error messages

* update tests for auth screen not showing tabs, add adapter tests and new auth jwt tests

* start auth-jwt tests

* simplify auth-jwt

* remove negative top margin on AlertInline

* only preventDefault if there's an event

* fill out tests

* sort out some naming

* feedback on templates and styles

* clear error when starting OIDC auth and call for new auth_url

* also allow 'oidc' as the auth method type

* handle namespaces with OIDC auth

* review feedback

* use new getters in popup-metadata
2019-02-14 09:39:19 -06:00
Noelle Daley
679c09e60f
UI/gate wizard (#6094)
* check for capabilities when finding matching paths

* disable wizard items that user does not have access to

* make hasPermissions accept an array of capabilities

* refactor features-selection

* fix tests

* implement feedback
2019-01-28 14:49:25 -08:00
Noelle Daley
20deed3a3d
Add Policy-based Navigation (#5967)
* add permissions service

* start template helper

* match prefixed paths

* gate sidebar links

* land on first page user has access to

* show nav when user first logs in

* clear paths when user logs out

* add tests

* implement feedback

* show all nav items if no policy is found

* update onboarding wizard

* fix some unrelated tests

* add support for namespaces

* gate wizard

* unstage package and lockfile
2019-01-18 14:04:40 -08:00
madalynrose
b4edf515be
Search select (#5851) 2018-12-10 11:44:37 -05:00
Noelle Daley
eef531445b
mask password on ldap auth form (#5898) 2018-12-07 13:23:42 -08:00
Matthew Irish
6414fc32bf
UI - web cli layout (#5909)
* move console/ui-panel into nav-header component

* notch-specific CSS

* add layout test in the application for the console
2018-12-07 14:00:52 -06:00
Noelle Daley
c2fd8b408b
style replication management warnings (#5852) 2018-11-27 14:40:33 -08:00
Joshua Ogle
7265debd8e UI: Fix popup menu active color and license link 2018-11-26 22:42:42 -07:00
Noelle Daley
bb9a6ff2a5 remove scrollbars from auth form 2018-11-26 11:13:07 -08:00
Matthew Irish
8f481125f7
UI - build optimize (#5784)
* remove ember-cli-favicon

* link to png favicon in public folder

* skip some things in the build depending on the env

* update to ember-cli 3.5.0 for broccoli 2, and ember-fetch because it was incompatible with broccoli 2

* update some things the new sass module wasn't happy about

* turn off more things in dev to make the build faster

* bump to the latest ember-cli and move back to node-sass

* remove sass since we're using node-sass

* include polyfill in test as well
2018-11-26 12:47:56 -06:00
Matthew Irish
767f35e10e
UI secondary dr recovery token fix (#5818)
* use the OTP that the server provides instead of generating one in the JS client

* fix button styling

* differentiate between OTP and encoded token and encrypted token in the template
2018-11-19 15:14:24 -06:00
Matthew Irish
2d864cb141 don't use bulma classes for empty-state 2018-11-15 16:48:16 -06:00
Joshua Ogle
865d10e3d3 Add Empty State component 2018-11-15 16:47:41 -06:00
madalynrose
5fcd87a07f
Add Response Wrapping For Secrets (#5664) 2018-11-12 11:27:06 -05:00
Matthew Irish
be33d6580b
UI - new token renew banner (#5662)
* move warning banner out of token-expire-warning and into user menu
* check renewal status every 5s, and resume auto-renew if a user becomes active again
* use a link in the token-expire-warning
* add test for new expiration functionality
* fix license test
* use features helper in license test
* fix import
* use yarn 1.12.1
* remove mirage
* skip some tests for now
* use eslintignore
* logout after auth tests
* use new alert-banner for auth info warning
* add data-test selector back
* move identity back to a button, and style button.link
* make the warning message the right color
* fix shamir test
* review feedback
2018-11-05 10:56:59 -06:00
Joshua Ogle
b642b6a78c Add Inline Alert component 2018-11-02 11:21:15 -06:00
Joshua Ogle
e768e6a596 Style popup alerts 2018-11-02 09:37:31 -06:00
Joshua Ogle
c5a250f1d5 Style Alert Banners 2018-11-02 09:22:22 -06:00
madalynrose
7eb7de3d59
mask init keys (#5657) 2018-10-31 17:41:21 -04:00
madalynrose
abd6eb88c2
add copy button to kv secrets masked input (#5627) 2018-10-31 13:13:57 -04:00
Matthew Irish
7e339b117c
UI - New navbar and mount icons everywhere (#778)
New look for the navbar and new functionality on mobile. Also includes new look for the mounts list and headers in secret engines.
2018-10-21 14:19:34 -05:00
Matthew Irish
a58745b6b6
UI - kv v2 versions page (#5563)
* add versions routes

* move commands and permissions check to stand-alone menu component

* add versions template

* make list-item component more flexible and use hasMenu to optionally render the menu

* move current check next to the version

* fix linting

* remove is-wide from secret list popup
2018-10-19 17:24:57 -05:00
Matthew Irish
aa1859f71e fix styling and only focus input type=text 2018-10-18 14:55:49 -05:00
Matthew Irish
f36b9da02f fix error with namespaces by reloading, new switch styles 2018-10-18 14:55:49 -05:00
Matthew Irish
ffee108908 fix padding on masked-input and web cli 2018-10-18 14:55:49 -05:00
Matthew Irish
5d3c576b80 make delete, destory, undelete work via the ui 2018-10-18 14:55:48 -05:00
Matthew Irish
66a4c26184 extract list-header css component to match header from namespace-picker 2018-10-18 14:55:48 -05:00
Matthew Irish
8df0b9942e blue toggle switch 2018-10-18 14:54:35 -05:00
madalynrose
34c815b37a
UI: onboarding wizard progress bar (#5516)
Onboarding will now display your progress through the chosen tutorials
2018-10-18 15:19:50 -04:00
Matthew Irish
bf3d2185c4
UI aws engine tweaks (#5294)
* allow passing a path for options so that it can be extracted from the model

* add cred type selector for the aws generate form

* style hint text on generate creds form

* add tests for aws-credential adapter

* allow for the case where we might have zero ttl

* show error for TTL picker if a non-number is entered for the duration part of the TTL

* fix positioning of tooltips

* fix ttl rendering with invalid input for initialValue
2018-09-28 16:45:30 -05:00
Matthew Irish
6f89952767
Ember update (#5386)
Ember update - update ember-cli, ember-data, and ember to 3.4 series
2018-09-25 11:28:26 -05:00
Joshua Ogle
e38bc6b5c8 Fix arrows on select inputs (#5282) 2018-09-06 10:56:09 -04:00
Joshua Ogle
67ce775ba5 Address PR feedback for Guide style updates 2018-09-04 13:15:14 -06:00
Joshua Ogle
2061120c17 Fix wizard header button 2018-08-29 20:40:32 -06:00
Joshua Ogle
5bd2fc34fb Make wizard header line up with page header 2018-08-29 18:30:00 -06:00
Joshua Ogle
33053dee50 Animate wizard trigger, move instructions text to make things clearer 2018-08-29 17:16:50 -06:00
madalynrose
f913d4c1d7 UI Onboarding Wizards (#5196) 2018-08-28 00:03:55 -05:00