Commit graph

34 commits

Author SHA1 Message Date
Jon Koops
bd7ca9a7fa
Add utility function to pretty print JSON (#1310) 2021-10-08 20:21:09 +02:00
Erik Jan de Wit
145cf56a2b
fixes some issue on the events tab (#1150) 2021-09-27 10:52:02 +02:00
agagancarczyk
2237ee4d65
Realm setting profiles (#1149)
* admin-events-list: added PF code editor

* realm-settings: added template for client policies tab

* realm-settings: fixed space between text and q icon

* admin-events-list: hardcoded representation dialog

* realm-settings: css improvement

* realm-settings: feedback applied

* realm-settings: feedback applied

* admin-events-list: fixed representation dialog

* admin-events-list: fixed representation dialog

* Update src/events/AdminEvents.tsx

Co-authored-by: Jon Koops <jonkoops@gmail.com>

* admin-events-list: fixed representation dialog

* real-settings-profile: added subtabs

* realm-settings-list: added table displaying client profiles and delete dialog

* realm-settings-list: updated column name

* realm-settings-list: implemented radio button format change

* realm-settings-list: added buttons for JSON editor

* realm-settings-list: added isPaginated to profiles table

* realm-settings-list: impoved css for json editor

* realm-settings-list: fix for loader

* realm-settings-list: feedback fixes

* realm-settings-list: feedback fixes

* realm-settings-list: feedback fixes

* realm-settings-list: feedback fixes

* realm-settings-list: feedback fixes

* realm-settings-list: feedback fixes

* realm-settings-list: disbaled row when profile is global

* realm-settings-new-profile: added template for new profile - wip

* realm-settings-list: feedback fixes

* Add some @ts-ignore comments for the links

* Split routes into multiple files

* realm-settings: temporarily hardcoded path for cancelling new profile btn, bumped admin-client dep

* realm-settings: reverted back to Link

Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
Co-authored-by: Jon Koops <jonkoops@gmail.com>
2021-09-20 13:42:07 +01:00
agagancarczyk
b9208cb9c7
Admin events rep dialog (#1137)
* admin-events-list: added PF code editor

* realm-settings: added template for client policies tab

* realm-settings: fixed space between text and q icon

* admin-events-list: hardcoded representation dialog

* realm-settings: css improvement

* realm-settings: feedback applied

* realm-settings: feedback applied

* admin-events-list: fixed representation dialog

* admin-events-list: fixed representation dialog

* Update src/events/AdminEvents.tsx

Co-authored-by: Jon Koops <jonkoops@gmail.com>

* admin-events-list: fixed representation dialog

Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
Co-authored-by: Jon Koops <jonkoops@gmail.com>
2021-09-09 11:45:19 +01:00
agagancarczyk
6d4b11aab2
Admin events auth dialog (#1131)
* admin-events-list: updated keys for Auth modal

* admin-events-list:added cypress test for auth dialog

* admin-events-list:added cypress test for representation dialog

* admin-events-list: fixed keys def

* admin-events-list: fixed keys def

Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
2021-09-07 12:38:36 +01:00
agagancarczyk
6e8ec947b5
Admin search (#1108)
* admin events: wip

* admin events: wip

* admin events: wip

* admin events: finalised admin search

* admin events: fixed user event search test

* admin events: added cypress tests

* admin events: added cypress tests

* admin events: added cypress tests for admin events search

* admin events: added auth prefix on the params

* admin events: improved search tests

* admin events: attempted fixing search tests

* admin events: fixed cypress events search tests

* admin events: fixed user events search test

* admin events: fixed user and admin events search test

* admin events: fixed admin events search test

Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
2021-09-03 11:50:45 +01:00
mfrances17
299993d30b
Fix labels for user vs admin clear events (#1079)
* fix labels for user vs admin clear events

* fix lint issue unrelated to fixed issue
2021-08-27 15:18:23 -04:00
Jon Koops
e062603ff2
Remove useless React fragments (#1062) 2021-08-26 14:15:28 +02:00
Jon Koops
b15c240d9e
Fix broken import to admin client (#1077) 2021-08-26 13:04:21 +02:00
agagancarczyk
764421033f
events: reverted to Flex (#1076)
Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
2021-08-26 11:37:56 +01:00
agagancarczyk
2657eaf1d8
Events css fixes (#1074)
* admin events: decreased form width and spaces between fields

* events: css fixes

Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
2021-08-26 10:15:59 +01:00
Jon Koops
9850505001
Use pre-release version of Admin Client (#1063) 2021-08-26 10:39:35 +02:00
agagancarczyk
0fbd196380
Events search fixes (#1056)
* events: uncommented test for searching user events

* events: added refresh btn and tidied up css

* events: increased search form width

* events: removed unwanted Divider

* events: fixed grey line issue when no events logged, fixed test

* events: renamed css classes to make them reusable for admin search

* events: added admin events search ui

* events: fixed refresh btn on user events tab

Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
2021-08-25 15:19:26 +01:00
agagancarczyk
3469ccb509
events: search user events form, chips for searched fields and tests (#930) 2021-08-20 11:13:47 +02:00
Jon Koops
d2ca2bf247
Convert more links to use new routes (#933)
* Convert more links to use new routes

* convert server info dropdown

* Fix link with render prop
2021-08-10 09:07:59 -04:00
Jon Koops
45bd2fd385
Use FunctionComponent type for components needing 'children' prop (#977) 2021-08-10 13:18:48 +02:00
Jon Koops
88ae607148
Use new routing conventions for event routes (#903) 2021-07-23 16:41:42 +02:00
Jon Koops
41a0923bad
Introduce 'useRequiredContext' utility function (#882) 2021-07-21 11:30:18 +02:00
Jon Koops
234a2dcba6
Convert JSON files for translations to TypeScript (#841) 2021-07-14 12:15:48 +02:00
Jon Koops
64d5a498a6 Update Prettier to latest version and fix formatting 2021-07-05 15:26:07 +02:00
dependabot[bot]
0810e9f3e0 Bump prettier from 2.1.2 to 2.2.1
Bumps [prettier](https://github.com/prettier/prettier) from 2.1.2 to 2.2.1.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.1.2...2.2.1)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-05 11:37:27 +02:00
Erik Jan de Wit
544dcd31db
Introduces new Realm Events tab (#618)
* initial version events tab

* added save

* fix for admin events

* added clear and reset

* add type add dialog

* add remove and add actions

* fix ids

* add cofirm disable button

* added key

* added tests

* fixed messages

* add disabled on save on not dirty

* fixed review comment

* fixed test

* merged tests
2021-06-08 07:29:56 +02:00
Jon Koops
f671cbed84 Extend tsconfig from Snowpack and fix type errors 2021-05-18 16:50:35 +02:00
Erik Jan de Wit
9e5104b668
fixing UXD review issue (#529)
* fixing UXD review issue

fixing: #509

* added detail expandable sections
2021-04-20 08:28:21 -04:00
Erik Jan de Wit
42da9bf637 fixing issues defined in 510
fixing: #510
2021-04-15 12:23:36 +02:00
Erik Jan de Wit
74aee6090d
genericly we want all sections to look like this (#473)
* genericly we want all sections to look like this

* remove the divider when there are tabs on the page
* fix insert on keycloakTab component

* lint
2021-03-31 15:16:58 +02:00
Erik Jan de Wit
0d9b4ff054
created bookmarkable tabs component (#296) 2021-01-13 15:47:40 -05:00
Erik Jan de Wit
6ae437c86a
Updated DataTable to be capable of select (#251)
* removed unused models

* added selectable to `DataList`

* changed groups to use new `DataList`

* fixed filter for JSX.Elements columns

* better refresh
2020-12-14 09:57:05 +01:00
Erik Jan de Wit
78d65f934c fixed id 2020-12-11 18:25:54 +01:00
Erik Jan de Wit
6b962577ba added admin events tab 2020-12-11 15:48:39 +01:00
Erik Jan de Wit
7d20fc01a7 initial version of the events tab 2020-12-11 14:05:41 +01:00
Erik Jan de Wit
2fa8855bf4
initial version of the breadcrumb component (#119)
* initial version of the breadcrumb component

* moved breadcrumbs to Page component
2020-10-01 10:25:29 -04:00
Eugenia
9fd54eb964
Adds realm roles section to app and storybook (#79)
* add Realm Roles page

* add section for no realm roles

* update role-model, fixed UI to match designs

* fix paths

* add storybook demo and role actions kebab

* fix build and clean up

* fix formatting

* fix lint

* fix test and update snapshot

* fix storybook demo

* update snapshot after rebase

* PR feedback from Stan

* add back pf addons

* Update src/realm-roles/RealmRolesSection.tsx

Co-authored-by: Stan Silvert <ssilvert@redhat.com>

* fix format

* localize NoRealmRoles component

* fix formatting

* changes to PR suggested by Sarah

Co-authored-by: Stan Silvert <ssilvert@redhat.com>
2020-09-18 10:04:55 +02:00
Erik Jan de Wit
1297c9f391
Restructure (#78)
* moved files into new structure

* translation files / namespace per "page"

fixes: #77

* renamed pages to sections

* moved save, delete and others to common bundle
2020-09-10 14:04:03 -04:00