Commit Graph

334 Commits

Author SHA1 Message Date
Rijk van Zanten
0dbc0d3b36 Default active list to null, remove self-toggle (#5470)
Fixes #5414
2021-05-04 19:48:31 -04:00
rijkvanzanten
010eabad27 Format remaining md files 2021-05-04 18:52:08 -04:00
Pascal Jufer
1a39b4bc6d lint-staged: Reintroduce Prettier for md files (#5382) 2021-04-30 08:44:47 -04:00
Jian Liao
c438917096 Issue 5344 (#5346)
* add more ignore pattern for git

* revert the change for api/.gitignore

* fix issue-5344 support autofocus on first non-readonly form field on open drawer

* fix use a more accurate variable name

* Rename autofocusonfirstitem to autofocus

Co-authored-by: Jian Liao <jianliao@adobe.com>
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-04-30 01:13:55 +00:00
rijkvanzanten
fb31653ade Fix remaining stylelint problems 2021-04-29 16:08:14 -04:00
rijkvanzanten
801e868554 Fix remaining eslint errors
h/t @paescuj
2021-04-29 15:55:12 -04:00
Pascal Jufer
acd41eb0be Syntax fixes (#5367)
* Declare return types on functions

And a very few other type related minor fixes

* Minor syntax fixes

* Remove unnecessary escape chars in regexes
* Remove unnecessary awaits
* Replace deprecated req.connection with req.socket
* Replace deprecated upload with uploadOne
* Remove unnecessary eslint-disable-next-line comments
* Comment empty functions / catch or finally clauses
* Fix irregular whitespaces
* Add missing returns (null)
* Remove unreachable code
* A few logical fixes
* Remove / Handle non-null assertions which are certainly unnecessary (e.g. in
tests)
2021-04-29 12:11:43 -04:00
cynova
56d634ce16 handle enter key for existing sessions (#5277)
* handle enter key for existing sessions

* replace with more declarative approach

Co-authored-by: Sean Goff <sean318@hotmail.ch>
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2021-04-27 12:01:40 -04:00
Ben Haynes
bd206ea5d5 Minimize edited badge 2021-04-22 17:42:40 -04:00
rijkvanzanten
7929ae312b Add skeleton loaders to o2m/m2m 2021-04-22 17:12:20 -04:00
Ben Haynes
76f67e1d71 Clean up button icon alignment 2021-04-22 16:54:22 -04:00
rijkvanzanten
15dbc31f07 Add primary highlight on drag 2021-04-22 16:50:30 -04:00
Ben Haynes
63a6397625 Fix page jumping on repeater entry 2021-04-22 16:26:15 -04:00
Ben Haynes
de94e5d898 repeater styling 2021-04-22 16:07:00 -04:00
rijkvanzanten
cb4bf88e66 Tweak relational interfaces
Squashed commit of the following:

commit ade7ce72e7dac9908504eacf420875baaae1cc47
Author: rijkvanzanten <rijkvanzanten@me.com>
Date:   Thu Apr 22 13:16:03 2021 -0400

    Add no-items notice

commit e47dd5ac1f28300a33478a2be3c50496859b09fc
Author: rijkvanzanten <rijkvanzanten@me.com>
Date:   Thu Apr 22 13:13:58 2021 -0400

    Remove files interface

commit 2925fb9c86719c48006f7b2619df7fd26bf7b523
Author: rijkvanzanten <rijkvanzanten@me.com>
Date:   Thu Apr 22 13:10:44 2021 -0400

    Fix sort field in m2m

commit 009e2b1fd99f7a31f20fba04cd9980eaa3566ac8
Author: rijkvanzanten <rijkvanzanten@me.com>
Date:   Thu Apr 22 13:06:45 2021 -0400

    Add dense at item count

commit 83b088f4da3ea4a1d7e030f34a07aa1cb2235b43
Author: rijkvanzanten <rijkvanzanten@me.com>
Date:   Thu Apr 22 12:05:40 2021 -0400

    Tweak rendering of thumbnails inside relational interfaces

commit 06770a0f16e344ab62c0228b87824a6c00ad39bc
Author: rijkvanzanten <rijkvanzanten@me.com>
Date:   Thu Apr 22 11:36:07 2021 -0400

    Rename $file->$thumbnail, render properly in render-template

commit 954fd725629ce055459a7925be4aaddf3fb723c2
Author: rijkvanzanten <rijkvanzanten@me.com>
Date:   Thu Apr 22 11:35:53 2021 -0400

    Fix injection on v-field-select

commit 83073dea2fc26af61a5155adddd5d4e3afa5cb14
Author: rijkvanzanten <rijkvanzanten@me.com>
Date:   Thu Apr 22 11:35:39 2021 -0400

    Adjust for virtual $thumbnail field on files

commit ee57b8316479204c0a5c931c86807afde55423a1
Author: rijkvanzanten <rijkvanzanten@me.com>
Date:   Thu Apr 22 10:49:35 2021 -0400

    Don't hardcode file/user relations

commit 31ed92c5a785f20b7dc58bb62f35f6e31c95cfc6
Author: rijkvanzanten <rijkvanzanten@me.com>
Date:   Thu Apr 22 10:49:22 2021 -0400

    Allow injecting temporary fields in field template

commit 9d98d4fe4def7bdba12d1613bd08bdb9bd9e1431
Author: rijkvanzanten <rijkvanzanten@me.com>
Date:   Thu Apr 22 10:36:53 2021 -0400

    Render collection level template in placeholder

commit 0e0dda1e9f5a930ce3c73c2f8003d98853d58bc0
Merge: 65fa8084f 1e3b64bf9
Author: rijkvanzanten <rijkvanzanten@me.com>
Date:   Thu Apr 22 10:35:21 2021 -0400

    Merge branch 'main' into relational-tweaks

commit 65fa8084f84aa1a90686fe6407a6d54ca47d1371
Author: rijkvanzanten <rijkvanzanten@me.com>
Date:   Thu Apr 22 10:29:03 2021 -0400

    Make input container relative

commit 0674a0a00faa5df2208b466114721ba5d5116bf7
Author: rijkvanzanten <rijkvanzanten@me.com>
Date:   Thu Apr 22 10:28:44 2021 -0400

    Add placeholder option to v-field-template
2021-04-22 13:16:20 -04:00
Nitwel
7d64c8ab47 Relational consistency (#4093)
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-04-21 23:31:12 +00:00
Nicola Krumschmidt
30b16cca89 Reset v-textfield to null when cleared (#5141)
* Reset v-textfield to null when cleared

* Add option to configure nullable to textarea interface

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2021-04-19 10:49:27 -04:00
Nicola Krumschmidt
d6f2a96bd6 Reset v-field-template to null when cleared (#5144) 2021-04-19 14:39:24 +00:00
Oreille
95a636dbc0 Pass loading prop to form-field-interface (#5104)
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2021-04-16 14:26:40 +00:00
rijkvanzanten
d43c88095e Don't allow singletons to be selected in m2a context
Closes #4406
2021-04-15 12:04:02 -04:00
rijkvanzanten
f6a1043c6f Fix dot notation support in table row
While keeping it functional

Fixes #5080
2021-04-15 11:33:24 -04:00
rijkvanzanten
ab112d26e7 Tweak error code retrieval 2021-04-14 18:39:47 -04:00
Ben Haynes
0b54975f67 fixes #5017 2021-04-14 17:22:44 -04:00
Nicola Krumschmidt
0f64b00a73 Fix the edited dot if the field value is falsy (#5054) 2021-04-14 10:44:38 -04:00
Rijk van Zanten
bcac4b80c2 Fix perf regression in translations (#5041)
* Only translate extensions on language load

* Make table-row functional
2021-04-13 17:00:22 -04:00
rijkvanzanten
0f5a98f4f2 Fix unique error extraction in MySQL
Fixes #4995
2021-04-12 17:28:41 -04:00
Nitwel
44091e6f41 Add option to auto refresh collections (#4777)
* add auto refresh

* add refresh_interval to DB

* remove refresh_interval template

* set refresh interval default to null

* Fix typo in filename

* Rename sidebar-auto-refresh to refresh-sidebar-detail

* Rename import

* Add badge on active refresh, change options

* Fix refresh not working on refresh

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-04-09 17:24:40 -04:00
WoLfulus
42393951e0 Test runners for storage drivers (#4716)
* add tests to drive

* add azure test runner

* add gcs test runner

* add s3 test runner

* quick changes

* Re-add npm run dev

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-04-09 15:40:12 -04:00
Ben Haynes
154b606eb2 Table background color 2021-04-08 17:05:41 -04:00
Ben Haynes
757bf8bcbd Fix cropped button icons 2021-04-08 17:05:31 -04:00
Nitwel
93f8b7720c Fix translations not working on displays, modules... (#4734)
* generalyze extensions

* replace vue-i18n tranlslations

* replace vue-i18n tranlslations

* add missing commas

* replace translations recursive

* restructure translate

* remove unused i18n

* remove unused i18n

* remove unused i18n

* Remove i18n context in define

* Rename translate util file

* Fix type errors

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-04-08 16:36:55 -04:00
Nitwel
1b57bc3e82 use display template in drawer-item when possible (#4872) 2021-04-07 11:50:28 -04:00
Nitwel
bda9934867 Fix field-template bug where wrong key gets used (#4884) 2021-04-07 11:43:15 -04:00
Ben Haynes
2e0b74c9ad fixes #4450 2021-04-02 14:14:12 -04:00
Ben Haynes
8c4dfbf375 spacing and tooltip hover for edit badge 2021-03-31 14:47:04 -04:00
Rijk van Zanten
f90c31b798 GraphQL 2.0 (#4625)
* Start on GraphQL "2.0", add methodnotallowed exceptoin

* Fix relative file pointer in peer dep

* [WIP] Add pre-filtered schema to SchemaOverview

* Use root schema as is, add reduce-schema util

* Use reduceSchema in the wild

* Base schema on local reduced schema

* Remove todo

* Use graphql-compose to build out schema

* Start restructuring resolvers

* Add create mutation

* Return boolean true for empty create mutation selections

* Add update mutation

* Add delete mutation

* Add system/items scoping

* Fix merge conflicts for real now

* Use system services, rename ids->keys

* Start on docs on mutations

* Updates to match main

* Add fetch-by-id

* Add one/many resolvers for mutations

* Check system collection rows for singleton

* Fix resolver extraction for single read

* Share delete return type

* Add comments

* Use collection root name for readable type

* Add specs endpoint for GraphQL SDL

* Update docs

* Add note on SDL spec

* Fix delete single example

* Remove package-lock

* Fix collection read scoping in non-read
2021-03-30 17:06:35 -04:00
Nitwel
4518ec8886 add display template option (#4758) 2021-03-30 12:21:33 -04:00
Nitwel
fdbddd0b71 fix table row and header dragging (#4721) 2021-03-29 10:14:36 -04:00
Rijk van Zanten
c310afa846 Rely on npm Workspaces for module resolving (#4656)
* Move devDeps to API

* Move app to npm workspaces

* Tweaks / add lockfiles

* Add locks, fix devdeps across packages

* Move eslint config rootlevel

* Use eslint fix for vue files instead of vue-cli-service

* Add global prettier format option

* Create lockfiles for all packages

* Replace husky with simple-git-hooks
2021-03-24 16:01:49 -04:00
Rijk van Zanten
be611a03f9 Change revert action to insert changes into page (#4637)
Closes #3941
2021-03-23 11:59:00 -04:00
rijkvanzanten
bdb21bb572 Make errors selectable
Fixes #4554
2021-03-16 09:39:53 -04:00
Rijk van Zanten
4248b187bb Implement unique constraint support (#4467)
* Allow creating unique fields

* Allow removing unique constriant

* Show unique constraint error as validation error in app
2021-03-10 17:35:21 -05:00
Ben Haynes
59a0ade3dc fixes #4436 2021-03-08 16:46:04 -05:00
Ben Haynes
870cd5ec9a fixes #4402
adds background-input variable to differentiate from page
updates repeater to use card styling
2021-03-08 15:13:53 -05:00
Ben Haynes
cc14bb9b38 tiny design updates 2021-03-04 19:21:16 -05:00
Ben Haynes
373ba77882 new dropdown styling 2021-03-04 19:05:13 -05:00
Ben Haynes
b8a56c81c0 remove debug color 2021-03-04 19:05:02 -05:00
Ben Haynes
971e393434 card weight 2021-03-04 19:04:52 -05:00
Ben Haynes
3e5b9b2fea no errant commented out code
sorry rijk
2021-03-04 18:54:32 -05:00
Ben Haynes
7599e0a7aa primary color and various design updates 2021-03-04 18:50:47 -05:00