Commit Graph

249 Commits

Author SHA1 Message Date
Rijk van Zanten
eb7153cbfc Add webhooks settings (#363) 2020-04-08 14:38:03 -04:00
Rijk van Zanten
6979fadb6c Allow hidden modules and add activity module (#362)
* Fix wrong component names

* Hide selection in table when there is no selection prop

* Add activity module

* Support hidden option in module definition
2020-04-08 14:05:44 -04:00
Rijk van Zanten
442ad58ff6 Add files module (#361) 2020-04-08 13:26:43 -04:00
Rijk van Zanten
a9bfa469d9 Add users module (#360)
* Install micromustache

* Add useCollectionPreset composition

* Add detailRoute prop to layouts

Allows for overriding where the detail view is located from the parent

* Add locale translations for users/files/activity

* Update collections module to use new composition / layout prop

* Update useItem useItems to allow for directus_ collections

* Add default width to all fields with no width

* Only fetch comment,create,update,delete activity on detail

* Fix out-transition on sign-out button

* Add users module
2020-04-08 12:35:36 -04:00
dependabot-preview[bot]
7aa864c375 Bump @vue/test-utils from 1.0.0-beta.32 to 1.0.0-beta.33 (#358) 2020-04-08 11:34:28 +00:00
Rijk van Zanten
66e7a59c06 Add batch edit mode to detail page in collections module (#357)
* Allow multi-select when selection is active

* Add batch edit on detail page

* Use plural notifications for batch mode

* Fix code smell
2020-04-07 17:37:07 -04:00
Rijk van Zanten
5a2f291400 Add batch mode and unset value on undo (#356) 2020-04-07 16:43:56 -04:00
Rijk van Zanten
28372d8878 Various tiny tweaks (#355) 2020-04-07 16:13:58 -04:00
Rijk van Zanten
897ecfb1db Use items (#354)
* Extract tabular items logic into composition

* Fix racing condition in watchers

* Remove empty test

* Use v-select in detail sidebar tabular

* Fix pagination styles

* Reset to page 1 on sort / limit changes

* Cast limit to string

* Fix button test

* Add content padding to tabular layout
2020-04-07 15:40:49 -04:00
dependabot-preview[bot]
c052a9e407 Bump @vue/cli-plugin-typescript from 4.3.0 to 4.3.1 (#351) 2020-04-07 16:30:28 +00:00
dependabot-preview[bot]
74a238b641 Bump @vue/cli-plugin-unit-jest from 4.3.0 to 4.3.1 (#353) 2020-04-07 16:24:23 +00:00
dependabot-preview[bot]
e5522613c1 Bump @vue/cli-plugin-babel from 4.3.0 to 4.3.1 (#352) 2020-04-07 16:21:54 +00:00
dependabot-preview[bot]
4b443151b5 Bump @vue/cli-service from 4.3.0 to 4.3.1 (#350) 2020-04-07 16:15:41 +00:00
dependabot-preview[bot]
2c17b80ac5 Bump @vue/cli-plugin-eslint from 4.3.0 to 4.3.1 (#349) 2020-04-07 16:14:55 +00:00
dependabot-preview[bot]
f14e994d8a Bump @vue/cli-plugin-vuex from 4.3.0 to 4.3.1 (#347) 2020-04-07 16:08:54 +00:00
Rijk van Zanten
5d633936c0 Rework save options to be re-usable across modules (#346)
* Add translateShortcut util

* Add prepend/append slots to v-button

* Reduce default list item height + listen to parent dense

* Refactor save/delete logic into composition

* Tweak popper positioning

* Add v-list-item-hint component

* Reset state on primary key change to +

* Tweak save-and-x translations

* Add and use save-options component

* Move activity drawer detail to views folder

* Prevent unnecessary overflow when popper is inactive

* Revert spacing change in popper

* Move comments translation up

* Use translated title for section

* Dont grow full height by default

* Only show comments when you're not creating a new item

* Add notifications to use-item composition

* Add saveAsCopy function to useItem composition

* Use ref for parameter in useCollection

* Fix tests

* Fix codesmells
2020-04-07 11:33:55 -04:00
dependabot-preview[bot]
8d2ea98715 Bump css-loader from 3.5.0 to 3.5.1 (#334) 2020-04-07 12:03:27 +00:00
Rijk van Zanten
9928744f40 New collection modal (#333)
* WIP start on collections modal

* Add titles / system optional fields

* Finish add collection modal

* Fix readonly state in text input

* Fix default value in v-form
2020-04-06 21:44:37 -04:00
Rijk van Zanten
09373558c9 Fix module bar avatar color and tweak color of notifications preview (#330)
Fixes #322
2020-04-06 18:40:46 -04:00
Rijk van Zanten
6a87fbb0c6 Fix drawer contents overflow (#329) 2020-04-06 18:21:21 -04:00
dependabot-preview[bot]
39311982f7 Bump autoprefixer from 9.7.5 to 9.7.6 (#328) 2020-04-06 21:39:46 +00:00
Rijk van Zanten
bba4dae46d Activity sidebar (#327)
* Show activity sidebar in detail page

* Add localized format distance util

* Update use-time-from-now composition to use localized dates

* Install marked

* Add activity delta strings

* Show all activity records in sidebar

* Add correct permutations of users

* Make avatar rounded square

* Finish posting comments

* Remove empty test file

* Fix tests
2020-04-06 15:25:58 -04:00
dependabot-preview[bot]
281d2865c7 Bump @typescript-eslint/parser from 2.26.0 to 2.27.0 (#325) 2020-04-06 19:08:02 +00:00
dependabot-preview[bot]
92f7bbd680 Bump @typescript-eslint/eslint-plugin from 2.26.0 to 2.27.0 (#326) 2020-04-06 19:02:22 +00:00
dependabot-preview[bot]
399484be68 Bump css-loader from 3.4.2 to 3.5.0 (#323) 2020-04-06 18:50:30 +00:00
Jacob Rienstra
417fb4371d Interface textarea (#310)
* textarea component

* textarea component files

* textarea interface

* Update v-textarea

* Fix test

* Remove resize option in textarea

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2020-04-06 14:07:47 -04:00
dependabot-preview[bot]
30ec0c02b6 Bump prettier from 2.0.3 to 2.0.4 (#321) 2020-04-06 14:44:00 +00:00
dependabot-preview[bot]
08da30e4d2 Bump prettier from 2.0.2 to 2.0.3 (#320) 2020-04-05 21:21:32 +00:00
dependabot-preview[bot]
3833bb3eda Bump lint-staged from 10.1.1 to 10.1.2 (#319) 2020-04-05 09:34:35 +00:00
dependabot-preview[bot]
c234d76810 Bump @vue/cli-plugin-unit-jest from 4.2.3 to 4.3.0 (#318) 2020-04-04 14:46:41 +00:00
dependabot-preview[bot]
bfa49ee0d3 Bump @vue/cli-plugin-eslint from 4.2.3 to 4.3.0 (#317) 2020-04-04 14:42:22 +00:00
dependabot-preview[bot]
666b78cee9 Bump @vue/cli-plugin-typescript from 4.2.3 to 4.3.0 (#316) 2020-04-04 14:36:35 +00:00
dependabot-preview[bot]
660f543b4f Bump @vue/cli-plugin-babel from 4.2.3 to 4.3.0 (#315) 2020-04-04 14:30:56 +00:00
dependabot-preview[bot]
1e2445b985 Bump @vue/cli-service from 4.2.3 to 4.3.0 (#313) 2020-04-04 14:24:48 +00:00
dependabot-preview[bot]
e8c3bdab7b Bump @vue/cli-plugin-vuex from 4.2.3 to 4.3.0 (#312) 2020-04-04 14:18:20 +00:00
dependabot-preview[bot]
7fa1ef607b Bump @popperjs/core from 2.2.0 to 2.2.1 (#311) 2020-04-04 09:46:18 +00:00
Rijk van Zanten
ba94e83d4e Add contextual save options to detail page (#309)
* Add skeleton loader, add loading to v-form, add disabled to v-menu

* Make sure height matches with input

* Add transition to skeleton loader

* Force skeleton loader to adhere to input size on form

* Sneak in this little thing unnoticed
2020-04-03 20:29:04 -04:00
dependabot-preview[bot]
3a0f7a6163 Bump @types/jest from 25.2.0 to 25.2.1 (#305) 2020-04-03 21:32:55 +00:00
dependabot-preview[bot]
2da790ccc4 Bump @types/jest from 25.1.5 to 25.2.0 (#304) 2020-04-03 21:06:49 +00:00
Rijk van Zanten
670103a523 Add global settings form (#303)
* Add settings store

* Use brand variable in app.vue

* wip

* Add global settings form, refactor project error type

* Fix codesmell
2020-04-03 16:13:40 -04:00
dependabot-preview[bot]
11f9a7f89c Bump stylelint from 13.2.1 to 13.3.0 (#301) 2020-04-03 16:46:59 +00:00
dependabot-preview[bot]
ed5b4d4b80 Bump @popperjs/core from 2.1.1 to 2.2.0 (#300) 2020-04-03 15:09:51 +00:00
Rijk van Zanten
09372c8185 Add 404 route (#299) 2020-04-03 10:16:12 -04:00
Rijk van Zanten
c8793e538b Add dark mode (#297) 2020-04-02 21:18:21 -04:00
Rijk van Zanten
e50000a05a Add v-info component (#296)
* Add v-info component

* Add test placeholder

* Add readme
2020-04-02 20:48:01 -04:00
Rijk van Zanten
f4a1a2a4fd Style the project chooser correctly (#295) 2020-04-02 20:05:36 -04:00
Rijk van Zanten
61d991f4bf Radio buttons (#293)
* Add v-radio component

* Add tests, update storybook
2020-04-02 19:38:46 -04:00
Rijk van Zanten
9f79f744f3 Add notifications inline drawer (#292)
* Render missed notifications inline in drawer

* Fix tests
2020-04-02 15:35:46 -04:00
dependabot-preview[bot]
170487e3b2 Bump @types/jest from 25.1.4 to 25.1.5 (#291) 2020-04-02 17:10:48 +00:00
Rijk van Zanten
eab0c66269 Add ctx menu, note, required flag to v-form (#290)
* Use correct type styles for label

* Fix sup mode in icon

* Add required star and note

* Add ctx arrow

* Add contextual menu to fields

* Add some margin to note
2020-04-02 13:01:55 -04:00