Commit Graph

267 Commits

Author SHA1 Message Date
dependabot-preview[bot]
e4e3bf9f3a Bump stylelint from 13.3.1 to 13.3.2 (#383) 2020-04-11 15:37:19 +00:00
dependabot-preview[bot]
f78c9c4491 Bump nanoid from 3.1.2 to 3.1.3 (#382) 2020-04-10 23:14:51 +00:00
dependabot-preview[bot]
eabb88e092 Bump nanoid from 3.1.0 to 3.1.2 (#381) 2020-04-10 21:59:47 +00:00
dependabot-preview[bot]
b35293b78b Bump nanoid from 3.0.2 to 3.1.0 (#379) 2020-04-10 21:46:31 +00:00
Ben Haynes
58a0337582 Various style tweaks (#378)
* public button width and color

* improve menu arrow styling

* menu arrow placement

* define project chooser border

* adjustable min width for menus

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2020-04-10 17:06:41 -04:00
Rijk van Zanten
311404f092 Add install flow (#377)
* Register install route

* Install semver

* Make sure that loader fades out on top

* Add requirements string to translations

* Add transition between wide and normal

* wip add install panes

* Move tab items one level up to enable lifecycle

* Add all fields in setup

* gst

* Add slug mode to input

* Use slug and watch project key

* Finish installation flow

* Finish installation for new projects

* Fix linter warnings
2020-04-10 16:46:54 -04:00
dependabot-preview[bot]
42d344749e Bump css-loader from 3.5.1 to 3.5.2 (#376) 2020-04-10 15:46:31 +00:00
Rijk van Zanten
c4e18c4ff2 Add updated styling for project chooser route (#375) 2020-04-10 09:37:32 -04:00
Ben Haynes
7c0976441d margin, padding, size, and color tweaks (#374)
* margin, padding, size, and color tweaks

* Remove commented out code

* Use pointer-events instead of double click event

* Use v-deep for v-sheet in v-dialog

* Add newline

* Fix stylelint complaint

* Fix tests

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2020-04-09 19:27:07 -04:00
Rijk van Zanten
7485a97a3b Public (#373)
* Add note to public page

* Add project chooser on public view

* Optimize loading order

So much nicer to use now

Closes #298

* Fix the private project switcher too

* Add transition to public view

* Prevent project switching if youre already on that project

* [WIP] Add reset password form

* Add request password reset page

* Add jwt-payload util

* Install base-64

* Fix test typing

* Add new errors to translations

* Finish reset password flow

* Fix foreground color on v-notice

* Fix tests

* Allow code in translateError + render project error translated on login

* Remove wrong reference to error component

* Render project key if name is unknown

* Fix date-fns version

* Fix tests
2020-04-09 19:06:15 -04:00
dependabot-preview[bot]
153eaec78a Bump date-fns from 2.11.1 to 2.12.0 (#372) 2020-04-09 17:54:07 +00:00
dependabot-preview[bot]
9bd2b40c1c Bump @popperjs/core from 2.2.1 to 2.2.2 (#370) 2020-04-09 15:45:07 +00:00
dependabot-preview[bot]
a9b50435ea Bump lint-staged from 10.1.2 to 10.1.3 (#369) 2020-04-09 15:34:29 +00:00
Rijk van Zanten
7a2ee0215f Support link-modules and add docs link (#368)
* Allow link type modules

* Add docs module

* Allow buttons to render as <a>

* Update button readme

* Use link buttons in module sidebar when needed
2020-04-09 10:23:07 -04:00
dependabot-preview[bot]
f2034f7ade Bump stylelint from 13.3.0 to 13.3.1 (#367) 2020-04-09 12:29:21 +00:00
dependabot-preview[bot]
4bbff8c455 Bump stylelint-scss from 3.16.0 to 3.16.1 (#366) 2020-04-09 11:24:01 +00:00
Rijk van Zanten
943fdf7a38 Fix v-button full-width (#365) 2020-04-08 15:58:26 -04:00
Rijk van Zanten
cf7d25b99f Add roles browse / detail (without permissions) (#364) 2020-04-08 15:53:29 -04:00
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