1061 Commits

Author SHA1 Message Date
Joseph Garrone
8a25b93ab2 Rename Fallback to DefaultPage 2024-06-09 11:24:50 +02:00
Joseph Garrone
7a040935e9 i18n need to be passed as props if we want to be able to ovewrite 2024-06-09 11:20:45 +02:00
Joseph Garrone
2015882688 Avoid loop rebuild in watch mode 2024-06-09 10:28:06 +02:00
Joseph Garrone
5d86b05cdb Fix eject-page script 2024-06-09 09:50:02 +02:00
Joseph Garrone
9c123f37c8 Make of doMakeUserConfirmPassword a prop of UserProfileFormFields 2024-06-09 09:34:39 +02:00
Joseph Garrone
b48dbd99cf Enable to pass a path to a file for exclusions #525 2024-06-09 09:20:55 +02:00
Joseph Garrone
25c8599d8f Rename BuildOptions -> BuildContext 2024-06-09 09:15:45 +02:00
Joseph Garrone
3453a17c15 Rename reactAppRootDirPath -> projectDirPath and reactAppBuildDirPath -> projectBuildDirPath 2024-06-09 09:03:43 +02:00
Joseph Garrone
6e95dacd3a Remove todo 2024-06-09 08:52:52 +02:00
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