1
Fork 0
mirror of https://github.com/Steffo99/festa.git synced 2024-10-16 15:07:27 +00:00
Commit graph

188 commits

Author SHA1 Message Date
c8acc48f2e
Add initial way to change postcard 2022-07-20 21:34:27 +02:00
2e69a0f963
Capture onSubmit to save the form 2022-07-20 13:26:34 +02:00
8f934e70f2
Fix postcard sizing 2022-07-20 13:20:15 +02:00
16aad0eecb
Fix nasty re-rendering bug 2022-07-20 12:54:59 +02:00
ff73ab681f
Disable revalidation while editing 2022-07-20 12:29:07 +02:00
486050587f
Fix missing deps 2022-07-19 20:32:13 +02:00
9c31ae8340
Make code harder to read
thanks eslint
2022-07-19 20:31:25 +02:00
5952bf54f8
Fix missing deps in PageEvent 2022-07-19 20:30:37 +02:00
4501456339
Fix missing displayName 2022-07-19 20:30:28 +02:00
729f136eb7
Rework PageEvent to not use editables 2022-07-19 20:25:11 +02:00
b94b28853e
Add a gap in ViewContent 2022-07-19 20:24:57 +02:00
60ea8a76b3
Refactor loading components and boundaries 2022-07-19 20:06:40 +02:00
ba531bba9b
Throw errors occouring in SWR 2022-07-19 19:53:52 +02:00
e78532243d
Improve error-related components 2022-07-19 19:51:14 +02:00
08ed0f14d3
Nuke editables 2022-07-19 19:05:13 +02:00
ee6a082f66
Configure SWR fallback in the event page 2022-07-19 19:04:29 +02:00
02d7251b16
Make big changes to how mood, errors and loading are handled 2022-07-19 00:42:56 +02:00
7717dfc3c7
Update event page with new sparkly things 2022-07-18 06:13:19 +02:00
8e5e3aacaa
Remove prefix and suffix from EditableText
It was ugly, since text changed position when a prefix was added
2022-07-18 06:13:05 +02:00
8258f8185f
Document components/generic/editables/base 2022-07-18 06:12:11 +02:00
c110ae8bf2
Add missing newline at the end of a stylesheet 2022-07-18 06:10:56 +02:00
7b2bf7031f
Make ToolToggleEditing uninteractable while save is running 2022-07-18 06:10:33 +02:00
8e5221814d
Fix typescript doing something weird again 2022-07-18 06:09:51 +02:00
9732f938b5
Create a provider for the EditingContext 2022-07-18 06:09:17 +02:00
cef886a4ef
Create a stylesheet to specify the cursor's style when hovering an element 2022-07-18 06:07:48 +02:00
583bdad4c8
Make disabled buttons a bit more visible 2022-07-18 06:07:13 +02:00
d74f747846
Fix decentered tools 2022-07-18 05:13:50 +02:00
2b2860b84d
Make the Save button "positive" 2022-07-18 05:08:08 +02:00
ae79116259
Change ToolToggleEditing behaviour to "Edit / Save" 2022-07-18 05:06:45 +02:00
2d63ebeaaf
Use usePromise hook for saving 2022-07-18 04:47:02 +02:00
32a4e7d075
Clean up it-IT locale 2022-07-18 04:41:52 +02:00
e5f2ce7cda
Add a way to add prefixes and suffixes to the view mode of EditableText 2022-07-18 04:22:20 +02:00
531f1f6ec9
Delete the Event view 2022-07-18 03:57:02 +02:00
5772bd16de
Remove unused import 2022-07-17 19:54:14 +02:00
f5a58188cc
Handle unexpected API errors 2022-07-17 19:53:16 +02:00
94e31d361b
Change a few things in the event page 2022-07-17 06:20:52 +02:00
4b70723007
Make the title of the ViewContent a h1 2022-07-17 06:20:32 +02:00
e85363c4f3
Change FestaMarkdownRenderer's header mapping 2022-07-17 06:20:19 +02:00
553d292634
Display at least 12 rows in the Markdown editor 2022-07-17 06:19:53 +02:00
e89ecc6700
Force monospace in the Markdown editor 2022-07-17 06:19:23 +02:00
e2aef26685
Make button to save changes actually do that 2022-07-17 04:28:46 +02:00
037f97c68d
Create a component to provide and store the PostcardContext 2022-07-17 03:49:37 +02:00
9d5614612c
Convert components/auth/base back to .ts 2022-07-17 03:36:12 +02:00
579ec8b5a1
Move useStatePostcard to components/postcard/storage 2022-07-17 03:33:55 +02:00
6829c7911a
Move AuthContextProvider to components/auth/provider 2022-07-17 03:32:36 +02:00
3c597158c8
Move useStatePostcard to components/postcard/base 2022-07-17 02:58:53 +02:00
e6e667a1d3
Clean up imports in _app 2022-07-17 02:57:02 +02:00
d5d67dcc6d
Create a component to provide and store the AuthContext 2022-07-17 02:55:36 +02:00
5d633f51bd
Properly save auth state 2022-07-17 02:51:21 +02:00
45c3e2071f
Simulate save delay 2022-07-17 02:35:25 +02:00