Commit Graph

5327 Commits

Author SHA1 Message Date
Nino Gjoni
1b8f179bad Improvement: Add albanian language translation (#18810)
* Add albanian to available languages

* Add me as contributor (CLA)

* Create fair-clouds-exercise.md

---------

Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-06-05 11:13:04 +02:00
ian
faca64db21 Fix empty image selection error for file-image interface (#18761)
* Fix empty image selection error for file-image interface

* Add changeset

* Update app/src/interfaces/file-image/file-image.vue

---------

Co-authored-by: Brainslug <br41nslug@users.noreply.github.com>
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2023-05-30 15:13:09 +00:00
rijkvanzanten
ca73cc976e v10.2.0 2023-05-26 13:17:06 -04:00
Brainslug
f96dcc361f Translation string performance (#18097)
* broken migration

* fixed migration

* created new endpoints for translation strings

* updated to use core endpoint

* bad attempts at making the endpoints sensible

* merge changes

* implemented translation strings service

* re-integrating app logic part 1

* re-integrating app logic part 2

* fixed bad lodash import

* re-integrating app logic part 3

* removed obsolete tests

* make the linter happy

* Create tender-trees-buy.md

* added option to search-input

* implementing search

* fixed resizing and sidebar

* Fix linting

* Remove unused translations update into project settings

* Fix missing translations

* Require read permissions for app access

* Fetch translation strings only when authenticated

* Fix project default language not used when user has default language

* Remove commented line

* Rename variable as content has been changed

* Make the current user check more specific

* Remove translation_string from Settings type

* Remove settings reference in docs

* Update changeset

* Rename migration file to ensure date order

* Rename collection, route, service, controller

* Rename migration

* Adjust collection in settings route

* Fix translations service

* Use new `shouldClearCache` util

* Drop translation_strings column in migration

Co-authored-by: ian <licitdev@gmail.com>

* Added basic api docs

* updated dictionary

* updated dictionary

* Update app/src/interfaces/_system/system-input-translated-string/input-translated-string.vue

Co-authored-by: Nicola Krumschmidt <nicola.krumschmidt@freenet.de>

* Update app/src/modules/settings/routes/translation-strings/collection.vue

Co-authored-by: Nicola Krumschmidt <nicola.krumschmidt@freenet.de>

* extracted getCurrentLanguage utility

* Use regular collections/items

* Use regular controller

* Fix item view

* Set correct system field config for translations

* Tweaks

* Use UUID

* Finish placeholders

* Use drawer-item

* Add create to the store

* Remove composables

* Add new placeholder

* Fix saving behavior

* Remove previous take

* Rename migration after merge of live preview

* Generate uuid when migrating

* Remove unused showFilter

* Fix linting

* Fix type warnings

* Not needed as settings no longer contain translation_strings

* Remove leftover blank line

* Update getCurrentLanguage with server default and use in hydrate

* Shift getCurrentLanguage to lang folder to be alongside setLanguage

* add elipsis to placeholder

* Remove slug from key, so you can use dots etc in the key

* updated translation value to be type text again

* Rehydrate fields for updated translation values

* Add tooltip

* updated documentation

* enforce key/language uniqueness in the TranslationService

* updated error message

* updated docs menu item to "custom translations"

* Dynamically fetch translation keys for input-translated-string interface

* use get current language in refresh

* Update docs/reference/system/translations.md

* Update docs/reference/system/translations.md

* Update .changeset/tender-trees-buy.md

* Fetch translation keys when new key is created

* Update api/src/services/translations.ts

* Remove translation_strings remnant

Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>

* mark key, language and value as required

* correctly mark fields as required

* Catch duplicate key error when creating from input

* Translate translations :-)

* Update tender-trees-buy.md

---------

Co-authored-by: ian <licitdev@gmail.com>
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
Co-authored-by: Nicola Krumschmidt <nicola.krumschmidt@freenet.de>
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2023-05-26 12:35:44 -04:00
ian
1e8dd2c928 Patch following files max upload size (#18737)
* Prevent uncaught error

* Fix typing as null is returned on error

* Remove undefined values from uploadedFiles result

* Create good-ligers-teach.md
2023-05-25 17:42:59 -04:00
Rijk van Zanten
3363ca6422 Add env var for max file upload size (#18735)
* Add limit to file size

* Delete temp db record on file upload failure

* Emit empty value on upload failure

* Rename assets->files

* Update reference

* Finalize rename

* Add changeset

* Add proper exception
2023-05-25 15:24:14 -04:00
Brainslug
b920b72e79 Translate field names in collection dialog (#18708)
* dont format translation strings

* Create silver-baboons-give.md

* Revert "dont format translation strings"

This reverts commit e4fea9730e.

* Translate before passing as props

* Update changeset

---------

Co-authored-by: ian <licitdev@gmail.com>
2023-05-26 02:18:38 +08:00
ian
3754fb0ec8 Optimise export sidebar aggregation call (#18724)
* Fetch item count in export sidebar only when active

* Remove redundant query params for count aggregation without grouping

* Remove chaining for code consistency

Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com>

* Create smart-files-protect.md

---------

Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com>
2023-05-26 01:18:18 +08:00
Nitwel
ed8b0e0394 Live preview (#17794)
* Add split view to the private view

* add more functionality to split view

* change text

* add simple size settings

* finish basic live preview feature

* add reload functionality

* update pnpm-lock

* update to newer design

* remove console.log

* Fix height of main content

* update design

* finishing fixes

* run linter

* finishing cleanup

* rebuild lock file

* lint fix

* hide preview for collections without preview urls

* fix refresh and eslint error

* use v-text-overflow for preview url

* use bottom placement for consistency

because other buttons such as Open in New Window and Refresh shows their tooltip at the bottom.

* tiny code tweak with early return

* remove fun parts and change divider color

* fix preview for singletons

* slightly improve the refresh button feedback

* hide zoom in fullscreen/desktop view

it is disabled in fullcreen, but some users may think they can click it, so I've opted to hide it instead. Especially since switching from mobile to desktop mode always resets it to 100%.

* tiny early return tweak

* opt to fix v-select disabled state cursor

* reverse zoom scaling order

* prevent preview going out of bounds when zoomed

* fix dragging when pointer enters iframe

* reinstate previous code tweak

* regenerate lock file

* use lockfile from main

* Dear linter...

* chore: add live preview to sidebar

* docs: add frontmatter

* docs: add intro

* docs: before you start

* docs: live preview in directus

* docs: draft mode in nextjs

* docs: fetch with draft mode

* docs: preview content in directus

* docs: next steps

* docs: update

* docs: updates

* docs: add live preview to collections

* docs: add live preview to item

* docs: updates

* docs: update

* chore: updates to the nextjs guide

* chore: updates to collections

* chore: updates to items

* Nuxt 3 guide

* Small Next guide fixes

* Added tips

* Spellcheck fixes

* Rework resizement

* Move debounce to private-view

* Update Nuxt 3 guides - styling and sentence clarity.

* add refreshLivePreview custom property to window

Co-authored-by: Brainslug <br41nslug@users.noreply.github.com>

* remove remaining "window as any" typecasts

* Show 'grab-bar' only if wrapper is in viewport

* toggle preview instead of split in mobile view

* tweak to unwrap nested IF conditions

* do not change preview button icon when enabled

* hide grab-bar in mobile

* check main content width instead of window width

* Fix save-and-stay not updating preview url

* Update refresh button function call

* Add frame loader to prevent flashing

* Prevent scrollbar flashing when toggling splitview

* lift specific logic from v-resizable to private-view

This piece of logic was meant only for the content area and shouldn't affect every v-resizable usages

* use v-show instead of v-if to hide main content

v-resizable has an internalWidth that should not be reset when user resize the left navigation bar, as well as the form shouldn't be re-rendered

* check target to hide the grab-bar in toggle mode

as we're only hiding the target rather than disabling the wrapper, we had to check whether the target is visible as well to determine whether to show the grab-bar

* Fix zoom behaviour & remove leftovers

* remove wrapperIsVisible check

in favor of only relying on targetIsVisible check

* Revert "Add frame loader to prevent flashing"

This reverts commit e4c2d3d4bd.

* Final tweaks

- Enhance frame zoom
- Min width for frame
- Hide main content based on overall size
  (ensure it works for all browser sizes)
- Various enhancements & fixes

* Update migration date

* Create rare-bananas-melt.md

* Better naming for remaining width var

Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com>

---------

Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com>
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
Co-authored-by: Esther Agbaje <folasadeagbaje@gmail.com>
Co-authored-by: Kevin Lewis <kvn@lws.io>
Co-authored-by: Brainslug <br41nslug@users.noreply.github.com>
Co-authored-by: ian <licitdev@gmail.com>
2023-05-25 16:29:12 +02:00
Matthew Rumery
0cc3b4f419 Fix code block editor popover styles (#18704)
* styles: correct input-block-editor popover styles on dark mode

* add new line to end of css file

Co-authored-by: ian <licitdev@gmail.com>

* Rename popover__item to popover-item

* Capitalise changeset casing for consistency

---------

Co-authored-by: ian <licitdev@gmail.com>
2023-05-24 15:39:19 +08:00
Pascal Jufer
6141092f29 Enhance translations in export sidebar (#18686)
* Enhance translations in export sidebar

* Create warm-pumas-provide.md
2023-05-22 11:24:58 -04:00
Pascal Jufer
bcda7d227d Disable disable depreacted marked options (#18685) 2023-05-22 11:19:21 -04:00
Pascal Jufer
7ecda9b2fa Clean-up package.json files (#18663)
* Remove publishConfig from all packages

* Remove invalid version field

* Move @directus/composables to devDependencies in app

* Resort all package.json files

* Align meta fields

---------

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2023-05-19 17:54:10 -04:00
Pascal Jufer
e904927065 Update Vue to 3.3.4 to satisfy '@vue/test-utils' (#18658) 2023-05-19 12:18:55 -04:00
ian
ea857563ad Fix incorrect endpoints for system collections (#18657)
* Fix endpoints for system collections in kanban layout

* Fix other occurrences

* Fix item route for system collections in kanban layout

* Add changeset

* Remove redundant string interpolation

Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com>

* Extract getItemRoute as an app util

* Remove empty line

Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>

---------

Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com>
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-05-19 16:01:11 +00:00
Pascal Jufer
2e647d80e6 Patch Tuesday 🐸 (#18643)
* Update `directus-monorepo` deps

* Update `@directus/api` deps

* Update `@directus/app` deps

* Update `@directus/composables` deps

* Update `create-directus-extension` deps

* Update `@directus/exceptions` deps

* Update `@directus/data` deps

* Update `@directus/data-driver-postgres` deps

* Update `@directus/extensions-sdk` deps

* Update `@directus/pressure` deps

* Update `@directus/random` deps

* Update `@directus/release-notes-generator` deps

* Update `@directus/storage` deps

* Update `@directus/storage-driver-azure` deps

* Update `@directus/storage-driver-cloudinary` deps

* Update `@directus/storage-driver-gcs` deps

* Update `@directus/storage-driver-local` deps

* Update `@directus/storage-driver-s3` deps

* Update `@directus/types` deps

* Update `@directus/update-check` deps

* Update `@directus/utils` deps

* Update `docs` deps

* Update `tests-blackbox` deps

* Bump pnpm to 8.5.1

* Bump build-push-action in release workflow to v4

* Assign new spy instances before each test

See https://github.com/vitest-dev/vitest/pull/3386

* Create clean-needles-nail.md

* Remove leftover 'beforeAll' imports

Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com>

---------

Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com>
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2023-05-19 10:48:21 -04:00
Rijk van Zanten
4c45f96a13 Properly paginate on flow logs (#18652)
* Properly paginate on flow logs

* No time for pie

* Add changset

* Skip redundant fetching of created revision

* Update app/src/composables/use-revisions.ts

Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com>

* Consistent spacing between revisions/flows

---------

Co-authored-by: ian <licitdev@gmail.com>
Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com>
2023-05-19 10:09:06 -04:00
rijkvanzanten
ac09abbae8 Re-enable clearscreen
It's currently preventing ctrl+c in certain terminal emulators, so better to leave it out for now
2023-05-19 09:51:58 -04:00
ian
cf1d6a640d Remove server info (#18648)
* Remove OS info

* Add changeset

* Update unit test

* Remove Directus version

* Remove unused dependency

* Update changeset

* Update example in docs

Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>

* Update changeset

---------

Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-05-18 19:28:48 +00:00
Hannes Küttner
164c9c2f80 Fix group-accordion value initialization (#18638)
* Fix `group-accordion` `groupValue` initialization

* Add changeset
2023-05-17 10:15:26 -04:00
Hannes Küttner
6e09cc5def Bump @sindresorhus/slugify to 2.2.1 (#18639) 2023-05-17 14:28:12 +02:00
rijkvanzanten
fa8c914978 v10.1.1 2023-05-16 14:03:02 -04:00
Brainslug
bc66343e20 Fix api call for insights list panel (#18631)
* fix api call for panel list

* Create many-shoes-pull.md
2023-05-16 13:50:45 -04:00
Tim Butterfield
97d5ffd9b4 Use batch mode in extensions (#18624)
* Use batch mode in extensions

* timio23 signed agreement

* addressed lint warnings

* Create rude-bees-exercise.md
2023-05-16 12:30:56 -04:00
Matthew Rumery
9222fca4b8 Add Expand/Collapse to collection items in data model (#18547)
* feat: add ability to collapse nested data-model items

* Move collapse toggle to top level row

* Add changeset

---------

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2023-05-16 12:23:24 -04:00
Brainslug
7c88406c5b Add sidebar shadow for kanban layout (#18539) 2023-05-16 16:54:26 +02:00
ian
5c2b4e82a0 Fix invalid field types in grouping for kanban layout (#18602)
Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com>
2023-05-16 14:31:50 +02:00
Pascal Jufer
94c925c9a4 Fix default values for interfaces & display (#18611)
* Fix default values for interfaces & display

* Create nine-walls-sing.md

* Update .changeset/nine-walls-sing.md

---------

Co-authored-by: Brainslug <br41nslug@users.noreply.github.com>
Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com>
2023-05-16 20:04:01 +08:00
Pascal Jufer
b3cf23acff Show options for list & map interfaces again (#18603)
* Fix options for list & map interfaces

* Create short-boxes-rescue.md

* Outsource Vue component check to utils

* No need for explicit comparation

* Depend on `typeof` instead of `instanceof` to check Vue comp

Co-authored-by: Brainslug <br41nslug@users.noreply.github.com>

* make linter happy

---------

Co-authored-by: Brainslug <br41nslug@users.noreply.github.com>
Co-authored-by: Brainslug <tim@brainslug.nl>
2023-05-16 12:19:04 +02:00
Pascal Jufer
56ef14f82a Default to null in forms if interface itself has no default value (#18610)
* Default to null in forms if interface itself has no default value

* Remove unecessary default values

* Create nervous-humans-leave.md
2023-05-15 16:34:31 -04:00
ian
0955e7fca2 Fix deselecting options for kanban layout (#18600)
* Fix deselecting options for kanban layout

* Add changeset

* Removing unnecessary optional chaining operator

Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>

---------

Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-05-15 16:13:18 -04:00
Pascal Jufer
d119f5d501 Update to Vue 3.3 (#18588)
* Update to Vue 3.3

* Create fresh-hotels-mate.md

* Update eslint-plugin-vue

* Replace rollup-plugin-vue with @vitejs/plugin-vue
2023-05-15 14:19:12 -04:00
Pascal Jufer
7acbbc70bc Fix drag & drop upload to the root folder in the file library (#18601)
* Readd fix for DND upload to root folder in file library

* Create happy-months-dream.md
2023-05-15 21:04:55 +08:00
Pascal Jufer
da4ad08a91 Use same ordering of script props in all components (#18590)
- Following official docs: https://vuejs.org/guide/typescript/composition-api.html#typing-component-props
- For the sake of consistency, e.g. so that it's easily "grep-able"
2023-05-15 14:22:28 +02:00
Pascal Jufer
098dd359af Add missing translation in presentation-notice interface (#18591)
* Add missing translation for presentation-notice interface

* Create gentle-kangaroos-appear.md

* Update gentle-kangaroos-appear.md
2023-05-15 15:53:13 +08:00
ian
d5823bd4c1 Fix users-invite component's incorrect null check (#18583)
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-05-13 00:16:30 +00:00
Pascal Jufer
fb6452147b Consolidate same condition in file item route to prevent render issue (#18581)
* Consolidate same condition in file item route to prevent render issue

* Create forty-baboons-flash.md
2023-05-12 15:10:00 -04:00
Brainslug
af55402680 Adding a maximum for query limit (#17309)
* Adding a maximum for query limit

* fixed bad env check

* using the getEnv function to make it better testable

* updated sanitize-query tests

* added tests for the validate query function

* Added DEFAULT_QUERY_LIMIT as fallback instead

* make the linter happy

* accept infinity as max_query_limit

* fixed merge conflicts

* added missing import

* moved docs PR into main repo

* added missing import

* renamed vars

* basic page size limiting

* Update app/src/layouts/cards/cards.vue

* Update app/src/layouts/map/map.vue

* Update app/src/layouts/tabular/tabular.vue

* Update app/src/layouts/tabular/tabular.vue

* Create paginate util

* extracted page size logic to composable and implemented default usage in app

* updated paginate utility

* using the new fetch-all utility

* removed limit: -1 for api calls that do not support it

* fix linter

* removed console log

* making the linter happy

* Create loud-flowers-yawn.md

* Add tests for no / unlimited limit

* Cover all cases for max limit in sanitizeQuery

* Get rid of non-null assertion

* added test for composable

* Update var names in documentation

* replace hardcoded limit default with env var

* update default page size behavior

* fixed test

* update server info api reference

* include queryLimit in graphql server info

* use configured max limit in calendar layout

* use configured max limit in kanban layout

* account for max query limit in use-revisions

---------

Co-authored-by: ian <licitdev@gmail.com>
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com>
2023-05-12 21:59:03 +08:00
rijkvanzanten
703c5d9c69 v10.1.0 2023-05-11 17:22:00 -04:00
Rijk van Zanten
4dcb3f0c68 New Crowdin updates (#18312)
* New translations en-US.yaml (Persian)

* New translations en-US.yaml (Persian)

* New translations en-US.yaml (Spanish, Mexico)

* New translations en-US.yaml (Japanese)

* New translations en-US.yaml (Japanese)

* New translations en-US.yaml (Japanese)

* New translations en-US.yaml (Japanese)

* New translations en-US.yaml (Japanese)

* New translations en-US.yaml (Japanese)

* New translations en-US.yaml (Japanese)

* New translations en-US.yaml (Italian)

* New translations en-US.yaml (Japanese)

* New translations en-US.yaml (Icelandic)

* New translations en-US.yaml (Icelandic)

* New translations en-US.yaml (English, United Kingdom)

* New translations en-US.yaml (Persian)

* New translations en-US.yaml (Persian)

* New translations en-US.yaml (Persian)

* New translations en-US.yaml (Persian)

* New translations en-US.yaml (Japanese)

* New translations en-US.yaml (Japanese)

* New translations en-US.yaml (Japanese)

* New translations en-US.yaml (Japanese)

* New translations en-US.yaml (Japanese)

* New translations en-US.yaml (Japanese)

* New translations en-US.yaml (Korean)

* New translations en-US.yaml (Japanese)

* New translations en-US.yaml (Japanese)

* New translations en-US.yaml (English, United Kingdom)

* New translations en-US.yaml (Esperanto)

* Update source file en-US.yaml

* New translations en-US.yaml (Korean)

* New translations en-US.yaml (Italian)

* New translations en-US.yaml (Polish)

* New translations en-US.yaml (Spanish, Mexico)

* New translations en-US.yaml (French, Canada)

* New translations en-US.yaml (Spanish, Mexico)

* New translations en-US.yaml (Afrikaans)

* New translations en-US.yaml (Estonian)

* New translations en-US.yaml (Korean)

* New translations en-US.yaml (Korean)

* New translations en-US.yaml (Polish)

* New translations en-US.yaml (Italian)

* New translations en-US.yaml (Korean)

* Update source file en-US.yaml

* New translations en-US.yaml (Korean)

* New translations en-US.yaml (Italian)

* New translations en-US.yaml (Polish)

* New translations en-US.yaml (Spanish, Mexico)

* New translations en-US.yaml (Korean)

* New translations en-US.yaml (German)

* New translations en-US.yaml (German)

* New translations en-US.yaml (French)

* New translations en-US.yaml (Albanian)

* New translations en-US.yaml (Albanian)

* New translations en-US.yaml (Albanian)

* Fix translations
2023-05-11 17:05:25 -04:00
Azri Kahar
de290c31c3 Move in block editor exclusive extension (#18525)
* move in block editor

* make lodash import consistent with core

* add translations

* add preview svg

* add changeset

* change interface id

* Update .changeset/ten-wasps-relate.md

* removed unneeded property definitions.

* address couple of warnings

* tweak checkbox color

* Check if file has been selected

* Update style overrides

* Override slightly blue background

* Add red background for delete confirmation

* Fix table add row and column button background color

* override checklist color when hovered

* override color of ripple effect for checkbox

* Fix config being undefined

* tweak popover style

* fix attaches tool

* Revert fix

* fix attaches styling

* Fix inline selection active color

* fix attaches download button

* tweak attaches file styling

* Fix alignment icons font colour

* remove nullable prop

Co-authored-by: ian <licitdev@gmail.com>

* tiny code style tweak

---------

Co-authored-by: Brainslug <tim@brainslug.nl>
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
Co-authored-by: ian <licitdev@gmail.com>
2023-05-11 16:50:41 -04:00
Pascal Jufer
68da9f9b09 Add folder navigation to files / image selector interfaces (#18320)
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com>
Co-authored-by: Brainslug <tim@brainslug.nl>
Co-authored-by: Brainslug <br41nslug@users.noreply.github.com>
Co-authored-by: ian <licitdev@gmail.com>
2023-05-11 20:39:19 +00:00
Hannes Küttner
51ec0b1453 Fix unexpected modelValue emit if no checkbox value is set (#18552)
* Fix unexpected modelValue emit if no checkbox value is set

* Add changeset
2023-05-11 12:54:42 -04:00
Rijk van Zanten
20912f1645 Revert "Use vitest run instead of --watch=false (#18540)" (#18542)
This reverts commit 97f0af669e.
2023-05-10 13:33:28 -04:00
Rijk van Zanten
97f0af669e Use vitest run instead of --watch=false (#18540) 2023-05-10 13:24:30 -04:00
Azri Kahar
7c4556c8af Move in panels exclusive extensions (#18522)
* move in bar chart

* move in pie chart

* fix color generator

* move in line chart

* fix line chart when color is unset

* move in meter

* fix meter panel when color is unset

* fix insights initial refresh interval

* add changeset

* watch data in pie chart panel

* Update app/src/panels/pie-chart/panel-pie-chart.vue

Co-authored-by: Brainslug <br41nslug@users.noreply.github.com>

* unify function prop type for relevant panels

based on existing type in time series panel

* abstract type for panel function prop

* abstract conditional fill operators

* tweak and add comment in monoThemeGenerator

* Update app/src/panels/pie-chart/panel-pie-chart.vue

Co-authored-by: Brainslug <br41nslug@users.noreply.github.com>

* Update app/src/panels/meter/panel-meter.vue

Co-authored-by: Brainslug <br41nslug@users.noreply.github.com>

* add comment for some magic numbers

* use past tense in changeset

* removed cloud exclusive banner from docs

* updated changeset

* fixed console error "[Vue warn]: Missing required prop"

---------

Co-authored-by: Brainslug <br41nslug@users.noreply.github.com>
Co-authored-by: Brainslug <tim@brainslug.nl>
2023-05-10 11:37:42 -04:00
Azri Kahar
9d6b3e573d Move in kanban layout exclusive extension (#18516)
* port & refactor kanban layout from extensions

* add danger styling to delete group

* remove todos

* add changeset

* remove misleading active styling on group

* allow non-relational editing of group

* only show delete group when relational

* fix group sorting

* tweak changeGroupSort code style

Co-authored-by: Brainslug <br41nslug@users.noreply.github.com>

* Update app/src/layouts/kanban/index.ts

Co-authored-by: Brainslug <br41nslug@users.noreply.github.com>

* Update app/src/layouts/kanban/index.ts

Co-authored-by: Brainslug <br41nslug@users.noreply.github.com>

* Update app/src/layouts/kanban/index.ts

Co-authored-by: Brainslug <br41nslug@users.noreply.github.com>

* Update app/src/layouts/kanban/index.ts

Co-authored-by: Brainslug <br41nslug@users.noreply.github.com>

* remove redundant changeGroupTitle function

as it was actually superseded by editGroup function

* remove optional chaining for prop functions

* tweak isRelational logic

* use past tense in changeset

* remove cloud exclusive banner from docs

* Changed group background color

* disabled add group dialog

* hide add button in groups for now

* allow group sorting for choices

---------

Co-authored-by: Brainslug <br41nslug@users.noreply.github.com>
Co-authored-by: Brainslug <tim@brainslug.nl>
2023-05-10 11:34:10 -04:00
Nicola Krumschmidt
0bc16ef304 Fix interface options that use a code editor (#18535) 2023-05-10 11:29:13 -04:00
Azri Kahar
3737d59c02 re-add default value for notification item type (#18532) 2023-05-10 12:00:02 +02:00
Rijk van Zanten
58cdc7c8da Update discussion/issue links (#18520)
* Issue template links

* Update link in nav sidebar

* Create metal-chairs-push.md
2023-05-08 16:08:41 -04:00