-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Swap siteNotification to use a pinia store, and make the z-index bigger. (Fixes #151) (#152) * Bugs/145 ga disclaimer and visual improvements (#153) * 📜 improving copy * 💚 improve spacing in home view * 💚 improve footer bottom position without scroll bars * 🔨 handle empty schedules list * Bugs/154 calendar sync (#155) * 🔨 only json load google token if it exists * 🔨 fix sync button styles * Improving copy (#156) --------- Co-authored-by: Mel <[email protected]>
- Loading branch information
1 parent
a751671
commit e7fb24b
Showing
15 changed files
with
521 additions
and
461 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,16 +5,25 @@ | |
<alert-box title="Calendar Connect Error" v-if="calendarConnectError">{{calendarConnectError}}</alert-box> | ||
|
||
<!-- list of possible calendars to connect --> | ||
<CalendarManagement | ||
:title="t('heading.calendarsUnconnected')" :type="calendarManagementType.connect" :calendars="calendars" | ||
:loading="loading" @sync="syncCalendars" @modify="connectCalendar" | ||
></CalendarManagement> | ||
<calendar-management | ||
:title="t('heading.calendarsUnconnected')" | ||
:type="calendarManagementType.connect" | ||
:calendars="calendars" | ||
:loading="loading" | ||
@sync="syncCalendars" | ||
@modify="connectCalendar" | ||
/> | ||
|
||
<!-- list of calendar connections --> | ||
<CalendarManagement | ||
:title="t('heading.calendarsConnected')" :type="calendarManagementType.edit" :calendars="calendars" | ||
:loading="loading" @remove="deleteCalendar" @modify="editCalendar"> | ||
</CalendarManagement> | ||
<calendar-management | ||
:title="t('heading.calendarsConnected')" | ||
:type="calendarManagementType.edit" | ||
:calendars="calendars" | ||
:loading="loading" | ||
@remove="deleteCalendar" | ||
@modify="editCalendar" | ||
/> | ||
|
||
<div class="flex gap-4"> | ||
<secondary-button | ||
:label="t('label.addCalendar', { provider: t('label.google') })" | ||
|
@@ -180,23 +189,17 @@ | |
</template> | ||
|
||
<script setup> | ||
import { | ||
ref, reactive, inject, onMounted, computed, | ||
} from 'vue'; | ||
import { calendarManagementType } from '@/definitions'; | ||
import { IconArrowRight } from '@tabler/icons-vue'; | ||
import { ref, reactive, inject, onMounted, computed } from 'vue'; | ||
import { useI18n } from 'vue-i18n'; | ||
import SecondaryButton from '@/elements/SecondaryButton'; | ||
import PrimaryButton from '@/elements/PrimaryButton'; | ||
// icons | ||
import { | ||
IconArrowRight, | ||
} from '@tabler/icons-vue'; | ||
import { useRoute, useRouter } from 'vue-router'; | ||
import AlertBox from '@/elements/AlertBox'; | ||
import CalendarManagement from '@/components/CalendarManagement.vue'; | ||
import { calendarManagementType } from '@/definitions'; | ||
import GoogleSignInBtn from '@/assets/img/google/1x/btn_google_signin_light_normal_web.png'; | ||
import GoogleSignInBtn2x from '@/assets/img/google/2x/[email protected]'; | ||
import PrimaryButton from '@/elements/PrimaryButton'; | ||
import SecondaryButton from '@/elements/SecondaryButton'; | ||
// component constants | ||
const { t } = useI18n({ useScope: 'global' }); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.