Commit graph

81 commits

Author SHA1 Message Date
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
Stan Silvert
2be549a60e
Use new patternfly jumplinks. (#246)
* Use new patternfly jumplinks.

* Update snapshots
2020-12-07 07:51:38 -05:00
Erik Jan de Wit
acbd5a5f18
created a MockAdminClient for the storybook (#240)
* added mock for admin client so stories work again

* updated storybook to 6.1.7

* added js doc

* fix merge error
2020-12-04 13:58:28 -05:00
Erik Jan de Wit
2e64f144d5
update to latest keycloak-admin (#234)
* update to latest keycloak-admin

also fix name of project

* removed workaround type
2020-11-24 15:45:12 -05: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
dependabot-preview[bot]
b618ab245e
[Security] Bump lodash from 4.17.15 to 4.17.19 (#193)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.19. **This update includes security fixes.**
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-10-28 14:47:03 -04:00
dependabot-preview[bot]
b1504f24c3
[Security] Bump bl from 1.2.2 to 1.2.3 (#192)
Bumps [bl](https://github.com/rvagg/bl) from 1.2.2 to 1.2.3. **This update includes a security fix.**
- [Release notes](https://github.com/rvagg/bl/releases)
- [Commits](https://github.com/rvagg/bl/compare/v1.2.2...v1.2.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-10-28 14:44:35 -04:00
Erik Jan de Wit
2543893373
Change the input fields based on access rights (#184)
* poc of possible way to change form dynamically

* fixed detail routs

* Update src/components/form-access/FormAccess.tsx

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

* Update src/components/form-access/FormAccess.tsx

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

* Update src/components/form-access/FormAccess.tsx

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

* added more form access and logic for Controller

* render switches for boolean types

* better render of `<Controller` wrapped components

* added isDisabled property

* added test

* small refactor

* fixed types

* TextArea doesn't support isDisabled

* when field is disabled, disable button as well

* added jsdoc

Co-authored-by: Stan Silvert <ssilvert@redhat.com>
2020-10-28 14:17:15 -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
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
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
Erik Jan de Wit
dfe3f31eb4
update dependencies (#110) 2020-09-23 10:05:15 +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
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
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
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
a0b2b52b4f
upgraded to storybook 6 and changed to tsx (#58) 2020-09-03 13:26:36 -04:00
dependabot-preview[bot]
ad16ce23d4
Bump i18next-http-backend from 1.0.17 to 1.0.18 (#57)
Bumps [i18next-http-backend](https://github.com/i18next/i18next-http-backend) from 1.0.17 to 1.0.18.
- [Release notes](https://github.com/i18next/i18next-http-backend/releases)
- [Commits](https://github.com/i18next/i18next-http-backend/compare/v1.0.17...v1.0.18)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-09-03 14:58:42 +02:00
Erik Jan de Wit
8e664659b7
postcss plugin to new snopack format (#51) 2020-09-01 16:17:48 -04:00
Erik Jan de Wit
3959d2c47e
fixed build by changing it to webpack (#50) 2020-09-01 08:21:47 -04:00
Stan Silvert
cb56cbb8fc
yarn.lock was updated with yarn install (#49) 2020-09-01 09:46:47 +02:00
Erik Jan de Wit
a1e637c5da
Added tests for alert component. (#43)
* added enzyme

* alert test
2020-08-31 10:23:57 +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
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
Erik Jan de Wit
2caafc74b2 added post install hook to copy fonts
fixing: #20
2020-08-17 09:02:43 +02:00
Stan Silvert
d9a9f1d194
Merge pull request #4 from edewit/build-instructions
fix: added build instructions
2020-08-07 08:17:50 -04:00
Erik Jan de Wit
969d483c11 fix: added build instructions
fixing: #2
2020-08-06 17:11:12 +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