diff --git a/CHANGELOG.md b/CHANGELOG.md index d874373..04f4300 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,14 @@ * Add alerts via Anchor +# 0.2.14 + +* Add calendar event editing + +# 0.2.13 + +* Fix android keyboard issue + # 0.2.12 * Fix keyboard covering chat input diff --git a/src/app.css b/src/app.css index 5f8917d..2dca3d6 100644 --- a/src/app.css +++ b/src/app.css @@ -345,7 +345,7 @@ progress[value]::-webkit-progress-value { } .chat__messages { - @apply saib cw fixed top-12 flex h-[calc(100%-6rem)] flex-col-reverse overflow-y-auto overflow-x-hidden md:h-[calc(100%-2.5rem)]; + @apply saib cw fixed top-12 flex h-[calc(100%-6rem)] flex-col-reverse overflow-y-auto overflow-x-hidden md:h-[calc(100%-3rem)]; } .chat__compose { diff --git a/src/app/components/CalendarEventActions.svelte b/src/app/components/CalendarEventActions.svelte index 79893d6..a411a51 100644 --- a/src/app/components/CalendarEventActions.svelte +++ b/src/app/components/CalendarEventActions.svelte @@ -1,12 +1,16 @@ -
- - {#snippet title()} -
Create an Event
- {/snippet} - {#snippet info()} -
Invite other group members to events online or in real life.
- {/snippet} -
- - {#snippet label()} -

Title*

- {/snippet} - {#snippet input()} - - {/snippet} -
- - {#snippet label()} -

Summary

- {/snippet} - {#snippet input()} -
-
- -
- -
- {/snippet} -
- - {#snippet label()} - Start* - {/snippet} - {#snippet input()} - - {/snippet} - - - {#snippet label()} - End* - {/snippet} - {#snippet input()} - - {/snippet} - - - {#snippet label()} -

Location (optional)

- {/snippet} - {#snippet input()} - - {/snippet} -
- - - - -
+ + {#snippet header()} + + {#snippet title()} +
Create an Event
+ {/snippet} + {#snippet info()} +
Invite other group members to events online or in real life.
+ {/snippet} +
+ {/snippet} +
diff --git a/src/app/components/CalendarEventEdit.svelte b/src/app/components/CalendarEventEdit.svelte new file mode 100644 index 0000000..fa924cf --- /dev/null +++ b/src/app/components/CalendarEventEdit.svelte @@ -0,0 +1,35 @@ + + + + {#snippet header()} + + {#snippet title()} +
Edit this Event
+ {/snippet} + {#snippet info()} +
Invite other group members to events online or in real life.
+ {/snippet} +
+ {/snippet} +
diff --git a/src/app/components/CalendarEventForm.svelte b/src/app/components/CalendarEventForm.svelte new file mode 100644 index 0000000..87545f1 --- /dev/null +++ b/src/app/components/CalendarEventForm.svelte @@ -0,0 +1,171 @@ + + +
+ {@render header()} + + {#snippet label()} +

Title*

+ {/snippet} + {#snippet input()} + + {/snippet} +
+ + {#snippet label()} +

Summary

+ {/snippet} + {#snippet input()} +
+
+ +
+ +
+ {/snippet} +
+ + {#snippet label()} + Start* + {/snippet} + {#snippet input()} + + {/snippet} + + + {#snippet label()} + End* + {/snippet} + {#snippet input()} + + {/snippet} + + + {#snippet label()} +

Location (optional)

+ {/snippet} + {#snippet input()} + + {/snippet} +
+ + + + +
diff --git a/src/app/components/CalendarEventMeta.svelte b/src/app/components/CalendarEventMeta.svelte index 75b379a..da0a887 100644 --- a/src/app/components/CalendarEventMeta.svelte +++ b/src/app/components/CalendarEventMeta.svelte @@ -18,9 +18,9 @@ Posted by {#if meta.location} - - - {meta.location} + + + {meta.location} {/if} diff --git a/src/app/components/EventActions.svelte b/src/app/components/EventActions.svelte index ad34a05..f800493 100644 --- a/src/app/components/EventActions.svelte +++ b/src/app/components/EventActions.svelte @@ -1,4 +1,5 @@ -