Commit Graph

46 Commits

Author SHA1 Message Date
Tsu-ba-me
cdb2896984 refactor(striker-ui): align all axios error var naming 2024-06-11 16:02:54 -04:00
Tsu-ba-me
231a1a0537 fix(striker-ui): prevent submit during input change in formik utils 2024-04-09 15:13:54 -04:00
Tsu-ba-me
87f69dd845 fix(striker-ui): expose mutate function in useFetch hook 2024-03-07 11:53:54 -05:00
Tsu-ba-me
ddece3750d fix(striker-ui): remove disableAutocomplete from formik utils 2024-03-07 11:53:54 -05:00
Tsu-ba-me
198dd08c18 fix(striker-ui): correct show error message condition in formik utils 2024-01-29 13:13:52 -05:00
Tsu-ba-me
4c7792f17b fix(striker-ui): resolve type errors during build 2024-01-29 13:13:52 -05:00
Tsu-ba-me
cecd0d7cd6 fix(striker-ui): ensure boolean returned from getCheck in checklist hook 2024-01-29 13:13:51 -05:00
Tsu-ba-me
a20a2f7cc3 fix(striker-ui): pass initial props, allow overwrite in confirm dialog hook 2024-01-29 13:13:51 -05:00
Tsu-ba-me
b2c933ac1e fix(striker-ui): add mod option to fetch hook 2024-01-29 13:13:51 -05:00
Tsu-ba-me
1713ea4de7 fix(striker-ui): relocate formik utils type 2024-01-29 13:13:51 -05:00
Tsu-ba-me
7e43104a35 fix(striker-ui): correct generics in active fetch hook 2024-01-29 13:13:51 -05:00
Tsu-ba-me
f485bf860e fix(striker-ui): move types of formik utils to type file 2024-01-29 13:13:51 -05:00
Tsu-ba-me
4d65472694 fix(striker-ui): add loading setter to confirm dialog hook 2024-01-29 13:13:51 -05:00
Tsu-ba-me
ce2fad66c7 fix(striker-ui): add formik utils 2024-01-29 13:13:51 -05:00
Tsu-ba-me
62b2f69aa4 fix(striker-ui): allow pre-config confirm dialog close-on-proceed 2024-01-29 13:13:50 -05:00
Tsu-ba-me
83a0210ffa fix(striker-ui): remove protected state
According to breaking changes in react 18, hidden components cannot
trigger the useEffect hook.
See https://github.com/facebook/react/pull/22114

Since the warning is no longer triggered, we can safely remove the
workaround.
2024-01-26 13:37:30 -05:00
Tsu-ba-me
b625161b67 fix(striker-ui): add hook to group confirm dialog methods 2023-12-12 15:45:33 -05:00
Tsu-ba-me
a5bb320234 feat(striker-ui): add non-hook fetcher, bundle with states 2023-12-06 16:53:02 -05:00
Tsu-ba-me
71729e3425 fix(striker-ui): rename to resetChecks 2023-12-06 12:06:29 -05:00
Tsu-ba-me
d7d7fcb039 fix(striker-ui): reset checklist after delete in manage fences, manifests 2023-12-04 16:46:51 -05:00
Tsu-ba-me
ece7efda99 fix(striker-ui): migrate setApiMessage from manifest manager 2023-12-04 14:22:11 -05:00
Tsu-ba-me
af3ab2989a fix(striker-ui): apply session expiry check 2023-11-27 17:14:09 -05:00
Tsu-ba-me
3ee7a41895 fix(striker-ui): align cookie jar with API 2023-11-27 17:14:09 -05:00
Tsu-ba-me
cf1a64a1f3 fix(striker-ui): add success, error callbacks on submission in form utils 2023-11-27 17:14:09 -05:00
Tsu-ba-me
da491ab814 fix(striker-ui): add fetch hook 2023-09-21 03:41:15 -04:00
Tsu-ba-me
9728f56927 fix(striker-ui): allow message setter override in submit form 2023-07-03 04:46:07 -04:00
Tsu-ba-me
f7f363b7c1 fix(striker-ui): simplify frequently used props of build delete dialog in checklist 2023-07-03 04:46:07 -04:00
Tsu-ba-me
38f577e8f1 fix(striker-ui): change success message to type info in form utils 2023-07-03 04:46:07 -04:00
Tsu-ba-me
a1a2a043a8 fix(striker-ui): add (un)check all to checklist hook, apply to manage SSH key conflicts 2023-07-03 04:46:07 -04:00
Tsu-ba-me
574f5e99b5 fix(striker-ui): add cookie jar 2023-07-03 04:46:06 -04:00
Tsu-ba-me
46f299d878 fix(striker-ui): make checks an array of IDs 2023-07-03 04:46:06 -04:00
Tsu-ba-me
a272db4239 fix(striker-ui): add submit handler to form utils 2023-07-03 04:46:06 -04:00
Tsu-ba-me
1751cef896 fix(striker-ui): handle checks in List with useChecklist hook 2023-07-03 04:46:06 -04:00
Tsu-ba-me
f6b7a2df5a fix(striker-ui): add input unmount function builder to form utils 2023-06-19 15:15:33 -04:00
Tsu-ba-me
d22b11bb90 fix(striker-ui): simplify form message setting by removing message setter list 2023-06-19 15:15:32 -04:00
Tsu-ba-me
23ea09ed35 fix(striker-ui): avoid unneeded recreation of message setters 2023-06-19 15:15:32 -04:00
Tsu-ba-me
de5ae58c7e refactor(striker-ui): rename MessageSetterFunction->MessageSetter 2023-06-19 15:15:32 -04:00
Tsu-ba-me
4557e27e1b fix(striker-ui): add function to set form validity by regex 2023-06-19 15:15:32 -04:00
Tsu-ba-me
ae07c8b66d fix(striker-ui): add setMsgSetter in FormUtils 2023-06-19 15:15:31 -04:00
Tsu-ba-me
92f2c3626c fix(striker-ui): organize types in useFormUtils hook 2023-04-04 00:23:00 -04:00
Tsu-ba-me
1548bfd8bc fix(striker-ui): add hook useFormUtils 2023-04-04 00:23:00 -04:00
Tsu-ba-me
47d4a29bd7 fix(striker-ui): simplify ConfirmDialogProps init 2023-04-04 00:23:00 -04:00
Tsu-ba-me
e56fcfd880 fix(striker-ui): add default protect() to useProtectedState 2023-02-14 22:42:50 -05:00
Tsu-ba-me
a1602d5ea8 fix(striker-ui): add useIsFirstRender hook 2022-11-28 14:37:21 -05:00
Tsu-ba-me
76fa37e466 feat(striker-ui): add hooks to handle async cleanup 2022-11-28 14:37:19 -05:00
Josue
f51f6acb4d feat(front-end): add hook to access innerWidth whenever the viewport is resized 2021-08-10 17:07:09 -04:00