Commit Graph

205 Commits

Author SHA1 Message Date
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
Rijk van Zanten
eaf0dbb385 Type and color treatmeant (#281)
* Switch from roboto to inter

* Add and use new color palette

* Fix tests
2020-04-02 12:10:13 -04:00
dependabot-preview[bot]
8acb5917a6 Bump html-loader from 1.0.0 to 1.1.0 (#280) 2020-04-02 15:01:10 +00:00
Rijk van Zanten
24ba6c0752 [Settings] Add field setup flow (#279)
* Start on field setup modal

* Add field-setup first pane

* Add interface options support

* Use updated button to add field

* Add interface and display selection and options

* Add advanced options form

* Use field name in settings

* Hide titles when editing existing field

* Add disabled handler for next / previous

* ...

* Show error on failed saves

* Rename name to field

* Fix arrow inline styles

* Fix show-arrow

* Rework tab logic to use named tabs (makes dynamic relationship tab work)

* Make it pass tests
2020-04-01 19:06:24 -04:00
dependabot-preview[bot]
dbf63bdab3 Bump vue-cli-plugin-storybook from 1.2.1 to 1.2.2 (#278) 2020-04-01 22:56:30 +00:00
Rijk van Zanten
4dd05ec2e9 Add align and dashed props to button (#277) 2020-04-01 11:40:24 -04:00
Rijk van Zanten
43c949f2a0 Add v-fancy-select component (#276)
* Add v-fancy-select component

* Fix failing tests
2020-03-31 22:20:43 -04:00
Rijk van Zanten
9ef0255746 Update v-form to accept fields prop (#275) 2020-03-31 14:49:54 -04:00
Rijk van Zanten
d72b8bbcd7 Add v-modal component (#274)
* Start on v-modal, fix layering in v-dialog

* Add shadow to v-dialog content

* Add optional group identifier to groupable compositions

This allows groupable parents to be nested more flexibly:

tabs group
  item group
    item
      tab

In the case above, we only want the tab to trigger for tabs group, not item group.

* Add active prop support to v-list-item

Allows us to manually indicate that a list item is active, useful in v-menu

* Use v-list in vertical tabs

* Finish v-modal

* Update readme for groupable composition
2020-03-31 11:33:34 -04:00
dependabot-preview[bot]
f0679ae2e1 Bump @storybook/addon-knobs from 5.3.17 to 5.3.18 (#270) 2020-03-31 14:12:09 +00:00
dependabot-preview[bot]
aa90eeacf9 Bump lint-staged from 10.1.0 to 10.1.1 (#273) 2020-03-31 14:07:18 +00:00
dependabot-preview[bot]
6ef005168a Bump @storybook/addon-notes from 5.3.17 to 5.3.18 (#267) 2020-03-31 14:06:59 +00:00
dependabot-preview[bot]
4505241a02 Bump @storybook/addon-actions from 5.3.17 to 5.3.18 (#269) 2020-03-31 14:05:57 +00:00
dependabot-preview[bot]
88d80c11d1 Bump @storybook/vue from 5.3.17 to 5.3.18 (#272) 2020-03-31 13:59:52 +00:00
dependabot-preview[bot]
da4dc165c9 Bump @storybook/addon-viewport from 5.3.17 to 5.3.18 (#268) 2020-03-31 13:59:47 +00:00
dependabot-preview[bot]
76129a0a7b Bump @storybook/addon-centered from 5.3.17 to 5.3.18 (#265) 2020-03-31 13:54:04 +00:00
dependabot-preview[bot]
d15167b05d Bump @storybook/addon-links from 5.3.17 to 5.3.18 (#266) 2020-03-31 13:53:57 +00:00
dependabot-preview[bot]
d72c61988f Bump @storybook/core from 5.3.17 to 5.3.18 (#271) 2020-03-31 13:53:11 +00:00
dependabot-preview[bot]
2a19762841 Bump @storybook/addons from 5.3.17 to 5.3.18 (#264) 2020-03-31 13:47:18 +00:00
dependabot-preview[bot]
f6c05367a5 Bump nanoid from 2.1.11 to 3.0.2 (#256)
* Bump nanoid from 2.1.11 to 3.0.2

Bumps [nanoid](https://github.com/ai/nanoid) from 2.1.11 to 3.0.2.
- [Release notes](https://github.com/ai/nanoid/releases)
- [Changelog](https://github.com/ai/nanoid/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ai/nanoid/compare/2.1.11...3.0.2)

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

* Migrate to nanoid 3

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2020-03-30 17:01:00 -04:00
Rijk van Zanten
790e7b2eb7 [Settings] Add duplicate field option (#263)
* Add duplicate field option

* Add missing prop to readme of v-select

* Re-enable preventOverflow
2020-03-30 16:47:56 -04:00
Rijk van Zanten
6205e6bf94 Add v-select component (#262) 2020-03-30 15:49:23 -04:00
dependabot-preview[bot]
d38cfefc05 Bump @typescript-eslint/eslint-plugin from 2.25.0 to 2.26.0 (#261) 2020-03-30 18:09:37 +00:00
dependabot-preview[bot]
1c24c15ce5 Bump @typescript-eslint/parser from 2.25.0 to 2.26.0 (#260) 2020-03-30 18:03:42 +00:00
dependabot-preview[bot]
4d52577e1a Bump @typescript-eslint/typescript-estree from 2.25.0 to 2.26.0 (#259) 2020-03-30 17:57:38 +00:00
Rijk van Zanten
6486dd810e Start on data model settings (#258)
* Use menu for project switcher

* Setup base structure for settings module

* Setup routes for settings

* Tweak v-menu styling

* Rough in collection overview in settings

* Save field info based on sort

* Add accidentally renamed global route

* Add move-in-arrow util

* Add update methods for fields

* Add field sorting logic

* Handle sorting between groups

* Add support for label on the v-divider component

* Register missing components

* Allow multiple dialogs at once

* Progress in settings

* Fix full-width option of input

* Update missing translations

* Improve menu performance

* Add field sizing

* Add disabled state to list item

* Add visibility toggle

* Undo changes on API errors

* Add test for usecollectoins

* Add notifications to field updates

* Fix linter warning

* Remove useCollection directive

* Fix linter warnings
2020-03-30 13:39:45 -04:00
dependabot-preview[bot]
7c41727e0d Bump lint-staged from 10.0.10 to 10.1.0 (#257) 2020-03-30 13:50:25 +00:00
dependabot-preview[bot]
934a1246b5 Bump lint-staged from 10.0.9 to 10.0.10 (#255) 2020-03-29 13:38:05 +00:00
dependabot-preview[bot]
c3dc31de9d Bump vue-i18n from 8.15.7 to 8.16.0 (#253) 2020-03-27 16:45:32 +00:00
Rijk van Zanten
7a43e6518b Add divider component (#252) 2020-03-27 12:12:51 -04:00
Jacob Rienstra
9ab09cbec3 Menu (#218)
* getting closer, trying to add things in

* positioning and story props

* add window-size index.ts

* positioning fixes

* hover half working

* more stories, no activator, positionxy

* minor fixes

* clickable menus in story

* fixed glitch in no activator, using correct iscontentactive var

* readme for menu

* readme for clickoutside

* test for v-menu

* tests

* test mocks

* Add new v-click-outside directive

* no iscontentactive

* simplified

* tweak

* Create menu based on popper

* Finish menu

* Remove unused imports

* Remove todos from menu

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2020-03-27 10:27:21 -04:00
dependabot-preview[bot]
db40ff7ab2 Bump date-fns from 2.11.0 to 2.11.1 (#250) 2020-03-26 19:45:22 +00:00
Rijk van Zanten
f7d4d3e1ac Add support for Displays (#249)
* Create displays extension type

* Optimize define

* Add missing layout component export

* Add readme

* Remove codesmell
2020-03-25 16:55:01 -04:00
Rijk van Zanten
8fb195a343 Stacking context (#247)
* Fix stacking context of nexted dialogs

* Fix test
2020-03-25 10:29:52 -04:00
Rijk van Zanten
7bcfcb9b5b Save layout options query (#246)
* Add getPresetForCollection method

* Add savePreset action

* Add useSync composition

* Sync collection presets with store / api

* Clean up browse flow

* Cleanup tabular code

* Move portal target to browse page

* Save column widths to view options

* Add must-sort prop to v-table

* Add saving flow for viewQuery / viewOptions

* Optimize saving flow

* Provide main element to sub components

* Add per page option

* Add field setup drawer detail
2020-03-25 09:49:29 -04:00
dependabot-preview[bot]
9420b17894 Bump vue-i18n from 8.15.6 to 8.15.7 (#245) 2020-03-25 08:18:40 +00:00
dependabot-preview[bot]
26960961e8 Bump prettier from 1.19.1 to 2.0.2 (#239)
* Bump prettier from 1.19.1 to 2.0.2

Bumps [prettier](https://github.com/prettier/prettier) from 1.19.1 to 2.0.2.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/1.19.1...2.0.2)

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

* Add dangling comma's

* Update eslint config to match prettier default

* Make eslint match prettier for real this time

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2020-03-24 10:51:30 -04:00
dependabot-preview[bot]
df987c0aba Bump webpack from 4.42.0 to 4.42.1 (#244) 2020-03-24 08:40:49 +00:00
dependabot-preview[bot]
66f303ac44 Bump lint-staged from 10.0.8 to 10.0.9 (#243) 2020-03-24 05:29:53 +00:00
Rijk van Zanten
de26915d6b Page tracking (#242)
* Add trackPage action to userStore

* Track page in after each for router
2020-03-23 20:53:16 -04:00
dependabot-preview[bot]
519a9ea7f9 Bump autoprefixer from 9.7.4 to 9.7.5 (#241) 2020-03-24 00:39:26 +00:00
Rijk van Zanten
fca6bd34ab Notifications (#240)
* Add notification item

* Add notifications group component

* Add notifications store

* Tweak notification item component

* Tweak styling of notifications / add dense mode

* Fix codestyle problem

* Update storybook

* Add notifications group to private view

* Add tests for notifications store

* Add notify util

* Fix import style

* Tweak positioning of notifications group

* Update readmes
2020-03-23 18:51:31 -04:00
Rijk van Zanten
847c7a5554 Logout route (#238)
* Add logout route

* Don't render spinner on top of content

* Use logout route instead of onBeforeEnterLogout handler

* Remove onBeforeLogoutRouteEnter test

* Fix warnings in tests
2020-03-23 14:37:31 -04:00
Rijk van Zanten
7d1df455fd User sign out (#234)
* Add fullName getter to user store

* Add user sign out link

* Add tests for module bar avatar
2020-03-23 14:06:30 -04:00
dependabot-preview[bot]
98a9ae0882 Bump @typescript-eslint/parser from 2.24.0 to 2.25.0 (#237) 2020-03-23 17:24:14 +00:00