Commit graph

14 commits

Author SHA1 Message Date
Sarah Rambacher
c567fdca93 deduplicates some common text strings 2021-01-13 15:48:16 -05:00
jenny-s51
8ef7bd7ddb WIP role attributes
fix storybook demos

add attributes tab to realm roles section

use TableComposable

fix formatting

css updates

fix up styling of role attributes table

fix check-types erros

logic from call with Jeff

clean up, format, make eslint proud

delete roledetails

call with Erik

add delete function and css changes

fix storybook demos and format

make key input disabled once new attribute is created

minus icon gray

address PR feedback from Sarah

set add and save buttons to disabled when new input field is  empty

fix save/add

fix onChange formState

rebase with resolved conflicts

fix formatting

remove !important

Update RealmRolesSection.css

Update src/realm-roles/RoleAttributes.tsx

Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

address PR feedback from Sarah and Erik

fix paths and use error msg from response

remove log stmt

fix lint

remove minLength
2021-01-11 16:19:22 -05:00
jenny-s51
5d7d2b5636 add role attributes, WIP 2021-01-11 16:15:12 -05:00
Eugenia
79e671062c
Realm role attributes (#247)
* add role attributes, WIP

* WIP role attributes

* fix storybook demos

* add attributes tab to realm roles section

* use TableComposable

* fix formatting

* css updates

* fix up styling of role attributes table

* fix check-types erros

* fix build

* fix formatting

* address PR feedback from Sarah

* add aria label to button

* fix storybook demos and address PR feedback from Erik

* fix merge conflict

* delete unnecessary files

* remove unused code

* remove BorderColor

* delete final comment

* fix formatting

Co-authored-by: Sarah Rambacher <srambach@redhat.com>
2020-12-15 08:21:17 +01:00
Erik Jan de Wit
41062f88f4
Introduced generic DataList component that can handle all Lists. (#241)
* initial version of a data list

* introduced paginate property

* added search key

* added types and actions

* added renderer to customize rendering of one cell

* changed `ClientList` to new `DataList`

* replaced client scope list with `DataList`

* added empty state

* Replaced RoleList with `DataList`

* switched to lodash cloneDeep

* fix merge error
2020-12-07 14:23:18 -05:00
Erik Jan de Wit
7059297d5f
merged "new role form" and "role details" into one (#239) 2020-12-02 16:04:54 -05:00
Eugenia
17b1fab80e
adds delete action to realm details page (#236) 2020-11-24 16:11:35 -05:00
Eugenia
dc2ceef27b
Adds tab for realm role details + update/save functionality (#228)
* add file for realm role details

* add details and attributes tabs

* clean up a bit

* get name working

* add reload

* fix route config

* fix prettier

* call with Don

* header and description working

* update route-config.ts

* wrap in FormAccess component

* name input gets value from call

* try to get save working

* feedback from Erik

* more feedback from Erik

* fix formatting

* format

* address PR feedback from Erik

* delete comment

* set name field to read-only

* delete defaultValue prop
2020-11-23 10:20:21 -05:00
Eugenia
f5091d133e
Realm role empty state (#189)
* add file for realm role details

* add empty state

* empty state

* delete unused imports

* delete noRealmRoles.tsx
2020-10-28 14:33:54 -04:00
Eugenia
caec08f95f
Adds functionality to delete realm role (#160)
* added function to refresh the dataloader data

* 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

update snapshot after rebase

PR feedback from Stan

add back pf addons

localize NoRealmRoles component

changes to PR suggested by Sarah

adds new role form

rename fields

cleaning up

address PR feedback from Stan

add logic to delete realm role

format

rebase with erik branch

resolves merge conflicts

fix check types error

fix invalid state

fix check-types

fix ts error

* fix format

* remove log stmt

* address PR feedback from Erik and Sarah

* remove utility class

* address Erik comment

* fix formatting

* fix bug and address PR feedback

* move msg

* fix lint

* fix format

* delete details file (on another branch)

Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2020-10-14 16:50:10 -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
Eugenia
ba6d4877ab
Create realm role page (#114)
* 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

* update snapshot after rebase

* PR feedback from Stan

* add back pf addons

* localize NoRealmRoles component

* changes to PR suggested by Sarah

* adds new role form

* fix path

* rename fields

* HTTP post is working

* move create msg

* cleaning up

* address PR feedback from Stan

* added validation and changed to text area

Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2020-09-29 13:54:42 -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
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