diff --git a/app/src/components/v-chip/v-chip.vue b/app/src/components/v-chip/v-chip.vue index 011f2870e3..cdfd79cdc4 100644 --- a/app/src/components/v-chip/v-chip.vue +++ b/app/src/components/v-chip/v-chip.vue @@ -104,7 +104,7 @@ body { border: var(--border-width) solid var(--v-chip-background-color); border-radius: 16px; - &:hover { + &.clickable:hover { color: var(--v-chip-color-hover); background-color: var(--v-chip-background-color-hover); border-color: var(--v-chip-background-color-hover); @@ -120,7 +120,7 @@ body { background-color: var(--v-chip-background-color); border-color: var(--v-chip-background-color); - &:hover { + &.clickable:hover { color: var(--v-chip-color); background-color: var(--v-chip-background-color); border-color: var(--v-chip-background-color); diff --git a/app/src/components/v-field-select/v-field-select.vue b/app/src/components/v-field-select/v-field-select.vue index 4d81c5dfc9..fd3560ab4e 100644 --- a/app/src/components/v-field-select/v-field-select.vue +++ b/app/src/components/v-field-select/v-field-select.vue @@ -13,7 +13,7 @@ class="v-field-select" > diff --git a/app/src/components/v-form/form-field-label.vue b/app/src/components/v-form/form-field-label.vue index 423520d7cc..1523d1a2ef 100644 --- a/app/src/components/v-form/form-field-label.vue +++ b/app/src/components/v-form/form-field-label.vue @@ -6,11 +6,12 @@ :value="field.field" @update:model-value="$emit('toggle-batch', field)" /> - + {{ field.name }} + {{ badge }} @@ -53,6 +54,10 @@ export default defineComponent({ type: Boolean, default: false, }, + badge: { + type: String, + default: null, + }, }, emits: ['toggle-batch'], setup() { @@ -79,6 +84,11 @@ export default defineComponent({ margin-right: 4px; } + .v-chip { + margin: 0; + margin-left: 8px; + } + .required { --v-icon-color: var(--primary); @@ -88,7 +98,7 @@ export default defineComponent({ .ctx-arrow { position: absolute; top: -3px; - right: -20px; + right: -24px; color: var(--foreground-subdued); opacity: 0; transition: opacity var(--fast) var(--transition); @@ -118,7 +128,7 @@ export default defineComponent({ pointer-events: none; } - > span { + .field-name { margin-left: -16px; padding-left: 16px; } diff --git a/app/src/components/v-form/form-field.vue b/app/src/components/v-form/form-field.vue index 19833c6777..05cefcd4b2 100644 --- a/app/src/components/v-form/form-field.vue +++ b/app/src/components/v-form/form-field.vue @@ -11,6 +11,7 @@ :batch-active="batchActive" :edited="isEdited" :has-error="!!validationError" + :badge="badge" @toggle-batch="$emit('toggle-batch', $event)" /> @@ -111,6 +112,10 @@ export default defineComponent({ type: Boolean, default: false, }, + badge: { + type: String, + default: null, + }, }, emits: ['toggle-batch', 'unset', 'update:modelValue'], setup(props, { emit }) { diff --git a/app/src/components/v-form/v-form.vue b/app/src/components/v-form/v-form.vue index d1bd40ef2b..eb6929ee4a 100644 --- a/app/src/components/v-form/v-form.vue +++ b/app/src/components/v-form/v-form.vue @@ -52,6 +52,7 @@ :primary-key="primaryKey" :loading="loading" :validation-error="validationErrors.find((err) => err.field === field.field)" + :badge="badge" @update:model-value="setValue(field, $event)" @unset="unsetValue(field)" @toggle-batch="toggleBatchField(field)" @@ -124,6 +125,10 @@ export default defineComponent({ type: Number, default: null, }, + badge: { + type: String, + default: null, + }, }, emits: ['update:modelValue'], setup(props, { emit }) { diff --git a/app/src/components/v-progress/linear/v-progress-linear.vue b/app/src/components/v-progress/linear/v-progress-linear.vue index 361db542ae..0afc90d6b7 100644 --- a/app/src/components/v-progress/linear/v-progress-linear.vue +++ b/app/src/components/v-progress/linear/v-progress-linear.vue @@ -1,14 +1,18 @@ diff --git a/app/src/interfaces/tags/tags.vue b/app/src/interfaces/tags/tags.vue index 94197e91ff..1375acad76 100644 --- a/app/src/interfaces/tags/tags.vue +++ b/app/src/interfaces/tags/tags.vue @@ -18,6 +18,7 @@ :disabled="disabled" small label + clickable @click="toggleTag(preset)" > {{ preset }} @@ -32,6 +33,7 @@ class="tag" small label + clickable @click="removeTag(val)" > {{ val }} diff --git a/app/src/interfaces/translations/language-select.vue b/app/src/interfaces/translations/language-select.vue new file mode 100644 index 0000000000..0dba1b62ac --- /dev/null +++ b/app/src/interfaces/translations/language-select.vue @@ -0,0 +1,153 @@ + + + + + diff --git a/app/src/interfaces/translations/options.vue b/app/src/interfaces/translations/options.vue index 34fd34aa38..3e88431135 100644 --- a/app/src/interfaces/translations/options.vue +++ b/app/src/interfaces/translations/options.vue @@ -4,29 +4,8 @@
-

{{ t('language_display_template') }}

- -
- -
-

{{ t('translations_display_template') }}

- +

{{ t('interfaces.translations.language_field') }}

+
@@ -36,7 +15,7 @@ import { useI18n } from 'vue-i18n'; import { Relation } from '@/types'; import { Field } from '@directus/shared/types'; import { defineComponent, PropType, computed } from 'vue'; -import { useCollectionsStore } from '@/stores/'; +import { useFieldsStore } from '@/stores/'; export default defineComponent({ props: { @@ -61,28 +40,16 @@ export default defineComponent({ setup(props, { emit }) { const { t } = useI18n(); - const collectionsStore = useCollectionsStore(); + const fieldsStore = useFieldsStore(); - const translationsTemplate = computed({ + const languageField = computed({ get() { - return props.value?.translationsTemplate; + return props.value?.languageField; }, set(newTemplate: string) { emit('input', { ...(props.value || {}), - translationsTemplate: newTemplate, - }); - }, - }); - - const languageTemplate = computed({ - get() { - return props.value?.languageTemplate; - }, - set(newTemplate: string) { - emit('input', { - ...(props.value || {}), - languageTemplate: newTemplate, + languageField: newTemplate, }); }, }); @@ -109,27 +76,18 @@ export default defineComponent({ ); }); - const translationsCollection = computed(() => translationsRelation.value?.collection ?? null); const languageCollection = computed(() => languageRelation.value?.related_collection ?? null); - const translationsCollectionInfo = computed(() => { - if (!translationsCollection.value) return null; - return collectionsStore.getCollection(translationsCollection.value); - }); - - const languageCollectionInfo = computed(() => { - if (!languageCollection.value) return null; - return collectionsStore.getCollection(languageCollection.value); + const languageCollectionFields = computed(() => { + if (!languageCollection.value) return []; + return fieldsStore.getFieldsForCollection(languageCollection.value); }); return { t, - languageTemplate, - translationsTemplate, - translationsCollection, - translationsCollectionInfo, + languageField, languageCollection, - languageCollectionInfo, + languageCollectionFields, }; }, }); diff --git a/app/src/interfaces/translations/translations.vue b/app/src/interfaces/translations/translations.vue index 1019e33e37..8c776a34ec 100644 --- a/app/src/interfaces/translations/translations.vue +++ b/app/src/interfaces/translations/translations.vue @@ -1,54 +1,66 @@ - diff --git a/app/src/lang/translations/en-US.yaml b/app/src/lang/translations/en-US.yaml index 20125929b3..789a739fb5 100644 --- a/app/src/lang/translations/en-US.yaml +++ b/app/src/lang/translations/en-US.yaml @@ -1288,6 +1288,8 @@ interfaces: translations: display_template: Display Template no_collection: No Collection + toggle_split_view: Toggle Split View + language_field: Language Field list-o2m-tree-view: description: Tree view for nested recursive one-to-many items recursive_only: The tree view interface only works for recursive relationships. diff --git a/changelog.md b/changelog.md index f742b6181b..f137b305ed 100644 --- a/changelog.md +++ b/changelog.md @@ -6,118 +6,205 @@ _Changes marked with a :warning: contain potential breaking changes depending on ### ⚠️ Potential Breaking Changes -- Custom API endpoints no longer use a `/custom` prefix. Please update your usage of custom endpoints to drop the `/custom` prefix See [#7695](https://github.com/directus/directus/pull/7695) -- Layouts use a revised setup that relies on props instead of `useState`. See [#7489](https://github.com/directus/directus/pull/7489) +- Custom API endpoints no longer use a `/custom` prefix. Please update your usage of custom endpoints to drop the + `/custom` prefix See [#7695](https://github.com/directus/directus/pull/7695) +- Layouts use a revised setup that relies on props instead of `useState`. See + [#7489](https://github.com/directus/directus/pull/7489) ### :sparkles: New Features - **API** - - [#7789](https://github.com/directus/directus/pull/7789) Add environment variable to force-exclude tables from Directus ([@rijkvanzanten](https://github.com/rijkvanzanten)) - - [#7777](https://github.com/directus/directus/pull/7777) Expose logger through ExtensionContext ([@Moeriki](https://github.com/Moeriki)) - - [#7759](https://github.com/directus/directus/pull/7759) Show a warning if PostGIS is missing ([@rijkvanzanten](https://github.com/rijkvanzanten)) + - [#7789](https://github.com/directus/directus/pull/7789) Add environment variable to force-exclude tables from + Directus ([@rijkvanzanten](https://github.com/rijkvanzanten)) + - [#7777](https://github.com/directus/directus/pull/7777) Expose logger through ExtensionContext + ([@Moeriki](https://github.com/Moeriki)) + - [#7759](https://github.com/directus/directus/pull/7759) Show a warning if PostGIS is missing + ([@rijkvanzanten](https://github.com/rijkvanzanten)) - **App** - - [#7605](https://github.com/directus/directus/pull/7605) Add search result highlighting to tree-view interface ([@rijkvanzanten](https://github.com/rijkvanzanten)) + - [#7605](https://github.com/directus/directus/pull/7605) Add search result highlighting to tree-view interface + ([@rijkvanzanten](https://github.com/rijkvanzanten)) ### :rocket: Improvements - **App** - - [#7749](https://github.com/directus/directus/pull/7749) Disable attribute inheritance for all layout components ([@nickrum](https://github.com/nickrum)) - - [#7738](https://github.com/directus/directus/pull/7738) Warn the user when a collapsed group field had an error ([@Nitwel](https://github.com/Nitwel)) - - [#7687](https://github.com/directus/directus/pull/7687) Resolve editor/type warnings ([@Nitwel](https://github.com/Nitwel)) - - [#7668](https://github.com/directus/directus/pull/7668) Replace system provide with composables ([@nickrum](https://github.com/nickrum)) - - [#7650](https://github.com/directus/directus/pull/7650) Allow to select system collections in m2a ([@Nitwel](https://github.com/Nitwel)) - - [#7583](https://github.com/directus/directus/pull/7583) Display private images in WYSIWYG editor ([@jaycammarano](https://github.com/jaycammarano)) - - [#7578](https://github.com/directus/directus/pull/7578) Add `search this area` button to map layout. ([@Oreilles](https://github.com/Oreilles)) - - [#7563](https://github.com/directus/directus/pull/7563) Move basemap input higher in sidebar options. Keep map interactive under v-info ([@Oreilles](https://github.com/Oreilles)) - - [#7535](https://github.com/directus/directus/pull/7535) Allow using regular input interface on TEXT type fields ([@alexkharech](https://github.com/alexkharech)) + - [#7749](https://github.com/directus/directus/pull/7749) Disable attribute inheritance for all layout components + ([@nickrum](https://github.com/nickrum)) + - [#7738](https://github.com/directus/directus/pull/7738) Warn the user when a collapsed group field had an error + ([@Nitwel](https://github.com/Nitwel)) + - [#7687](https://github.com/directus/directus/pull/7687) Resolve editor/type warnings + ([@Nitwel](https://github.com/Nitwel)) + - [#7668](https://github.com/directus/directus/pull/7668) Replace system provide with composables + ([@nickrum](https://github.com/nickrum)) + - [#7650](https://github.com/directus/directus/pull/7650) Allow to select system collections in m2a + ([@Nitwel](https://github.com/Nitwel)) + - [#7583](https://github.com/directus/directus/pull/7583) Display private images in WYSIWYG editor + ([@jaycammarano](https://github.com/jaycammarano)) + - [#7578](https://github.com/directus/directus/pull/7578) Add `search this area` button to map layout. + ([@Oreilles](https://github.com/Oreilles)) + - [#7563](https://github.com/directus/directus/pull/7563) Move basemap input higher in sidebar options. Keep map + interactive under v-info ([@Oreilles](https://github.com/Oreilles)) + - [#7535](https://github.com/directus/directus/pull/7535) Allow using regular input interface on TEXT type fields + ([@alexkharech](https://github.com/alexkharech)) - **Extensions** - - [#7714](https://github.com/directus/directus/pull/7714) Improve API extension context types ([@nickrum](https://github.com/nickrum)) - - :warning: [#7695](https://github.com/directus/directus/pull/7695) Remove /custom subpath for endpoints and add a way to customize the endpoint subpath ([@nickrum](https://github.com/nickrum)) - - [#7668](https://github.com/directus/directus/pull/7668) Replace system provide with composables ([@nickrum](https://github.com/nickrum)) - - [#7629](https://github.com/directus/directus/pull/7629) Share vue-router between App and extensions ([@nickrum](https://github.com/nickrum)) - - [#7627](https://github.com/directus/directus/pull/7627) Allow json imports and replace NODE_ENV env var when building extensions ([@nickrum](https://github.com/nickrum)) + - [#7714](https://github.com/directus/directus/pull/7714) Improve API extension context types + ([@nickrum](https://github.com/nickrum)) + - :warning: [#7695](https://github.com/directus/directus/pull/7695) Remove /custom subpath for endpoints and add a way + to customize the endpoint subpath ([@nickrum](https://github.com/nickrum)) + - [#7668](https://github.com/directus/directus/pull/7668) Replace system provide with composables + ([@nickrum](https://github.com/nickrum)) + - [#7629](https://github.com/directus/directus/pull/7629) Share vue-router between App and extensions + ([@nickrum](https://github.com/nickrum)) + - [#7627](https://github.com/directus/directus/pull/7627) Allow json imports and replace NODE_ENV env var when + building extensions ([@nickrum](https://github.com/nickrum)) - **API** - - [#7711](https://github.com/directus/directus/pull/7711) Remove permission.limit ([@Nitwel](https://github.com/Nitwel)) - - :warning: [#7695](https://github.com/directus/directus/pull/7695) Remove /custom subpath for endpoints and add a way to customize the endpoint subpath ([@nickrum](https://github.com/nickrum)) - - [#7604](https://github.com/directus/directus/pull/7604) Log localhost url on startup so it's clickable in terminals ([@zebapy](https://github.com/zebapy)) + - [#7711](https://github.com/directus/directus/pull/7711) Remove permission.limit + ([@Nitwel](https://github.com/Nitwel)) + - :warning: [#7695](https://github.com/directus/directus/pull/7695) Remove /custom subpath for endpoints and add a way + to customize the endpoint subpath ([@nickrum](https://github.com/nickrum)) + - [#7604](https://github.com/directus/directus/pull/7604) Log localhost url on startup so it's clickable in terminals + ([@zebapy](https://github.com/zebapy)) ### :bug: Bug Fixes - **App** - - [#7780](https://github.com/directus/directus/pull/7780) Use OpenMapTiles font instead of ArcGIS ([@Oreilles](https://github.com/Oreilles)) - - [#7778](https://github.com/directus/directus/pull/7778) Fixes bug when trying to edit geometry in code interface. ([@Oreilles](https://github.com/Oreilles)) - - [#7768](https://github.com/directus/directus/pull/7768) Fix hash link in docs module ([@rijkvanzanten](https://github.com/rijkvanzanten)) - - [#7763](https://github.com/directus/directus/pull/7763) Fix branch emitter logic from grand-to-child ([@rijkvanzanten](https://github.com/rijkvanzanten)) - - [#7760](https://github.com/directus/directus/pull/7760) Fix 'Inactive' to 'Invited' translations on user status ([@joselcvarela](https://github.com/joselcvarela)) - - [#7756](https://github.com/directus/directus/pull/7756) fix WYSIWYG field focus event ([@azrikahar](https://github.com/azrikahar)) - - [#7716](https://github.com/directus/directus/pull/7716) Fix input-code component lint style ([@azrikahar](https://github.com/azrikahar)) - - [#7712](https://github.com/directus/directus/pull/7712) Prevent generated columns edition ([@Oreilles](https://github.com/Oreilles)) - - [#7703](https://github.com/directus/directus/pull/7703) Fix alignment of collection nav grouping ([@Nitwel](https://github.com/Nitwel)) - - [#7698](https://github.com/directus/directus/pull/7698) Add permission prop check ([@Nitwel](https://github.com/Nitwel)) - - [#7697](https://github.com/directus/directus/pull/7697) Add upload event for file imports ([@azrikahar](https://github.com/azrikahar)) - - [#7684](https://github.com/directus/directus/pull/7684) Add missing translations ([@Nitwel](https://github.com/Nitwel)) - - [#7683](https://github.com/directus/directus/pull/7683) Move related values link to icon ([@Nitwel](https://github.com/Nitwel)) - - [#7682](https://github.com/directus/directus/pull/7682) Fix firefox being buggy with numbers as value inputs ([@Nitwel](https://github.com/Nitwel)) - - [#7669](https://github.com/directus/directus/pull/7669) Add missing translations ([@Nitwel](https://github.com/Nitwel)) - - [#7666](https://github.com/directus/directus/pull/7666) Fix items not getting matched properly ([@Nitwel](https://github.com/Nitwel)) - - [#7635](https://github.com/directus/directus/pull/7635) Prevent collection from crashing on unknown layout ([@rijkvanzanten](https://github.com/rijkvanzanten)) - - [#7632](https://github.com/directus/directus/pull/7632) Assign edits instead of merge ([@Nitwel](https://github.com/Nitwel)) - - [#7631](https://github.com/directus/directus/pull/7631) Fix o2m flashing / reloading when typing ([@Nitwel](https://github.com/Nitwel)) + - [#7780](https://github.com/directus/directus/pull/7780) Use OpenMapTiles font instead of ArcGIS + ([@Oreilles](https://github.com/Oreilles)) + - [#7778](https://github.com/directus/directus/pull/7778) Fixes bug when trying to edit geometry in code interface. + ([@Oreilles](https://github.com/Oreilles)) + - [#7768](https://github.com/directus/directus/pull/7768) Fix hash link in docs module + ([@rijkvanzanten](https://github.com/rijkvanzanten)) + - [#7763](https://github.com/directus/directus/pull/7763) Fix branch emitter logic from grand-to-child + ([@rijkvanzanten](https://github.com/rijkvanzanten)) + - [#7760](https://github.com/directus/directus/pull/7760) Fix 'Inactive' to 'Invited' translations on user status + ([@joselcvarela](https://github.com/joselcvarela)) + - [#7756](https://github.com/directus/directus/pull/7756) fix WYSIWYG field focus event + ([@azrikahar](https://github.com/azrikahar)) + - [#7716](https://github.com/directus/directus/pull/7716) Fix input-code component lint style + ([@azrikahar](https://github.com/azrikahar)) + - [#7712](https://github.com/directus/directus/pull/7712) Prevent generated columns edition + ([@Oreilles](https://github.com/Oreilles)) + - [#7703](https://github.com/directus/directus/pull/7703) Fix alignment of collection nav grouping + ([@Nitwel](https://github.com/Nitwel)) + - [#7698](https://github.com/directus/directus/pull/7698) Add permission prop check + ([@Nitwel](https://github.com/Nitwel)) + - [#7697](https://github.com/directus/directus/pull/7697) Add upload event for file imports + ([@azrikahar](https://github.com/azrikahar)) + - [#7684](https://github.com/directus/directus/pull/7684) Add missing translations + ([@Nitwel](https://github.com/Nitwel)) + - [#7683](https://github.com/directus/directus/pull/7683) Move related values link to icon + ([@Nitwel](https://github.com/Nitwel)) + - [#7682](https://github.com/directus/directus/pull/7682) Fix firefox being buggy with numbers as value inputs + ([@Nitwel](https://github.com/Nitwel)) + - [#7669](https://github.com/directus/directus/pull/7669) Add missing translations + ([@Nitwel](https://github.com/Nitwel)) + - [#7666](https://github.com/directus/directus/pull/7666) Fix items not getting matched properly + ([@Nitwel](https://github.com/Nitwel)) + - [#7635](https://github.com/directus/directus/pull/7635) Prevent collection from crashing on unknown layout + ([@rijkvanzanten](https://github.com/rijkvanzanten)) + - [#7632](https://github.com/directus/directus/pull/7632) Assign edits instead of merge + ([@Nitwel](https://github.com/Nitwel)) + - [#7631](https://github.com/directus/directus/pull/7631) Fix o2m flashing / reloading when typing + ([@Nitwel](https://github.com/Nitwel)) - [#7628](https://github.com/directus/directus/pull/7628) Truely unref item ([@Nitwel](https://github.com/Nitwel)) - - [#7602](https://github.com/directus/directus/pull/7602) Add mapbox-key to map interface initialization ([@Oreilles](https://github.com/Oreilles)) - - [#7599](https://github.com/directus/directus/pull/7599) Check if perms have edits ([@Nitwel](https://github.com/Nitwel)) - - [#7562](https://github.com/directus/directus/pull/7562) Fix calendar layout not opening detail pages for system collections ([@azrikahar](https://github.com/azrikahar)) - - :warning: [#7489](https://github.com/directus/directus/pull/7489) Rework layout extension component management ([@nickrum](https://github.com/nickrum)) + - [#7602](https://github.com/directus/directus/pull/7602) Add mapbox-key to map interface initialization + ([@Oreilles](https://github.com/Oreilles)) + - [#7599](https://github.com/directus/directus/pull/7599) Check if perms have edits + ([@Nitwel](https://github.com/Nitwel)) + - [#7562](https://github.com/directus/directus/pull/7562) Fix calendar layout not opening detail pages for system + collections ([@azrikahar](https://github.com/azrikahar)) + - :warning: [#7489](https://github.com/directus/directus/pull/7489) Rework layout extension component management + ([@nickrum](https://github.com/nickrum)) - Update WYSIWYG styling ([@benhaynes](https://github.com/benhaynes)) - **Extensions** - - [#7624](https://github.com/directus/directus/pull/7624) Enable browser module resolution when building app extensions ([@nickrum](https://github.com/nickrum)) + - [#7624](https://github.com/directus/directus/pull/7624) Enable browser module resolution when building app + extensions ([@nickrum](https://github.com/nickrum)) - **API** - - [#7581](https://github.com/directus/directus/pull/7581) Fix uploaded_by not always setting user ([@rijkvanzanten](https://github.com/rijkvanzanten)) - - [#7568](https://github.com/directus/directus/pull/7568) fix(api): merge original user object into payload from auth hook ([@azrikahar](https://github.com/azrikahar)) - - [#7561](https://github.com/directus/directus/pull/7561) Handle difference between `pg` and `postgres` as db client in geometry helper ([@Oreilles](https://github.com/Oreilles)) - - [#7553](https://github.com/directus/directus/pull/7553) Fix asset transformation `withEnlargement` type ([@azrikahar](https://github.com/azrikahar)) + - [#7581](https://github.com/directus/directus/pull/7581) Fix uploaded_by not always setting user + ([@rijkvanzanten](https://github.com/rijkvanzanten)) + - [#7568](https://github.com/directus/directus/pull/7568) fix(api): merge original user object into payload from auth + hook ([@azrikahar](https://github.com/azrikahar)) + - [#7561](https://github.com/directus/directus/pull/7561) Handle difference between `pg` and `postgres` as db client + in geometry helper ([@Oreilles](https://github.com/Oreilles)) + - [#7553](https://github.com/directus/directus/pull/7553) Fix asset transformation `withEnlargement` type + ([@azrikahar](https://github.com/azrikahar)) ### :memo: Documentation -- [#7771](https://github.com/directus/directus/pull/7771) tiny rewrite of operator descriptions in docs/reference/filter-rules ([@definiteIymaybe](https://github.com/definiteIymaybe)) -- [#7757](https://github.com/directus/directus/pull/7757) Document usage of custom reset URL in request password in the SDK ([@joselcvarela](https://github.com/joselcvarela)) -- [#7750](https://github.com/directus/directus/pull/7750) Update layout docs to new layouts system ([@nickrum](https://github.com/nickrum)) -- [#7648](https://github.com/directus/directus/pull/7648) Update mentions of Vue 2 to Vue 3 in codebase-overview.md ([@azrikahar](https://github.com/azrikahar)) -- [#7586](https://github.com/directus/directus/pull/7586) Add installation guide for plesk/shared hosting ([@Tummerhore](https://github.com/Tummerhore)) +- [#7771](https://github.com/directus/directus/pull/7771) tiny rewrite of operator descriptions in + docs/reference/filter-rules ([@definiteIymaybe](https://github.com/definiteIymaybe)) +- [#7757](https://github.com/directus/directus/pull/7757) Document usage of custom reset URL in request password in the + SDK ([@joselcvarela](https://github.com/joselcvarela)) +- [#7750](https://github.com/directus/directus/pull/7750) Update layout docs to new layouts system + ([@nickrum](https://github.com/nickrum)) +- [#7648](https://github.com/directus/directus/pull/7648) Update mentions of Vue 2 to Vue 3 in codebase-overview.md + ([@azrikahar](https://github.com/azrikahar)) +- [#7586](https://github.com/directus/directus/pull/7586) Add installation guide for plesk/shared hosting + ([@Tummerhore](https://github.com/Tummerhore)) ### :package: Dependency Updates -- [#7786](https://github.com/directus/directus/pull/7786) Update dependency npm to v7.22.0 ([@renovate[bot]](https://github.com/apps/renovate)) -- [#7785](https://github.com/directus/directus/pull/7785) Update vue monorepo to v3.2.8 ([@renovate[bot]](https://github.com/apps/renovate)) -- [#7770](https://github.com/directus/directus/pull/7770) Update dependency sass to v1.39.0 ([@renovate[bot]](https://github.com/apps/renovate)) -- [#7769](https://github.com/directus/directus/pull/7769) Update dependency knex-schema-inspector to v1.6.0 ([@renovate[bot]](https://github.com/apps/renovate)) -- [#7766](https://github.com/directus/directus/pull/7766) Update vue monorepo to v3.2.7 ([@renovate[bot]](https://github.com/apps/renovate)) -- [#7752](https://github.com/directus/directus/pull/7752) Update dependency vite to v2.5.3 ([@renovate[bot]](https://github.com/apps/renovate)) -- [#7742](https://github.com/directus/directus/pull/7742) Update dependency @types/sharp to v0.28.6 ([@renovate[bot]](https://github.com/apps/renovate)) -- [#7728](https://github.com/directus/directus/pull/7728) Update gatsby monorepo to v3.13.0 ([@renovate[bot]](https://github.com/apps/renovate)) -- [#7718](https://github.com/directus/directus/pull/7718) Update dependency knex-schema-inspector to v1.5.15 ([@renovate[bot]](https://github.com/apps/renovate)) -- [#7715](https://github.com/directus/directus/pull/7715) Update dependency vite to v2.5.2 ([@renovate[bot]](https://github.com/apps/renovate)) -- [#7708](https://github.com/directus/directus/pull/7708) Update dependency knex-schema-inspector to v1.5.14 ([@renovate[bot]](https://github.com/apps/renovate)) -- [#7705](https://github.com/directus/directus/pull/7705) Update dependency eslint-plugin-prettier to v4 ([@renovate[bot]](https://github.com/apps/renovate)) -- [#7704](https://github.com/directus/directus/pull/7704) Update typescript-eslint monorepo to v4.30.0 ([@renovate[bot]](https://github.com/apps/renovate)) -- [#7690](https://github.com/directus/directus/pull/7690) Update dependency micromark to v3 ([@renovate[bot]](https://github.com/apps/renovate)) -- [#7672](https://github.com/directus/directus/pull/7672) Update dependency sass to v1.38.2 ([@renovate[bot]](https://github.com/apps/renovate)) -- [#7656](https://github.com/directus/directus/pull/7656) update jest monorepo to v27.1.0 ([@renovate[bot]](https://github.com/apps/renovate)) -- [#7655](https://github.com/directus/directus/pull/7655) update dependency @types/markdown-it to v12.2.1 ([@renovate[bot]](https://github.com/apps/renovate)) -- [#7646](https://github.com/directus/directus/pull/7646) update dependency tinymce to v5.9.1 ([@renovate[bot]](https://github.com/apps/renovate)) -- [#7643](https://github.com/directus/directus/pull/7643) update dependency eslint-plugin-vue to v7.17.0 ([@renovate[bot]](https://github.com/apps/renovate)) -- [#7638](https://github.com/directus/directus/pull/7638) update dependency typescript to v4.4.2 ([@renovate[bot]](https://github.com/apps/renovate)) -- [#7614](https://github.com/directus/directus/pull/7614) update dependency tinymce to v5.9.0 ([@renovate[bot]](https://github.com/apps/renovate)) -- [#7606](https://github.com/directus/directus/pull/7606) pin dependencies ([@renovate[bot]](https://github.com/apps/renovate)) -- [#7595](https://github.com/directus/directus/pull/7595) update dependency nock to v13.1.3 ([@renovate[bot]](https://github.com/apps/renovate)) -- [#7582](https://github.com/directus/directus/pull/7582) pin dependency @types/supertest to 2.0.11 ([@renovate[bot]](https://github.com/apps/renovate)) -- [#7580](https://github.com/directus/directus/pull/7580) update dependency @vitejs/plugin-vue to v1.6.0 ([@renovate[bot]](https://github.com/apps/renovate)) -- [#7579](https://github.com/directus/directus/pull/7579) update vue monorepo to v3.2.6 ([@renovate[bot]](https://github.com/apps/renovate)) -- [#7576](https://github.com/directus/directus/pull/7576) update vue monorepo to v3.2.5 ([@renovate[bot]](https://github.com/apps/renovate)) -- [#7571](https://github.com/directus/directus/pull/7571) update dependency @vitejs/plugin-vue to v1.5.0 ([@renovate[bot]](https://github.com/apps/renovate)) -- [#7570](https://github.com/directus/directus/pull/7570) update dependency vite to v2.5.1 ([@renovate[bot]](https://github.com/apps/renovate)) -- [#7558](https://github.com/directus/directus/pull/7558) update dependency sass to v1.38.1 ([@renovate[bot]](https://github.com/apps/renovate)) -- [#7556](https://github.com/directus/directus/pull/7556) update dependency @types/marked to v2.0.5 ([@renovate[bot]](https://github.com/apps/renovate)) +- [#7786](https://github.com/directus/directus/pull/7786) Update dependency npm to v7.22.0 + ([@renovate[bot]](https://github.com/apps/renovate)) +- [#7785](https://github.com/directus/directus/pull/7785) Update vue monorepo to v3.2.8 + ([@renovate[bot]](https://github.com/apps/renovate)) +- [#7770](https://github.com/directus/directus/pull/7770) Update dependency sass to v1.39.0 + ([@renovate[bot]](https://github.com/apps/renovate)) +- [#7769](https://github.com/directus/directus/pull/7769) Update dependency knex-schema-inspector to v1.6.0 + ([@renovate[bot]](https://github.com/apps/renovate)) +- [#7766](https://github.com/directus/directus/pull/7766) Update vue monorepo to v3.2.7 + ([@renovate[bot]](https://github.com/apps/renovate)) +- [#7752](https://github.com/directus/directus/pull/7752) Update dependency vite to v2.5.3 + ([@renovate[bot]](https://github.com/apps/renovate)) +- [#7742](https://github.com/directus/directus/pull/7742) Update dependency @types/sharp to v0.28.6 + ([@renovate[bot]](https://github.com/apps/renovate)) +- [#7728](https://github.com/directus/directus/pull/7728) Update gatsby monorepo to v3.13.0 + ([@renovate[bot]](https://github.com/apps/renovate)) +- [#7718](https://github.com/directus/directus/pull/7718) Update dependency knex-schema-inspector to v1.5.15 + ([@renovate[bot]](https://github.com/apps/renovate)) +- [#7715](https://github.com/directus/directus/pull/7715) Update dependency vite to v2.5.2 + ([@renovate[bot]](https://github.com/apps/renovate)) +- [#7708](https://github.com/directus/directus/pull/7708) Update dependency knex-schema-inspector to v1.5.14 + ([@renovate[bot]](https://github.com/apps/renovate)) +- [#7705](https://github.com/directus/directus/pull/7705) Update dependency eslint-plugin-prettier to v4 + ([@renovate[bot]](https://github.com/apps/renovate)) +- [#7704](https://github.com/directus/directus/pull/7704) Update typescript-eslint monorepo to v4.30.0 + ([@renovate[bot]](https://github.com/apps/renovate)) +- [#7690](https://github.com/directus/directus/pull/7690) Update dependency micromark to v3 + ([@renovate[bot]](https://github.com/apps/renovate)) +- [#7672](https://github.com/directus/directus/pull/7672) Update dependency sass to v1.38.2 + ([@renovate[bot]](https://github.com/apps/renovate)) +- [#7656](https://github.com/directus/directus/pull/7656) update jest monorepo to v27.1.0 + ([@renovate[bot]](https://github.com/apps/renovate)) +- [#7655](https://github.com/directus/directus/pull/7655) update dependency @types/markdown-it to v12.2.1 + ([@renovate[bot]](https://github.com/apps/renovate)) +- [#7646](https://github.com/directus/directus/pull/7646) update dependency tinymce to v5.9.1 + ([@renovate[bot]](https://github.com/apps/renovate)) +- [#7643](https://github.com/directus/directus/pull/7643) update dependency eslint-plugin-vue to v7.17.0 + ([@renovate[bot]](https://github.com/apps/renovate)) +- [#7638](https://github.com/directus/directus/pull/7638) update dependency typescript to v4.4.2 + ([@renovate[bot]](https://github.com/apps/renovate)) +- [#7614](https://github.com/directus/directus/pull/7614) update dependency tinymce to v5.9.0 + ([@renovate[bot]](https://github.com/apps/renovate)) +- [#7606](https://github.com/directus/directus/pull/7606) pin dependencies + ([@renovate[bot]](https://github.com/apps/renovate)) +- [#7595](https://github.com/directus/directus/pull/7595) update dependency nock to v13.1.3 + ([@renovate[bot]](https://github.com/apps/renovate)) +- [#7582](https://github.com/directus/directus/pull/7582) pin dependency @types/supertest to 2.0.11 + ([@renovate[bot]](https://github.com/apps/renovate)) +- [#7580](https://github.com/directus/directus/pull/7580) update dependency @vitejs/plugin-vue to v1.6.0 + ([@renovate[bot]](https://github.com/apps/renovate)) +- [#7579](https://github.com/directus/directus/pull/7579) update vue monorepo to v3.2.6 + ([@renovate[bot]](https://github.com/apps/renovate)) +- [#7576](https://github.com/directus/directus/pull/7576) update vue monorepo to v3.2.5 + ([@renovate[bot]](https://github.com/apps/renovate)) +- [#7571](https://github.com/directus/directus/pull/7571) update dependency @vitejs/plugin-vue to v1.5.0 + ([@renovate[bot]](https://github.com/apps/renovate)) +- [#7570](https://github.com/directus/directus/pull/7570) update dependency vite to v2.5.1 + ([@renovate[bot]](https://github.com/apps/renovate)) +- [#7558](https://github.com/directus/directus/pull/7558) update dependency sass to v1.38.1 + ([@renovate[bot]](https://github.com/apps/renovate)) +- [#7556](https://github.com/directus/directus/pull/7556) update dependency @types/marked to v2.0.5 + ([@renovate[bot]](https://github.com/apps/renovate)) ## v9.0.0-rc.91 (August 23, 2021) diff --git a/docs/guides/modules.md b/docs/guides/modules.md index fab199bdcc..ed9b3c136c 100644 --- a/docs/guides/modules.md +++ b/docs/guides/modules.md @@ -61,8 +61,8 @@ export default {}; #### Accessing the API from within your extension The Directus App's Vue app instance provides a field called `api`, which can be injected into Vue components using -[Vue's inject framework](https://v3.vuejs.org/guide/component-provide-inject.html). This `api` field contains a -property called `api`, which is an authenticated Axios instance. Here's an example of how to use it: +[Vue's inject framework](https://v3.vuejs.org/guide/component-provide-inject.html). This `api` field contains a property +called `api`, which is an authenticated Axios instance. Here's an example of how to use it: ```vue