Commit graph

47 commits

Author SHA1 Message Date
Stan Silvert
5427eaf6ff
Fine-grained permissions for groups (#2579) 2022-05-09 12:44:37 +02:00
Erik Jan de Wit
ebf56dacc0
Initial version of the group permissions tab (#2519) 2022-04-28 15:18:14 +02:00
Erik Jan de Wit
f3de9464f6
async loading group can be undefined (#2068) 2022-02-21 15:58:28 +01:00
mfrances17
aa99ac7e2d
Add help url links (#1747)
* initial work

* add help urls for all main landing pages
2021-12-21 10:32:53 -05:00
alevid99
51d8038a5c
Added role mapping tab to group detail page (#1638)
* feat(group): added role mapping tab

feat(groups): fixed members tests

* Add correct role mapping label

* Use composite group mappings

Co-authored-by: Marco Cesi <sq@iamsquare.it>
2021-12-07 13:56:25 +01:00
Jon Koops
d7973a8008
Wait for group to be deleted before navigating (#1634) 2021-12-03 12:16:07 +01:00
Jon Koops
386201595b
Use route functions for navigation in groups (#1474)
* Use route functions for navigation in groups

* pass testid to link
2021-11-09 12:53:06 -05:00
Erik Jan de Wit
c96450ef61
make all routes lazy (#1445) 2021-10-29 18:11:06 +02:00
Erik Jan de Wit
bd8fc558d5
now checks if data could be loaded and throw error (#1265) 2021-09-30 10:58:48 +02:00
Jon Koops
9850505001
Use pre-release version of Admin Client (#1063) 2021-08-26 10:39:35 +02:00
Erik Jan de Wit
bc1e83e63a
Introduce a standard way to create handle errors (#918) 2021-07-28 14:01:42 +02:00
Erik Jan de Wit
be94f1f9f0
fixing issue 629 (#655)
* address some of the issues in 629

* made breadcrumb/page title same as other sections

* fixed tests
2021-06-10 09:25:02 -04:00
Jon Koops
f671cbed84 Extend tsconfig from Snowpack and fix type errors 2021-05-18 16:50:35 +02:00
Erik Jan de Wit
cef90aa238 fixed merge error 2021-05-18 15:12:30 +02:00
Erik Jan de Wit
7f21d03bc2 changed asyncStateFetch to be it's own hook
it now cancels pending requests making sure we
don't leak memory + it makes for an nicer looking API
2021-05-18 14:35:09 +02:00
Erik Jan de Wit
a9a34102bc
using smarter wait to fix group tests (#604)
* using smarter wait

instead of static waiting wait for the memeber query to finish

* revert

* query less by creating navigation on click

* only search in the displayed table

* fixed test
2021-05-18 08:25:46 -04:00
mfrances
0b0e474caf move multi-used strings to common 2021-04-05 14:04:23 -04: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
50920b3df2
Added rename group and adding members to a group (#448)
* users can now rename groups

* add members to a group

* added cypress test

* remove rename and delete when no group is selected

* added test

* keep selected rows form other pages

* fixed empty first page and cancel button
2021-03-24 10:07:49 -04:00
Erik Jan de Wit
6c399c1484
fixed group navigation (#452) 2021-03-19 14:37:21 -04:00
Erik Jan de Wit
e4d83d0fe3
Group details (#425)
* added details for groups

* add includeSubGroups checkbox

* added tests

* fixed reload for group attributes

* fixed spacing on associate roles tab

* fixed group reload after save

* fixed test
2021-03-16 08:37:57 -04:00
Erik Jan de Wit
a48088765a
Search and create sub groups (#387)
* fixed group section

* simplified create group dialog

* create subgroup

* initial search groups

* added initial search

* add empty state and links to details

* Added cypress tests

* fixed types

* changed to the more clear getId

* changed to use testid

* fixed merge error

* fixed test

* changed text for empty sub groups

* fix merge error

* fix test
2021-03-01 10:06:04 -05:00
Erik Jan de Wit
ce0ce6d59e
Sub group navigation in groups section (#274)
* list sub group of a group using the id

* introduced group bread crumb component to render

this builds up the groups as you click to subgroups

* added deeplinking

* fixed route config types

* fixed new realm prefix

* added null checks for if group not found

* changed labes to groups
2021-01-12 09:00:44 -05:00
Erik Jan de Wit
db4f7851fb
refresh and message on group delete (#270)
fixing: #129
2021-01-05 14:56:16 -05:00
Erik Jan de Wit
b14027ccb7
Use realm name in urls (#265)
* remove circular dependency on realm context

* added realm as a param of the url

* updated links to include realm

* null !== undefined

* set realm if realm in url

* fixed breadcrumb type

* fixed tests

* addressed pr review comments
2021-01-05 14:49:33 -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
dcb18c5488
Use keycloak-admin with axios instead of fetch wrapper (#212)
* changed to use the admin client

* added helper to always set realm

* fixed merge

* no need to polyfill anymore

* updated to use keycloak-admin-client

* updated to release version

* fixed types

* added user federation

* update test

* lint
2020-11-12 07:55:52 -05:00
Christie Molloy
889f8078d2
add multiple group delete functionality (#185)
* add multiple group delete functionality

* fix the deleting bug and deleting during filering

* fix stans comment

* format files

* fix lint

* fix lint

* fix messages

* fix modal

* fix error mark found
2020-10-27 19:45:35 -04:00
Christie Molloy
2897e59004 update 2020-10-14 17:02:31 -04:00
Christie Molloy
59bfeda338 format 2020-10-14 16:53:32 -04:00
Christie Molloy
a4b858cdc0 update 2020-10-14 16:47:29 -04:00
Christie Molloy
35584207c8
Add empty state (#147)
* add empty states

* add two empty states

* updates to empty state

* update PR

* fix merge conflict

* fix formatting and add prettier

* updated test

* review comments

* update snapshot
2020-10-14 15:48:36 -04:00
Christie Molloy
d7b154b656 format 2020-10-13 17:06:58 -04:00
Christie Molloy
82fb002e76 make updates 2020-10-13 16:52:23 -04:00
Erik Jan de Wit
8e2000283c
Some pages don't support pagination (#134)
* introduced non paginating toolbar

* use patternfly util class instead of inline css
2020-10-07 11:47:03 -04:00
Christie Molloy
bcffc68fdc fix merge conflict 2020-10-06 10:12:05 -04:00
Stan Silvert
bfe6e2c236
Move contexts under a single directory. (#145) 2020-10-06 10:25:38 +02:00
Christie Molloy
a405dc9e13 fix formatting 2020-10-01 15:15:23 -04:00
Christie Molloy
28b16e9770 add create group functionality 2020-10-01 14:52:18 -04:00
Christie Molloy
1f3cfddac8 create group now working 2020-09-30 09:55:18 -04:00
Christie Molloy
4e67ecc1da update groups section 2020-09-29 14:21:07 -04:00
Christie Molloy
8a513e3ecf pull in master branch 2020-09-28 17:09:34 -04:00
Christie Molloy
32f5aa0e6f
First page within Group section (#108)
* add code to group section

* updates to group section

* more updates to groupsection

* add Eriks changes

* groups broken

* more group work

* lots of updates

* fix bugs

* working on typescript and clearing out dead code

* fix TS errors and PR feedback

* more TS fixes

* fixed the TS errors

* run prettier

* fix errors from yarn checktypes command

* fix prettier

* fix lint and checktypes

* remove isInline

* revert prettier

* revert prettier commits

* update i18

* fix prettier

* feedback

* fix error
2020-09-28 11:58:03 -04:00
Christie Molloy
f1cd864f05 more progress on group modal 2020-09-25 14:21:18 -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
601bba8057
initial version of groups (#86) 2020-09-15 15:54:52 -04: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
Renamed from src/page/GroupsPage.tsx (Browse further)