1402 Commits

Author SHA1 Message Date
Joseph Garrone
a286e252e9 Enable to pass environement variables to test docker container 2024-06-09 08:50:59 +02:00
Joseph Garrone
a8997e92c3 Improve cache strategy for getKcClsx 2024-06-09 08:37:23 +02:00
Joseph Garrone
89137153a0 Remove isStorybook util 2024-06-09 08:37:02 +02:00
Joseph Garrone
e3382de8e0 Fix boolean logic error 2024-06-09 08:30:57 +02:00
Joseph Garrone
1a48681591 getClassName -> kcClsx 2024-06-09 08:27:07 +02:00
Joseph Garrone
8f006f0009 Apply the new way i18n is implemented to every pages 2024-06-09 04:43:18 +02:00
Joseph Garrone
77e32aad2a Make useGetClassName not a hook 2024-06-08 18:54:27 +02:00
Joseph Garrone
8d365dae53 Refactor i18n, make component use the hook directly 2024-06-08 17:55:05 +02:00
Joseph Garrone
01fb89674c Refactor i18n so that we don't have to wait for translations to be downloaded to render the page 2024-06-08 15:50:04 +02:00
Joseph Garrone
c9fb0ca6ae Rename extention types 2024-06-08 14:20:56 +02:00
Joseph Garrone
82d7e1371e Add code gen for environement variables an theme name 2024-06-08 14:02:07 +02:00
Joseph Garrone
7f917311d8 Export ClassKey in the index instead of PageProps 2024-06-08 07:17:11 +02:00
Joseph Garrone
2bfb856f07 Inconsistency fix 2024-06-08 04:10:04 +02:00
Joseph Garrone
702f52f1c9 Only add the lang annotation if the lang is different from the current 2024-06-07 08:05:35 +02:00
Joseph Garrone
485ca28a29 Enable the lang of the term to be undefined 2024-06-07 08:03:13 +02:00
Joseph Garrone
2421ac2c11 Make the user return the actual language of the terms for accesibility 2024-06-07 02:20:12 +02:00
Joseph Garrone
dcb9fbd0f7 fixes for the add-story command 2024-06-06 09:13:58 +02:00
Joseph Garrone
f3e4bca468 Add script to copy over the stories 2024-06-06 07:41:01 +02:00
Joseph Garrone
a7f3e00821 Remove createKcContextMock from the index 2024-06-06 06:27:28 +02:00
Joseph Garrone
108c281b0c Enable to eject Template.tsx and UserProfileFormFields.tsx 2024-06-06 06:12:05 +02:00
Joseph Garrone
58892cbb56 Change first level build target of bin 2024-06-06 06:11:34 +02:00
Joseph Garrone
c52157bfb9 Remove dependency to powerhooks 2024-06-06 04:35:57 +02:00
Joseph Garrone
148f7fa316 Rollback unarrowing of the getKcContextMock return type 2024-06-06 02:29:09 +02:00
Joseph Garrone
593b929254 #525 2024-06-06 01:31:00 +02:00
Joseph Garrone
beb0e8bd77 Add missing translations 2024-06-06 00:33:34 +02:00
Joseph Garrone
cace66e9f8 No longer need for a eslint rule ignore for with default vite starter 2024-06-05 23:30:28 +02:00
Joseph Garrone
aa8dc1919f Make getKcContext mock return type less narrow 2024-06-05 23:24:21 +02:00
Joseph Garrone
6bcdf286ef Add missing export 2024-06-05 22:53:14 +02:00
Joseph Garrone
d9345396e8 Fix build 2024-06-05 22:48:13 +02:00
Joseph Garrone
6e058eafed It's less confusing to use "#" as urls in mock kcContext 2024-06-05 21:44:14 +02:00
Joseph Garrone
e8a11991a0 Rename kcContext -> KcContext and improve consistency 2024-06-05 21:13:58 +02:00
Joseph Garrone
0461190a67 Do not export default the Fallback component 2024-06-05 18:42:32 +02:00
Joseph Garrone
06b3211b08 Ease up the instentiation of i18n 2024-06-05 18:41:53 +02:00
Joseph Garrone
b1da684008 Re implement asset fetching 2024-06-05 06:10:11 +02:00
Joseph Garrone
0b5a7544ca Address white falshes in storybook 2024-06-05 01:02:17 +02:00
Joseph Garrone
183826ca0d Improve terms story 2024-06-04 04:06:29 +02:00
Joseph Garrone
093e51e092 Fix escaping error 2024-06-04 01:49:26 +02:00
Joseph Garrone
17e1655eaf Fix recaptcha in storybook 2024-06-04 01:39:54 +02:00
Joseph Garrone
f239d105a7 Fix missing key 2024-06-03 23:53:53 +02:00
Joseph Garrone
b780d7136e Fix mistake after using attributesByName instead of attributes 2024-06-03 23:25:02 +02:00
Joseph Garrone
3c28a05746 Fix copy-keycloak-resources-to-public 2024-06-03 22:45:09 +02:00
Joseph Garrone
57ac5badba Update the euristic for getting the NPM workspace root. 2024-06-03 22:37:22 +02:00
Joseph Garrone
c1a63edd71 Refactor kcContext, avoid having mocks in the dist https://github.com/keycloakify/keycloakify/discussions/299#discussioncomment-9616747 2024-06-03 18:28:34 +02:00
Joseph Garrone
96a88fe865 Fix add remove button for multifield attributes 2024-06-02 00:31:08 +02:00
Joseph Garrone
6cdb83d730 Fix the way we handle multivalued single fileld (multiselct, multiselect-checkboxes) 2024-06-02 00:24:07 +02:00
Joseph Garrone
95f06df45d Extenalize some core logic from the ejectable component 2024-06-01 22:54:17 +02:00
Joseph Garrone
ec52b357d5 Fix logical error with radibuttons 2024-05-30 23:23:16 +02:00
Joseph Garrone
d84546cd7d Correct error validation password policy 2024-05-30 22:50:06 +02:00
Joseph Garrone
70f475d13e Remove some more noise in the kcContext 2024-05-28 01:26:33 +02:00
Joseph Garrone
3a50a61b12 First test against the key for faster ftl rendering 2024-05-28 01:08:02 +02:00