Commit Graph

320 Commits

Author SHA1 Message Date
dependabot-preview[bot]
86bcafa667 Bump stylelint from 13.3.2 to 13.3.3 (#444) 2020-04-21 13:01:02 +00:00
Rijk van Zanten
48e862fe6b Add form to collection detail (#442) 2020-04-20 18:38:33 -04:00
Rijk van Zanten
8bf25d3e3c Files nav (#441)
* Add support for item-group top level links

* Add active prop support to v-list-group

* Add all-files string

* Add files nav

* Fix nav order, render divider only when items exist

* Add add-new-folder flow

* Add add-folder button to header

* Dont unmount nav on refresh of folders

* Fix codesmell
2020-04-20 18:15:55 -04:00
dependabot-preview[bot]
008ff4bc76 Bump @typescript-eslint/parser from 2.28.0 to 2.29.0 (#439) 2020-04-20 19:53:21 +00:00
dependabot-preview[bot]
17eaa9e083 Bump @typescript-eslint/typescript-estree from 2.28.0 to 2.29.0 (#438) 2020-04-20 19:41:00 +00:00
Jacob Rienstra
5817a3e406 Interface divider lol (#435)
* divider interface & updates to component

* fixes

* Remove subtitle in favor of relying on field not

As per figma

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2020-04-20 15:24:42 -04:00
Ben Haynes
6cb4cf2232 Various style tweaks (#427)
* nav list sizing

* less contrast on table load progress

* new data model icon

* fixes all users nav

rijk SAID he fixed… but that’s ok ;)

* lighter module active color

* decrease badge size

* text changes

* new sidebar drawer component styling

* space out filters a bit more

* add auto-save warning to fields setup

* new tabular option icons

* new filter styling

needs formatting and translations for field name tooltips

* form field group styling

WIP — just styling, and needs translations

* don’t let line height be overridden

* interface icons

* button hovers

* divider interface WIP

* lighter highlight

we can try this out — might remove later

* no divider tests

* Fix divider interface

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2020-04-20 14:36:59 -04:00
Jacob Rienstra
57bcfb65a2 Numeric interface (#389)
* initial setup of numeric

* completed first draft of numeric

* attempting a factory function

* getting closer to a factory but binding everything is proving difficult

* fixed up numeric methods

* separated out common props

* tests passed

* readme

* fixed props import

* fixed props again?

* Bind props normally

* Remove unused font option in storybook

* Rename readonly->disabled, remove unused wrapper div

* Remove unused import

* Cleanup steplistener function

* Split up numeric / slider

* Fix stepper buttons

* Allow clickable icons to have focus

* Finish numeric interface

* Naming tweaks

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2020-04-20 14:11:16 -04:00
Jacob Rienstra
b06f19bec5 Textarea updates (#387)
* textarea updates with placeholder, font, and trim

* added wrapper div

* test fix

* font in css var

* Rename readonly to disabled, remove unused div

* Remove unused prop

* Fix code smell

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2020-04-20 11:19:12 -04:00
Jacob Rienstra
bf79610219 Text-input / v-input fixes (#386)
* textinput fixes including masking trimming icons and fonts

* removed masked attribute from v-input

* added wrapper div

* ugh

* test fix

* fixed all calls to monospace boolean except on textarea (in separate branch)

* readonly

* Remove unused wrapper div and rename readonly to disabled

* Rename readonly to disabled in story

* Prefer style over inline styles

* Fix codesmell

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2020-04-20 10:23:01 -04:00
dependabot-preview[bot]
471c759df7 Bump stylelint-scss from 3.17.0 to 3.17.1 (#437) 2020-04-20 13:50:51 +00:00
dependabot-preview[bot]
16e8f1dda2 Bump vue-i18n from 8.17.2 to 8.17.3 (#434) 2020-04-19 17:15:03 +00:00
dependabot-preview[bot]
8799d005a7 Bump lint-staged from 10.1.5 to 10.1.6 (#433) 2020-04-19 09:51:06 +00:00
Rijk van Zanten
3a89dc41f9 Add the cards layout (#430)
* Fix reactivity of currentLayout in drawer detail

* Start on cards layout

* Use dense list items in v-select

* Add cards + size option

* Render cards + files based on options

* Allow modules to set view defaults

* Start on render-template component

* Add get fields from template util

* Use render template component in cards layout

* Render as small icon

* Accept options in display handler function

* Fix type warnings in format title display

* Remove empty styling in render template component

* Account for null values in render template

* Add loading state to cards layout

* Remove type validation in skeleton loader

* Only fetch rendered fields

* Fix resolving of default values for cards module

* Add selection state to cards

* Add selection state to cards

* Make render template reactive

* Implement setup options

* Add disabled support to v-select

* Add fallback icon option + disable fit input when no source

* Add sort header to cards layout

* Remove console log

* Add selection state to cards header

* Fix z-indexing of header menu

* Add pagination to cards layout

* Fix types in field

* Fix type checks in field-setup

* Add role presentation to img

* Remove code smell

* Handle file library gracefully

* Add native lazy loading to images in cards layout

* Render SVGs inline in card
2020-04-18 16:20:00 -04:00
dependabot-preview[bot]
57bb18b590 Bump vue-i18n from 8.17.1 to 8.17.2 (#432) 2020-04-18 15:09:36 +00:00
dependabot-preview[bot]
bc7d207231 Bump lint-staged from 10.1.4 to 10.1.5 (#431) 2020-04-18 08:32:33 +00:00
dependabot-preview[bot]
4f8fff3439 Bump @types/lodash from 4.14.149 to 4.14.150 (#429) 2020-04-17 23:29:22 +00:00
Rijk van Zanten
6addf415a8 Fix file drop issue (#428)
* Fix file drop issue

* Remove stray console log
2020-04-17 18:41:09 -04:00
Rijk van Zanten
8c6d57e7c6 Add interface defaulting logic to v-form (#426) 2020-04-17 16:19:45 -04:00
dependabot-preview[bot]
51b614e8ed Bump lint-staged from 10.1.3 to 10.1.4 (#425) 2020-04-17 14:54:58 +00:00
Rijk van Zanten
28a4ad5ec6 Add view type switch (#424)
* Manage view_type through collection preset composition

* Move view type translation

* Add layout drawer detail component

* Use different icon for tabular

* Render view as section in browse sidebar

* Fix sticky header in table

* Sort return statement values 🤓

* Use viewtype picker on users

* Use layout picker on files

* Default to tabular view when invalid is set

* Render view type dynamically based on setting
2020-04-16 16:53:45 -04:00
Ben Haynes
ce9c374876 Various style tweaks (#423)
* nav list sizing

* less contrast on table load progress

* new data model icon

* fixes all users nav

rijk SAID he fixed… but that’s ok ;)

* lighter module active color

* decrease badge size

* text changes

* new sidebar drawer component styling

* space out filters a bit more

* add auto-save warning to fields setup

* new tabular option icons

* new filter styling

needs formatting and translations for field name tooltips

* form field group styling

WIP — just styling, and needs translations
2020-04-16 16:20:23 -04:00
Rijk van Zanten
adc3461de5 Global file upload (#422)
* Add hover style for file drop in private view

* Add uploadFile / uploadFiles utils

* Show drag notification on file dragover

* Finish global file uploads

* Fix warning in drawer detail test

* Use correct terminology

* Ignore drop for non file drops
2020-04-16 15:58:00 -04:00
dependabot-preview[bot]
9139637ee3 Bump vue-i18n from 8.17.0 to 8.17.1 (#421) 2020-04-16 16:41:05 +00:00
Rijk van Zanten
e3985ad09b Filter (#420)
* Add filter operators

* Render drawer detail hr full width

* Start on filter component

* Add getRelationsForCollection method

* Add all filter logic (no sorting yet)

* Use correct border color for divider by default

* Tweak operator translations

* Add getField action to fields store

* Fetch fieldsinfo in relations get for files

* Use scoped operators, start on type based input

* Add disabled option to v-badge

* Globally register v-badge component

* Add between filter support

* Hide alias fields

* Work debouncing magic

* Add margin beneath filter blocks

* Fix fetching filter count in use-items comp

* Add relational field lookup

and show tooltip with field name in filter section

* Use filters on users / files

* Allow double level filter
2020-04-15 21:15:44 -04:00
dependabot-preview[bot]
c6416ec3f9 Bump @popperjs/core from 2.3.2 to 2.3.3 (#419) 2020-04-15 11:53:58 +00:00
dependabot-preview[bot]
595fa07e49 Bump vuepress from 1.4.0 to 1.4.1 (#418) 2020-04-15 03:34:52 +00:00
Rijk van Zanten
7e2866373d Stores (#417)
* Fix store identifier

* Add relations store

* Remove rolesStore in favor of composition for user nav

* Fix tests
2020-04-14 17:33:26 -04:00
dependabot-preview[bot]
5e3914de9f Bump @popperjs/core from 2.3.1 to 2.3.2 (#411)
* Bump @popperjs/core from 2.3.1 to 2.3.2

Bumps [@popperjs/core](https://github.com/popperjs/popper-core) from 2.3.1 to 2.3.2.
- [Release notes](https://github.com/popperjs/popper-core/releases)
- [Commits](https://github.com/popperjs/popper-core/compare/v2.3.1...v2.3.2)

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

* Fix typing

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2020-04-14 14:51:26 -04:00
dependabot-preview[bot]
9a103383b8 Bump @types/marked from 0.7.3 to 0.7.4 (#407)
Bumps [@types/marked](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/marked) from 0.7.3 to 0.7.4.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/marked)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-04-14 14:44:09 -04:00
Rijk van Zanten
14b747eb3f Fix table resizing (#416) 2020-04-14 14:42:43 -04:00
dependabot-preview[bot]
fa14c94ce9 Bump semver from 7.3.1 to 7.3.2 (#415) 2020-04-14 17:52:20 +00:00
Rijk van Zanten
97c8f763ab Finish settings > datamodel > collections (#414)
* Add missing slot to readme

* Show and order all collections

* Render correct icon for each collection type

* Add ctx menu on collections overview

* Use subdued colors in icons by default

* Add delete collection flow

* Add delete flow

* Move options to separate component

* Add manage / unmanage toggles

* Add collections filter

* Make non-nav list item icons subdued

* Tweak where loader shows up when managing

* Pass item key to v-table
2020-04-14 13:28:39 -04:00
dependabot-preview[bot]
cec5a09cde Bump semver from 7.3.0 to 7.3.1 (#413) 2020-04-14 17:04:57 +00:00
Ben Haynes
57562cffc4 Various style tweaks (#412)
* nav list sizing

* less contrast on table load progress

* new data model icon
2020-04-14 10:17:20 -04:00
dependabot-preview[bot]
2e3be51832 Bump stylelint-scss from 3.16.1 to 3.17.0 (#410) 2020-04-14 10:42:17 +00:00
dependabot-preview[bot]
5fba84569e Bump semver from 7.2.3 to 7.3.0 (#409) 2020-04-14 01:20:47 +00:00
Rijk van Zanten
7d2f3596ba Add item-append slot to v-table (#406) 2020-04-13 18:48:37 -04:00
Rijk van Zanten
7e98692635 Users nav (#405)
* Fix users-nav + add divider

* Fix project chooser name

* Don't use list item title in nav

* Add divider in users nav

* Fix default size of text
2020-04-13 18:13:50 -04:00
Rijk van Zanten
2c5ce38e65 Small tweaks, large benefits (#404)
* Add 160px bottom padding to all pages

* Force header column to have 24px min width

* Allow resizing of last column in v-table

* Fix table row unwanted spacing + offset 2px

* Add divider to end of drawer detail

* Add down chevron on project chooser hover

* Add support for color accented modules

* Use yellow header icon in settings

* Add link to collections module browse icon

* Dont show all items selected on load v-table

* Add prepend / append slot to v-checkbox

* Add drag handles to field setup settings in tabular

* Fix loading state in table

* Show all resize handles on hover

* Lose breadcrumb in collections module, show singleton title

* Wrap activity icon, render textarea full width

* Dont render comments section on batch

* Allow input to shrink for slots

* Fix cursor on v-selects

* Prevent input usage when they have click events

* Fix margin on divider in fields-management

* Fix drag handles on field selects

* Fix button / divider spacing

* Remove support for divider inset

* Fix test warning

* Fix table-row test

* Fix codesmell

* Fix missing scope attr
2020-04-13 17:15:58 -04:00
Rijk van Zanten
7cba8a8de1 Users nav (#400)
* Add filters-to-query util

* Add all users string

* Suppot filters in tabular layout

* Sync filters with collection presets

* Support filters in use-items composition

* Render users nav + use skeleton loader

* Add list-item-icon type to skeleton loader

* Fix missing loader indicator on table

* Cleanup has click check

* Dont route based on id

* Fix loading state in table

* Revert "Dont route based on id"

This reverts commit 6de7cbe1b801d5e5e267f09a6e77dc73dcc60a37.

* Fix table loading state

* Fix routing for users module

* Force role field to be fetched

* Add roles store

* Dont render avatar until user is known

* Speed up hydration absurd much

* Rely on roles store to prevent nav from loading

* Fix tests
2020-04-13 15:18:54 -04:00
dependabot-preview[bot]
a41824a95a Bump semver from 7.2.2 to 7.2.3 (#399) 2020-04-13 18:40:13 +00:00
dependabot-preview[bot]
09ee082ca2 Bump @typescript-eslint/parser from 2.27.0 to 2.28.0 (#398) 2020-04-13 17:36:16 +00:00
dependabot-preview[bot]
23eed3a7be Bump @typescript-eslint/eslint-plugin from 2.27.0 to 2.28.0 (#397) 2020-04-13 17:29:43 +00:00
dependabot-preview[bot]
0e6ec6b303 Bump @typescript-eslint/typescript-estree from 2.27.0 to 2.28.0 (#396) 2020-04-13 17:23:21 +00:00
Rijk van Zanten
799681682d Soft delete (#395)
* Use higher res image in module avatar

* Remove glitch

* Add soft delete button / flow

* Fix tests
2020-04-13 11:53:04 -04:00
Rijk van Zanten
b3b4417b26 Add permissions store (#393)
* Fetch role nested in user store

* Use nested role in presets

* Add permissions store

* Fix tests
2020-04-13 11:08:21 -04:00
Rijk van Zanten
33062b9dd9 Add latency store / indicator (#392)
* Add latency store and track latency based on user tracking

* Add latency store to dehydration logic

* Add signal icons

* Add latency-indicator component

* Set correct size of latency spinner
2020-04-13 10:08:27 -04:00
dependabot-preview[bot]
0209cf3517 Bump vue-i18n from 8.16.0 to 8.17.0 (#385) 2020-04-13 13:26:31 +00:00
dependabot-preview[bot]
8036cea395 Bump @popperjs/core from 2.2.3 to 2.3.1 (#391) 2020-04-13 13:19:27 +00:00