Commit Graph

131 Commits

Author SHA1 Message Date
rijkvanzanten
c8d4441c08 Use subdued for description 2020-06-11 16:20:32 -04:00
rijkvanzanten
af23d38f00 Update roles browse page 2020-06-11 16:19:18 -04:00
rijkvanzanten
2bb71efa27 Fix title of roles browse, show perm on public 2020-06-11 15:39:10 -04:00
rijkvanzanten
e0c614cf07 Rename file user to uploaded by 2020-06-11 15:34:34 -04:00
rijkvanzanten
b1e2826f13 Add user popover to file info 2020-06-11 15:31:45 -04:00
rijkvanzanten
298e4362b0 Add headlines everywhere 2020-06-11 15:00:12 -04:00
rijkvanzanten
9e4a4f01d9 Set better defaults for webhooks 2020-06-11 14:07:01 -04:00
rijkvanzanten
2d9fa348a1 Set better defaults for webhooks 2020-06-11 14:05:33 -04:00
rijkvanzanten
9ba1f35e70 Add layout drawer detail to webhooks browse 2020-06-11 14:00:12 -04:00
rijkvanzanten
04f46847cd Show name in webhooks header 2020-06-11 13:53:04 -04:00
rijkvanzanten
82ad2959ba Override active color on drawer detail 2020-06-11 13:45:37 -04:00
rijkvanzanten
ff4a6856cf Fix spacing of layout on presets page 2020-06-11 13:40:06 -04:00
Rijk van Zanten
b3bbc1ef9a Add preset info sections (#705) 2020-06-11 13:25:22 -04:00
rijkvanzanten
a27c7b9de2 Fix width of table 2020-06-11 12:13:27 -04:00
rijkvanzanten
ad4906b720 Squashed commit of the following:
commit aa2876a64653f3cca2f35e513fdd1c370da14438
Merge: ee219e87 fd5ccb5e
Author: rijkvanzanten <rijkvanzanten@me.com>
Date:   Thu Jun 11 11:39:49 2020 -0400

    Merge branch 'master' into tweaks

commit ee219e872b4b41f3e0673dc673c8bb643e5f5f20
Merge: bf3dca79 16cb51de
Author: rijkvanzanten <rijkvanzanten@me.com>
Date:   Thu Jun 11 11:39:34 2020 -0400

    Merge branch 'master' into tweaks

commit bf3dca7906f031fea771c3a20c0529782416056d
Merge: 1e114c0b 51c59cda
Author: Ben Haynes <ben@rngr.org>
Date:   Thu Jun 11 10:59:51 2020 -0400

    Merge branch 'master' into tweaks

commit 1e114c0b5660a25574c3a0551fc4e87261d45e20
Author: Ben Haynes <ben@rngr.org>
Date:   Thu Jun 11 10:59:25 2020 -0400

    preset field styling

commit 43f3fbc98a68b6898294ed4c68a6240c1f8a72e8
Author: Ben Haynes <ben@rngr.org>
Date:   Thu Jun 11 10:58:56 2020 -0400

    differentiate nested repeaters

commit 6a4d9c9df64efd9161ce862d8b29c3be04dc90cb
Author: Ben Haynes <ben@rngr.org>
Date:   Thu Jun 11 10:58:27 2020 -0400

    repeater sizing

commit ec136f0d3b1314f941afaeade6458b36266634fc
Author: Ben Haynes <ben@rngr.org>
Date:   Wed Jun 10 19:37:25 2020 -0400

    checkbox contract and hover styling

commit 0118c0c76f7a650d567965accea972e68336e1d7
Author: Ben Haynes <ben@rngr.org>
Date:   Wed Jun 10 19:36:32 2020 -0400

    increase repeater item edge contrast

commit dc852c4e78989dc421c61b71f13058add86077f3
Author: Ben Haynes <ben@rngr.org>
Date:   Wed Jun 10 19:13:54 2020 -0400

    fix repeater field spacing

commit 23da947ad5f1b84127411f6b9e271414140348a3
Author: Ben Haynes <ben@rngr.org>
Date:   Wed Jun 10 19:13:42 2020 -0400

    no “editing” on role title

commit d84eaa7f3a8ec2a25d67514d5507a46e24521a6a
Merge: 0f512448 79f1f13a
Author: Ben Haynes <ben@rngr.org>
Date:   Wed Jun 10 18:29:01 2020 -0400

    Merge branch 'master' into tweaks

commit 0f512448b76ab2c53f1a9059e2a130d52cc52b60
Merge: 7974bd2a 0c5b0a6f
Author: Ben Haynes <ben@rngr.org>
Date:   Wed Jun 10 16:18:01 2020 -0400

    Merge branch 'master' into tweaks

commit 7974bd2a81e2be5b4a2e1b24bf3ede017562bcf8
Author: Ben Haynes <ben@rngr.org>
Date:   Wed Jun 10 16:17:30 2020 -0400

    project settings link to docs

commit de46007be6eb5ff59332571b7c18caaba4ed815c
Author: Ben Haynes <ben@rngr.org>
Date:   Wed Jun 10 14:50:05 2020 -0400

    use new folder_move icon

commit 0ac93d84f0f577d6cedda9a7498dd4caa3064fc9
Author: Ben Haynes <ben@rngr.org>
Date:   Wed Jun 10 14:49:46 2020 -0400

    add custom “folder move” icon

commit dd057f0c6fda81b5c1aa696f893c8e2e53d83ed7
Merge: 4034025c 51b939be
Author: Ben Haynes <ben@rngr.org>
Date:   Wed Jun 10 14:36:19 2020 -0400

    Merge branch 'master' into tweaks

commit 4034025cb3577def69f4540d1160c8be23b98c4a
Author: Ben Haynes <ben@rngr.org>
Date:   Wed Jun 10 14:35:32 2020 -0400

    more room for revision text

commit c840e622db5d83db02ff279736eb9bc5c0fcd98d
Author: Ben Haynes <ben@rngr.org>
Date:   Wed Jun 10 14:35:15 2020 -0400

    fix revision header layering

commit 3e5804a9fc6db0f7c7b5e35a4f6ea9f0aae563b5
Author: Ben Haynes <ben@rngr.org>
Date:   Wed Jun 10 14:34:50 2020 -0400

    hide user box when new

commit 485bc26f887198f0726e62efb71c94c9140eccaf
Author: Ben Haynes <ben@rngr.org>
Date:   Wed Jun 10 13:44:49 2020 -0400

    fix select all/none on cards

commit bdc3615fbbe9ab29b5a132eeda1e2ced6aece4b7
Author: Ben Haynes <ben@rngr.org>
Date:   Wed Jun 10 13:44:27 2020 -0400

    only show divider if there are other revisions

commit 1bdb9644be621adbd6edca1d9ce49825518c02a0
Merge: dfd006a5 aa23da68
Author: Ben Haynes <ben@rngr.org>
Date:   Wed Jun 10 10:39:56 2020 -0400

    Merge branch 'master' into tweaks

commit dfd006a57f9a72718a4adcd6528bb45206542ea2
Merge: 01100fea e2e86957
Author: Ben Haynes <ben@rngr.org>
Date:   Tue Jun 9 18:20:08 2020 -0400

    Merge branch 'master' into tweaks

commit 01100fead3ef23fcb6b447544f17cb08e49e0d7a
Merge: 809e7900 945a19ca
Author: Ben Haynes <ben@rngr.org>
Date:   Tue Jun 9 18:06:04 2020 -0400

    Merge branch 'master' of https://github.com/directus/app-next into tweaks

commit 809e7900b8b5e04e389c61b78daa8c0237ce17d9
Merge: 84e484b1 b4491602
Author: Ben Haynes <ben@rngr.org>
Date:   Tue Jun 9 17:15:07 2020 -0400

    Merge branch 'master' into tweaks

commit 84e484b163db2b055e07c8e08a9bfbe09d3df20a
Author: Ben Haynes <ben@rngr.org>
Date:   Mon Jun 8 18:58:28 2020 -0400

    fix missing card hover shadow
2020-06-11 11:40:39 -04:00
rijkvanzanten
16cb51de9c Add loading state to presets table 2020-06-11 11:38:01 -04:00
Rijk van Zanten
79f1f13abf Project info (#701)
* Make DL styles global

* Show project info in sidebar on settings
2020-06-10 17:44:02 -04:00
rijkvanzanten
0c5b0a6f31 Add bottom padding back to detail pages 2020-06-10 15:56:35 -04:00
Rijk van Zanten
51b939be4a Move to folder (#700)
* Add move to folder on file detail

* Add save logic for move to folder on detail

* Change style to be inline

* Only stop propagation on toggle

* Add move to folder on browse
2020-06-10 14:33:06 -04:00
rijkvanzanten
7200d716d8 Don't try to fetch folder when it's not set 2020-06-09 18:15:26 -04:00
rijkvanzanten
945a19ca48 File is never new 2020-06-09 18:03:31 -04:00
Rijk van Zanten
a77dd1a64f Show user and folder in info sidebar (#694) 2020-06-09 18:01:13 -04:00
Rijk van Zanten
b4491602f9 Fix previews in header section (#693) 2020-06-09 16:17:04 -04:00
Rijk van Zanten
7be23f73d5 User detail system info in sidebar (#692)
* Use custom filtered field set on user detail

* Move system information to information sidebar

* Remove comment

* Always show info section

* Trigger ci

* Final ci test
2020-06-09 15:26:53 -04:00
Rijk van Zanten
7f43356b6a Add useFormFields composable (#691)
* Extract use-form-fields into separate composable

* Use new composable on fields detail
2020-06-09 14:44:13 -04:00
dependabot-preview[bot]
08b3310029 Bump @vue/composition-api from 0.5.0 to 0.6.1 (#683)
* Bump @vue/composition-api from 0.5.0 to 0.6.1

Bumps [@vue/composition-api](https://github.com/vuejs/composition-api) from 0.5.0 to 0.6.1.
- [Release notes](https://github.com/vuejs/composition-api/releases)
- [Changelog](https://github.com/vuejs/composition-api/blob/master/CHANGELOG.md)
- [Commits](https://github.com/vuejs/composition-api/compare/v0.5.0...v0.6.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Support composition api 0.6+

* Remove failing tests

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2020-06-08 18:17:58 -04:00
Rijk van Zanten
93c7cdef1f Presets (#687)
* Fix preset detail dropdowns

* Filter preset collections dropdown
2020-06-08 17:32:48 -04:00
Rijk van Zanten
1a8e02a74e Rename global settings -> project settings (#686) 2020-06-08 17:14:21 -04:00
rijkvanzanten
06146df21a Fix role/webhook detail title 2020-06-04 18:40:51 -04:00
Jacob Rienstra
827d6325fc Keyboard Shortcuts (#658)
* mod a on tabular

* save on item detail

* shortcut composable

* Remove test, add readme

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2020-06-04 14:46:53 -04:00
Ben Haynes
c38e167069 Tweaks (#659)
* user component styling

* badge alignment

* selected checkbox label color

* add commit node custom icon

* fix translation key

* cleaner badge centering

* clean up last comment spacing

* style cleanup, badges for revision/comment count

* button styling

* fix tags styling

this supercedes the fix by jacob

* divider icon positioning

* correct help text

* remove docs module

* updated help text and other tweaks

* WIP: add heading and subheading to all modals

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2020-06-04 14:27:19 -04:00
Rijk van Zanten
4c2f5dc2ba Change print width to 120 (#671)
* Increase line-width to 120

* Auto-fix 100->120 columns
2020-06-01 16:50:08 -04:00
Rijk van Zanten
8f98e6f611 Don't render custom nav when empty array (#657) 2020-05-28 09:55:30 -04:00
Rijk van Zanten
88c0b1a7d9 Relational setup (#652)
* Add m2o relational setup

* Fix type check in localType

* wip o2m relational

* Finish relational setup on creation

* Account for m2m type
2020-05-27 18:33:59 -04:00
Rijk van Zanten
d463460548 Leave navigation guard (#633)
* Add leave navigation guard to collections module

* Add leave guard to users module

* Add leave navigation guard to file detail
2020-05-26 14:10:18 -04:00
Ben Haynes
3e5a9fe7c4 user component styling (#617)
* user component styling

* badge alignment

* selected checkbox label color

* add commit node custom icon

* fix translation key

* cleaner badge centering

* clean up last comment spacing

* style cleanup, badges for revision/comment count

* button styling

* Update src/modules/settings/routes/data-model/fields/components/fields-management/fields-management.vue

* Update src/modules/settings/routes/data-model/fields/components/fields-management/fields-management.vue

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2020-05-26 11:10:13 -04:00
Rijk van Zanten
787efb8d6e Fix image size in user detail page header avatar (#631) 2020-05-26 11:08:30 -04:00
Ben Haynes
ebd78f86fc Tweaks (#615)
* checkbox inactive styling

* fix options

* fix translation

* dropdown placeholder default

* cleanup text input options

* roles layout setup

* add placeholder option to dropdown

* add translations

* info on global settings

* elipses after placeholders

* update to bytes for better formatting control

* clean up mime type displays

* new template formatting

* WIP info and help sidebar

* add support for svgs

* user popover styling

* have un-styled logo spinner feel centered

* consistent missing avatar colors

* fix asset url

* add info drawers

* initial help drawer

* WIP add help components to all pages

* Remove non-existing trim

* Fix file interface deselect

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2020-05-22 18:19:33 -04:00
Rijk van Zanten
085f6dc581 Module collections override (#614)
* Fix errors in repeater

* Use custom module listing in sidebar

* Refresh user store on role update

* Add custom module info to type

* Add collections interface

* Add collections interface translations

* Add collections listing types

* Use custom collections listing in collections module nav

* Remove outdated nav test
2020-05-22 17:04:20 -04:00
Rijk van Zanten
82d4210ff3 Add user detail page header art (#613) 2020-05-22 16:02:20 -04:00
Rijk van Zanten
df2587810c Revisions flow (#612)
* WIP rework revisions, fetch data

* Render revision items in sidebar

* Show created externally

* Install diff

* Add strings for revisions modal

* Allow slot to override subtitle in modal

* Add tabs content to revisions modal

* Add revert button
2020-05-22 15:45:35 -04:00
Rijk van Zanten
3f9d5d7d96 Add SSO flow (#595)
* Store / parse sso providers in project info

* Render sso provider links on login form

* Provide path to api on sso

* Finish SSO

* Fix user detail route

* Accept string error codes

* Rename color->type, fix old v-notices

* Add adding user string

* Fix reading order in v-menu
2020-05-19 18:02:04 -04:00
Rijk van Zanten
feaafe6440 109 tiny tweaks (#574)
* no cursor when disabled

* consistent disabled styling

* divider icon alignment

* don’t show last item’s border

* notifications spacing

* status placeholder

* default status icon placeholder

* fix textarea focus style

* tags styling

* proper tags padding when empty

* proper input number step hovers

* show background color

* Fix data-model collections overview name class

* Don't use display template for batch mode

* Fix headline being hidden

* Use formatted name fo bookmarks breadcrumb

* Move drawer open to app store

* Fix tests

* slider value style

* Add comments to users/files

* Make comments selectable

* Move window width drawer state to app parent

* Fix private user condition

* Allow relationships to system collections

* Refresh revisions drawer detail on save and stay

* Add disabled support to m2o / user

* Center v-infos

* Hide default drag image

* Ellipsis all the things

* Use icon interface for fallback icon

* Render icons grid based on available space

* Fix ellipsis on cardsl

* fix batch edit checkbox styling

* Let render template ellipsis its raw values

* Fix render template

* Default cropping to current aspect ratio

* missing translation

* secondary button style

so sorry, rijk… it’s the only one (promise)

* Add image dimensions, add drag mode

* track the apology

* no elipses on titles

* Add cancel crop button

* Only show new dimensions on crop

* Inform file preview if it's in modal

* preview styling

* Install pretty-bytes

* Show file info in drawer sidebar

* Use outline icons in drawer sidebar

* don’t confuse null with subdued text value

* edge-case justification

* Show character count remaining

* Fix storybook + typing error

* Add length constraints to color

* Watch value prop

* Fix tags

* Open icon on icon click

* Fix overflow of title

* Show batch editing x items

* Fix edits emptying input on cancel

* Don't count locked filters in no results message

* simple batch edit title

* Fix headline being invisible

* Add no-options notice to interfaces/displays

* Use existing collection preset in browse modal

* Don't emit null on invalid hex

* Use correct titles in modal-detail

* style char remaining

* file info sidebar styling

* Another attempt at trying to make render template behave in any contetx

* Show remaining char count on focus only

* Remove fade, prevent jumping

* Render skeleton loader in correct height

* Fix o2m not fetching items

* Pass collection/field to render display in o2m

* Add no-items message in table

* Add default state to v-table

* Allow ISO8601 in datetime interface

* Title format selected icon name

* avoid blinking bg on load

* align characters remaining

* Default to tabular in browse modal

* Add disabled string

* Add center + make gray default notice

* Add disabled-no-value state

* Export getItems

* Expose refresh method on layouts

* Fix (batch) deletion from browse)

* Fix interface disabled on batch

* Add interface not found notice

* Add default label (active) for toggle interface

* Use options / prop default for toggle

* Support ISO 8601 in datetime display

* Render edit form in form width

* Fix deselecting newly selected item

* Undo all selection when closing browse modal

* Fix deselecting newly selected item

* wider divider

* update webhooks table

* Fix checkbox label disappearing

* Fix tests.. by removing them

Co-authored-by: Ben Haynes <ben@rngr.org>
2020-05-15 18:44:21 -04:00
Rijk van Zanten
276021657d Various collection/field setup tweaks (#570)
* Add no collections notice to settings

* Use db safe inputs for name / primary key field

* Only show filter notice when there are items

* Move english strings to translations

* Fix padding top

* Fix dialog in menu

* Add note on dialog in menu

* Save UUID field as type uuid

* Restructure fields management

* Tweak active state / colors

* Fix field-duplicate
2020-05-13 18:31:22 -04:00
Ben Haynes
7aa4911caa Various style tweaks (#555)
* icon width

* updated pagination style

* file preview zoom

WIP — shouldn’t show up on MODAL preview

* overlay/modal close button styling

* duplicate key

* bookmark styling

* card fade

also adds an rgb value for the page background variable

* style per page dropdown

* cards per page dropdown color

* inset non-dense notifications within sidebar

* reduce border radius for xs avatars

* hide non-expanded prepend/append

* reduce sidebar padding

this gives content a bit more room

* WIP: split and update comments and revisions

work in progress

* fix collections module name

* fix file library title

* consistent border on disabled

* fix title/breadcrumb positioning

* breadcrumb fixes

* add “open” button to image interface

WIP — this needs the actual logic, and we might want to remove a button

* hide presets delete until selection

* image shadow and subtext color

* Remove breadcrumb calculation

* increase contrast for image subtitle

* fix textarea hover style

* Update src/modules/collections/index.ts

* Fix typing of translateresult to format

* Add undefined check to collection name

* Put v-if on dialog instead of button

* Remove breadcrumb logic

* Remove breadcrumb calculation

* Rename shadow to collapsed in header bar

* fix rating star display going over table header

* show collection breadcrumb for bookmarks

WIP — needs the formatted collection title

* shorter error to avoid wrapping

* remove periods

* Fix standard font-size of divider label, use large in interface

* Add extra date format strings

* Structure comments, support date headers

* Add ability to delete comments

* Add edited on status badge

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2020-05-12 20:10:48 -04:00
Rijk van Zanten
631d152c79 Various (#543)
* Fix default size of cards

* Fix layout picker not auto closing

* Fix cards getting huge when theres less than 1 row
2020-05-08 18:27:59 -04:00
Rijk van Zanten
e3120afc7d Fix cp duplication and default values (#542)
* Fix cp duplication and default values

* Fix tests
2020-05-08 17:43:46 -04:00
Rijk van Zanten
45c01b6a64 Fix collection race condition + search pagination (#540) 2020-05-08 16:51:14 -04:00
Rijk van Zanten
828d81e044 Collection presets (#538)
* Fix table select all

* Fix defaulting + staging changes on new preset

* Navigate to bookmark after creation

* Support exact prop on v-list

* Use exact links in browse

* Show bookmark title when on bookmark

* Force layout refresh on navigation change

* Allow numbers in v-badge

* Add edit bookmark string

* Rename add-bookmark to bookmark-add

* Add bookmark-edit

* Save name changes to bookmark
2020-05-08 15:33:54 -04:00
Rijk van Zanten
a070a25353 Field setup (#536)
* Use the correct table header widths for settings / colections

* [WIP] Rework field setup flow

* Finish setup actions logic

* Remove old field-setup

* Use fixed strategy in popper, render to portal

* Stop relying on no-overflow mode

* Stop propagation of outside click event

* Finish field setup, start on relational setup

* Finish up v-menu

* Add relational m2o markup

* Add relational m2o markup

* Remove empty source, fix codesmell
2020-05-08 14:07:00 -04:00