-
-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(event): implement preview with drafts #1739
base: main
Are you sure you want to change the base?
Conversation
This reverts commit 2e92642.
db8592b
to
95ec293
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some comments apply to all similar occurrences in other files as well of course
@@ -24,6 +24,7 @@ | |||
"test:e2e:docker:server:static": "pnpm --dir tests run test:e2e:docker:server:static" | |||
}, | |||
"devDependencies": { | |||
"@internationalized/date": "^3.6.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should go to src/package.json
and have no caret
"type": "module" | ||
"type": "module", | ||
"dependencies": { | ||
"@opentelemetry/resources": "^1.30.1" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think we need to commit this. Issues related to this should likely be fixed by other means.
</template> | ||
|
||
<script setup lang="ts"> | ||
import { ref, watch } from 'vue' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This line is auto-imported and can be removed
defineProps<{ | ||
modelValue: CalendarDate | ||
placeholder?: string | ||
timePlaceholder?: string | ||
initialTime?: string | ||
}>(), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please extract this type definition into a Props
interface in case we need to import it in another file
placeholder: 'Select date', | ||
timePlaceholder: 'Select time', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Those strings should be translatable
preview: Vorschau des Ereignisses | ||
previewHeading: Ereignisvorschau |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
preview: Vorschau des Ereignisses | |
previewHeading: Ereignisvorschau | |
preview: Vorschau der Veranstaltung | |
previewHeading: Veranstaltungsvorschau |
@@ -13,6 +13,7 @@ | |||
<LayoutBreadcrumbs :items="breadcrumbItems" /> | |||
<section> | |||
<LayoutPageTitle :title="t('title')" /> | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
stray empty line
statusCode: 404, | ||
}) | ||
// return abortNavigation({ statusCode: 404 }) | ||
if (!nuxtApp.isHydrating) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Isn't isHydrating
only true while for a few milliseconds after page load? Maybe you can explain this logic to me in person
src/gql/generated/graphcache.ts
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Merging in master should reduce the diff here
@@ -138,7 +138,8 @@ | |||
"vue-router": "4.5.0", | |||
"vue-tsc": "2.2.0", | |||
"workbox-precaching": "7.3.0", | |||
"zod": "3.24.1" | |||
"zod": "3.24.1", | |||
"@internationalized/date": "^3.6.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"@internationalized/date": "^3.6.0" | |
"@internationalized/date": "3.6.0" |
and likely will be moved further up by installing it through pnpm
📚 Description
This PR
📝 Checklist