Commit graph

187 commits

Author SHA1 Message Date
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
Donald Labaj
57fdb46b1f
Added coding standards to the project. (#139)
Added coding standards and also updated the package json so that the scripts have consistent naming conventions. Fixed incorrect import for context as well.
2020-10-06 17:42:32 -04:00
Erik Jan de Wit
908842542c
partial mocked download dialog (#140)
* partial mocked download dialog

* messages

* added toggle

* removed commened import
2020-10-06 15:51:21 -04:00
Erik Jan de Wit
587ae5ce81
changed alerts to have a provider (#137)
fixes: #132
2020-10-06 15:25:05 -04:00
Christie Molloy
64969fac0b prettier 2020-10-06 10:36:09 -04:00
Christie Molloy
bcffc68fdc fix merge conflict 2020-10-06 10:12:05 -04:00
Erik Jan de Wit
410c553ac0
added function to refresh the dataloader data (#143) 2020-10-06 07:56:06 -04:00
Stan Silvert
bfe6e2c236
Move contexts under a single directory. (#145) 2020-10-06 10:25:38 +02:00
Christie Molloy
eb57faf826 fix validation error 2020-10-05 15:45:06 -04:00
Erik Jan de Wit
932906a103
added client list search (#133)
* added client list search

* changed to only search onClick
2020-10-05 14:13:23 -04:00
Erik Jan de Wit
ed25dbc5a0
Added client setttings header with actions (#125)
* added client settings header

* added confirmation dailog

* format

* pr review

* use placeholder text instead of property

* change title to use clientId instead

* added state for dynamic name
2020-10-02 15:56:46 +02:00
Stan Silvert
f800e000be
Create whoami context (#136)
* Fix conflicts

* Fix formatting

* Get tests to pass

* Fix conflict again
2020-10-02 08:47:32 +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
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
Christie Molloy
66e28638db fix delete 2020-09-30 10:03:46 -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
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
Sarah Rambacher
457729ba75
fixes vertical alignment of forms with switches (#122) 2020-09-29 08:34:27 +02: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
Erik Jan de Wit
94b26936d3
fetch and save client (#116)
* fetch and save client

* added multi line for redirect uris

* format

* review
2020-09-25 13:42:32 -04:00
Erik Jan de Wit
19b458577b
Generic view header (#115)
* implements static template for table view header

* initial table view header layout

* renamed

* added actions

* format

* review

Co-authored-by: Sarah Rambacher <srambach@redhat.com>
2020-09-25 13:29:03 -04:00
Erik Jan de Wit
e7b108a623
Initial version client scopes (#111)
* initial version client scopes

* remove use of newer replaceAll

* review
2020-09-25 13:11:25 -04:00
Erik Jan de Wit
8210ba5ba0
initial version of confirm dialog (#117)
* initial version of confirm dialog

* introduced helper funciton to toggle dialog

* review
2020-09-25 09:17:55 -04:00
Christie Molloy
1573acc0ef add modal 2020-09-24 16:57:07 -04:00
Erik Jan de Wit
7161af82b8
initial version of the multi line input (#107)
* initial version of the multi select input

* changed direction and fixed tab index
2020-09-24 09:27:23 +02:00
jenny-s51
aebcea2ac1 CI :) 2020-09-23 15:49:05 -04:00
jenny-s51
65a6e1ca24 update HelpItem snapshot 2020-09-23 15:42:02 -04:00
jenny-s51
87363f69cd fix check-types 2020-09-23 15:42:02 -04:00
jenny-s51
7ba5ef7b5e format test 2020-09-23 15:42:02 -04:00
jenny-s51
f3c731e472 fix conflicts 2020-09-23 15:42:02 -04:00
jenny-s51
7bd8f6c883 try to fix tests 2020-09-23 15:39:52 -04:00
Sarah Rambacher
0a6281e209 fix button props on external link
Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2020-09-23 15:39:52 -04:00
Sarah Rambacher
6189795aaf make prettier happy 2020-09-23 15:39:52 -04:00
Sarah Rambacher
985375ef02 remove the disabled link test 2020-09-23 15:39:52 -04:00
Sarah Rambacher
9f47fb5fca change external link to pf component 2020-09-23 15:39:52 -04:00
Erik Jan de Wit
3479adb356
Small client form fixes (#104)
* made clientId required

* changed space between the 2 columns of check boxes

* merge fix
2020-09-23 15:19:02 -04:00
Erik Jan de Wit
bb3598930f
always show realm add button and filter on keystroke (#105)
* always show realm add button and
filter on keystroke

* fixed formatting

* fixes within the realm selector dropdown

* format

* fixed test

Co-authored-by: Sarah Rambacher <srambach@redhat.com>
2020-09-23 10:19:46 +02:00
Erik Jan de Wit
dfe3f31eb4
update dependencies (#110) 2020-09-23 10:05:15 +02:00
Erik Jan de Wit
0f1d93d672
initial version of the client settings page (#89)
* initial version of the client settings page

* fix test

* fixed spelling

* merge errors

* fix merge error

* renamed Step1 and Step2
2020-09-22 08:43:51 -04:00
Stan Silvert
c656d6acee
Localize NavItems (#106)
* Localize NavItems

* Fix group titles.
2020-09-21 14:54:42 +02:00
Sarah Rambacher
48e13b7204
Empty state for a list (#95)
* add an empty state for a list

* rename component and add click handler

* add metadata to list empty state story

* add tests to list empty state
2020-09-19 14:05:14 -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
338e177c51
added react hook form to do forms (#99)
* added react hook form to do forms

* removed unnessary property
2020-09-17 09:51:40 -04:00
Erik Jan de Wit
b87bd2ca76
updated the realm selector (#90)
* updated the realm selector with:

1. realm context that works on other requests
2. added search bar when realm list > 5 realms

* fixed merge
2020-09-17 07:37:30 -04:00
Erik Jan de Wit
79c8942eeb
changed messages to keys (#88) 2020-09-16 10:56:23 -04:00
Erik Jan de Wit
601bba8057
initial version of groups (#86) 2020-09-15 15:54:52 -04:00
Erik Jan de Wit
3798c41db0
Added missing logic to realm form (#80)
* made alerts easier to use

* better clear message

* added missing logic to realm form

* format

* fixed types

* fixed test

* fix merge error
2020-09-15 15:44:28 -04:00
Sarah Rambacher
bb38bcf051
Restyle realm selector and fix centering (#87)
* clean up CSS on realm selector

* Fix width and correct CSS of realm selector

* Format and update snapshots

* Remove module css

* update snapshot
2020-09-14 14:10:54 -04:00
Erik Jan de Wit
55a0f443ed
small fix to make the alert test more readable (#85) 2020-09-11 14:34:43 -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
Erik Jan de Wit
7f66895631
added export and delete (#63)
* added export and delete

* added types
2020-09-09 16:34:05 +02:00
Stan Silvert
8fbcf7582a
Flesh out left navigation (#76)
Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2020-09-09 11:07:17 +02:00
Sarah Rambacher
bc38db7dbb
Adjusts toolbar help menu items (#65)
* Adjusts toolbar help menu items

* remove workaround css for dropdown description text

* fixes formatting

* capitalize menu item

* revert change in variable name
2020-09-08 14:54:21 -04:00
Erik Jan de Wit
8fa720438e
some small fixes to the realm selector (#74) 2020-09-08 13:20:29 -04:00
Erik Jan de Wit
082682e6d3
initial version of json file upload component (#75) 2020-09-08 13:16:08 -04:00
Erik Jan de Wit
c59a7198c9
initial version of help items (#70) 2020-09-08 13:12:42 -04:00
Stan Silvert
ca7c014e55
Run tsc on build to check for typescript errors (#69)
* Run tsc on build to check for typescript errors

* Fix typescript errors.  Rename failing stories.

* Make prettier happy

* Use only tsconfig for tsc.
2020-09-08 07:56:44 +02:00
Stan Silvert
0eea5b8057
Use isBlock instead of css (#67)
* Use isBlock instead of css

* Make prettier happy

* Fix tests
2020-09-05 15:37:42 -04:00
Eugenia
c6a310a827
add realm selector (#48)
* WIP realm selector

* realm dropdown is working

* address PR feedback

* address PR feedback and fix conflicts

* fix formatting

* fix path

* address PR feedback from Stan

* update snapshot tests

* fix formatting

* change minwidth
2020-09-04 14:16:11 -04:00
Erik Jan de Wit
87d8414bd7
fix storybook imports (#62) 2020-09-04 06:38:58 -04:00
Erik Jan de Wit
258b21e334
remove env vars and use simple copy task to switch (#60) 2020-09-04 06:38:23 -04:00
Erik Jan de Wit
f1c9d2e49e
Import client json file (#55)
* import form

* added confirmation dialog

* introduced page component for clients
2020-09-03 15:25:05 -04:00
Erik Jan de Wit
a0b2b52b4f
upgraded to storybook 6 and changed to tsx (#58) 2020-09-03 13:26:36 -04:00
Erik Jan de Wit
050f6aaed5
added more tests (#59) 2020-09-03 13:25:35 -04:00
Erik Jan de Wit
bc041cd44e
added initial version of the "help system" (#26)
* added initial version of the "help system"

fixes: #25

* fix merge error

* fix format
2020-09-02 09:51:42 +02:00
Donald Labaj
adbb2c3d3f
Added github actions to automate build, test, and linting (#41)
Fixes issue #15.  Builds, test, lints, and checks format when a PR is created using github actions.
2020-09-01 10:51:59 -04:00
Erik Jan de Wit
e87b24d07d
added an external link component (#46) 2020-09-01 10:25:24 +02:00
Erik Jan de Wit
513aa2ba91
initial version of the create client create page (#47)
* initial version of the create client role page

* added types and sort function

* updated types

* added steps

* added save function

* fix error message
2020-08-31 14:26:25 -04:00
Erik Jan de Wit
a1e637c5da
Added tests for alert component. (#43)
* added enzyme

* alert test
2020-08-31 10:23:57 +02:00
Erik Jan de Wit
de3d78384e
Initial version of scrollable form panel (#45)
* initial version of a scrollable form component

* added missing module parameter
2020-08-28 07:23:39 +02:00
Eugenia
c480f9cd9d
Add routing (#42)
* WIP routing

* remove webpack plugin

* add routing

* fixes to router

Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2020-08-27 14:09:36 +02:00
Erik Jan de Wit
f11f2bffdf
make pagination work on the client list (#39)
* fix: make pagination work

* fix formatting

* Xmove toolbar to seperate component
2020-08-24 14:11:17 -04:00
Erik Jan de Wit
64f96c7d1b
enhanced rendering of client list (#27) 2020-08-21 21:40:21 +02:00
Stan Silvert
18689c6194
Implement masthead (#30) 2020-08-20 20:09:05 -04:00
Erik Jan de Wit
9bacacae49 fixed tests
fixing: #29
2020-08-20 12:43:13 +02:00
Sarah Rambacher
fa4fec34e4
[WIP] APPDUX-407 Lays out components for new realm form (#18) 2020-08-18 15:10:31 +02:00
Erik Jan de Wit
45855681d5 setup i18n for the application
fixes: #23
2020-08-17 15:29:11 +02:00
Erik Jan de Wit
60075db602 refactor alerts 2020-08-08 15:52:23 +02:00
Erik Jan de Wit
0b460662c2 initial version of the alert system 2020-08-07 15:44:34 +02:00
Stan Silvert
4fe932c2de
Merge pull request #3 from edewit/eslint
added eslint
2020-08-06 08:52:25 -04:00
Erik Jan de Wit
192d891e4f added missing section 2020-08-06 11:43:33 +02:00
Erik Jan de Wit
e8662ed05c added eslint 2020-08-06 10:51:35 +02:00
Erik Jan de Wit
14860ae628 initial version
change favicon based on env props
2020-08-05 17:00:38 +02:00