Commit Graph

152 Commits

Author SHA1 Message Date
chenos
65326a242a refactor: can configure the color of the option label for option type fields 2021-01-06 10:23:40 +08:00
chenos
778fb648ca fix(app): maxRows=12 2021-01-05 20:39:21 +08:00
chenos
c622f2ad21 fix: set logical operator default value 2021-01-05 20:35:55 +08:00
chenos
3e9f311c84 feat: add image lightbox for the attachment field 2021-01-05 17:31:41 +08:00
chenos
31edb3a1fe feat(app): add mobile responsive 2021-01-05 12:50:28 +08:00
chenos
63033d57c4 fix: adjust the view mode(temporary) 2021-01-04 23:27:38 +08:00
chenos
65c7ec9060 feat(app): adjust sub menu spacing 2021-01-04 23:26:51 +08:00
chenos
1db4fbb8ee fix: logical operator value 2021-01-04 20:58:11 +08:00
chenos
10c891d949 feat: add calendar view 2021-01-04 20:53:30 +08:00
chenos
5237b14dc0 feat: improve migrate cli 2021-01-04 13:17:16 +08:00
chenos
ad4eabd569 fix: set to null, not undefined 2021-01-02 22:43:37 +08:00
chenos
090394145a fix: drawer select allow clear 2021-01-02 22:31:35 +08:00
chenos
752de2b58a fix(app): can not open modal when only allow linking to one record 2021-01-02 09:31:33 +08:00
chenos
34895d3843 fix: text field output up to 20 characters in the table 2021-01-02 09:23:02 +08:00
chenos
2689e070f1 fix: action buttons align right 2021-01-02 09:21:07 +08:00
chenos
7ce22d7267 fix: input control can not input chinese 2021-01-02 09:18:55 +08:00
chenos
f28a56ea77 fix: button ordering 2021-01-01 20:16:40 +08:00
chenos
76e02f8ad9 fix: improve sub table action button style 2021-01-01 19:53:54 +08:00
chenos
ba6f3f7f7d fix: appends/except only use to get/list actions 2021-01-01 19:12:53 +08:00
chenos
53212ee47d fix: default checkbox for row selection type 2021-01-01 17:42:24 +08:00
chenos
97136c62ba fix(app): filter merge 2021-01-01 17:35:28 +08:00
chenos
89650750b1 fix(app): unable to associate a record 2021-01-01 17:20:31 +08:00
chenos
6a9bf9572c fix: view filtering does not work 2020-12-31 21:04:03 +08:00
chenos
f7f8e12ac9 fix: multiple files upload bugs 2020-12-31 14:12:25 +08:00
chenos
4fc2843a05 feat(file-manager): add aliyun oss storage 2020-12-31 12:11:38 +08:00
chenos
52a1ce012c feat(app): image open in the modal 2020-12-30 23:20:37 +08:00
chenos
693e1171c1 fix: ahooks dependency was not found 2020-12-30 22:46:22 +08:00
chenos
f70b229985 fix: sub table overflow 2020-12-30 22:43:47 +08:00
chenos
859bb18f97 feat(app): improve loading animation 2020-12-30 22:42:47 +08:00
chenos
ed8b5504ac feat(app): menu could be collapsed. 2020-12-30 22:36:59 +08:00
chenos
8861e282cb fix: show the relationship fields of the sub table 2020-12-30 15:01:28 +08:00
Junyi
435cd9a7c9
feat: date-only operators (#50)
* feat: date-only operators

* feat: add opposite operators

* fix: use moment to parse date string

* fix: remove additional moment dependency.

* modify date filter operators

Co-authored-by: chenos <chenlinxh@gmail.com>
2020-12-30 14:05:28 +08:00
chenos
d74eda3f23 feat: use icon for boolean field 2020-12-30 12:30:38 +08:00
chenos
2e35947dae fix: Show the number of filters 2020-12-30 12:02:02 +08:00
chenos
c20d3a91de fix: action buttons align right 2020-12-30 11:22:06 +08:00
chenos
c20494d99b feat: allow multiple files to be uploaded 2020-12-30 11:20:46 +08:00
chenos
41755a8af4 feat: improve ui details 2020-12-30 00:00:39 +08:00
chenos
6fd499f03a fix: date/time filter value format 2020-12-29 15:12:49 +08:00
chenos
519f8de40b fix: improve filters 2020-12-29 14:53:39 +08:00
chenos
e692d7bb5f fix: menu sort 2020-12-29 11:31:19 +08:00
Junyi
b2fe087fc2
Feature: custom operators for querying (#48)
* feat: add some custom operators for querying

* feat: add some custom operators for querying

* test: fix cases

* improve custom operator function

* improve filter field component

Co-authored-by: chenos <chenlinxh@gmail.com>
2020-12-28 21:08:13 +08:00
chenos
0754c5979a fix: hide the paired linkTo field in the table/form view 2020-12-28 11:38:23 +08:00
chenos
976bc5d66e feat: generate linkTo pair field 2020-12-28 11:12:33 +08:00
chenos
94c386e7aa fix: use simple table for the association tab view 2020-12-28 11:11:49 +08:00
chenos
cf47b9f282 add examples 2020-12-27 21:53:44 +08:00
chenos
629a4de173 feat: add association tab 2020-12-25 16:15:58 +08:00
chenos
76acd162e4 feat: add file icons 2020-12-24 08:35:40 +08:00
chenos
6c4a73f260 fix: By USE_STATIC_SERVER environment to determine whether to start the static server 2020-12-23 21:04:03 +08:00
chenos
5f69f0d9e1 feat: improves upload and attachment components 2020-12-23 16:03:37 +08:00
Junyi
eb7d5c594e
feat: make single file upload to attachment available (#46)
* feat: make single file upload to attachment available

* fix: change file name case

* feat: refactor structure and make local server work

* test: skip bug case temporarily

* fix: use middleware to load storage static server

* fix: change meta from values to request.body back and refactor local server middleware

* adjust details

* http:

Co-authored-by: chenos <chenlinxh@gmail.com>
2020-12-23 12:46:13 +08:00
chenos
e6dfcf8418 fix the issue of the edit button(update action) on the linkTo data detail page 2020-12-22 21:16:54 +08:00
chenos
0edb148db2 feat: add drawerSelect component for linkTo 2020-12-22 19:12:30 +08:00
chenos
6f0cd54fd8 feat: add linkTo field component 2020-12-22 19:08:41 +08:00
chenos
c5d4e0ff24 add favicon 2020-12-22 09:47:42 +08:00
chenos
29e63cc482 change logo 2020-12-22 09:38:05 +08:00
chenos
4bc2df296d feat: add actionDefaultParams to views 2020-12-21 10:41:12 +08:00
chenos
d408cd4c1f feat: improve icon field 2020-12-21 09:22:05 +08:00
chenos
85aee08260 feat: add remote select component 2020-12-20 17:27:33 +08:00
chenos
ecab106c3c
feat: support subTable field
* feat: add linkTo and subTable fields

* add subTable field component

* improve sub table

* bugfix
2020-12-20 12:52:15 +08:00
chenos
ddcf0f4219 feat: support document title 2020-12-19 15:48:56 +08:00
chenos
5fdbc1b10d feat: improve field components 2020-12-19 15:48:06 +08:00
chenos
6ffa3b53e8 refactor: add plugin manager 2020-12-18 19:54:53 +08:00
chenos
7e9b4a8f45 fix: add createdAt/updatedAt/createdBy/updatedBy options to the collections table for developer mode 2020-12-18 19:41:40 +08:00
chenos
afce1142d9 fix: improve field options 2020-12-18 18:25:06 +08:00
chenos
272b64b81b feat: add relation field component for table and detail 2020-12-18 15:36:38 +08:00
chenos
d755558009 feat: add user check middleware 2020-12-18 15:33:34 +08:00
chenos
a351d52226 fix: improve createdBy/updatedBy default options 2020-12-18 15:32:45 +08:00
chenos
866549ce26 fix: do not clear data when migrating data 2020-12-16 08:42:37 +08:00
chenos
b2801a00dc fix: view can be displayed in data menu 2020-12-15 22:44:20 +08:00
chenos
8739ea79d2 fix: add view filter to action params 2020-12-15 14:32:56 +08:00
chenos
a342c30175 fix: dynamic action params 2020-12-15 09:58:42 +08:00
chenos
d45d37cabf feat: add field renderer 2020-12-13 20:48:48 +08:00
chenos
ab90b15ffc feat: add icon field 2020-12-13 20:46:40 +08:00
chenos
a3107721c2 fix: page showInMenu=true 2020-12-13 17:15:02 +08:00
chenos
5fd8139767 improve filter & sort... 2020-12-13 00:09:25 +08:00
chenos
4decab86be feat: pages actions & tabs 2020-12-12 16:36:02 +08:00
chenos
2dbbe29223 feat: improve filter action 2020-12-12 16:32:18 +08:00
chenos
6b84446697 feat: add onTrigger to Actions component 2020-12-11 15:11:45 +08:00
chenos
2fd4e2fa61 fix: JSON.stringify for filter 2020-12-11 15:09:39 +08:00
chenos
a604eed44d refactor: menu component 2020-12-11 12:34:50 +08:00
chenos
5bb0d9f336 feat: add default icon 2020-12-11 12:22:54 +08:00
chenos
f12c619603 use createFormActions instead of createSyncFormActions 2020-12-10 20:39:15 +08:00
chenos
f8e8b2b9c7 feat: add registerable icon component 2020-12-10 20:32:44 +08:00
chenos
2828a82f7d feat: add percent field component 2020-12-09 20:49:17 +08:00
chenos
cbc81f1173 add example collection options for app 2020-12-09 20:47:58 +08:00
chenos
0d3d30e0c2 feat: add support for filter action 2020-12-08 21:19:39 +08:00
chenos
276d218357 feat: add ctx.state.developerMode 2020-12-08 14:33:28 +08:00
chenos
caa98f6d08 feat: improve developer mode support 2020-12-08 10:02:41 +08:00
chenos
ae6ea41c52 feat: menu sync & refresh 2020-12-07 17:25:36 +08:00
chenos
efc51355dd feat: add user profile & logout... 2020-12-07 17:23:05 +08:00
chenos
190fc6b37a feat: add db-migrate for app 2020-12-07 08:51:50 +08:00
chenos
0a0d09119b
Test/ci (#31)
* Create node.js.yml

* fix: npm install command

* fix: try to fix github action fail by use same react version

* fix: try to fix github action fail by use same react version

* fix: try to fix github action fail by use same react version

* fix: try to fix github action fail by use same react version

* fix: try to fix github action fail by build dependencies

* fix: try to fix ci fail by types resolution

* fix: try to fix ci fail by types resolution

* fix: try to fix ci fail by types resolution

* fix: try to fix ci fail by types resolution

* fix: try to fix ci fail by types resolution

* fix: try to fix ci fail by set env

* fix: try to fix ci fail by pg version

* fix: try to fix ci fail by fix types

* fix(test): Type '""' is not assignable to type 'IndexType'.

* fix(test): Type '""' is not assignable to type 'IndexType'

Co-authored-by: Junyi <mytharcher@users.noreply.github.com>
Co-authored-by: mytharcher <mytharcher@gmail.com>
2020-12-05 09:27:24 +08:00
chenos
3e3cb416b6
feat: improve collection hooks/fields/actions/views... (#30)
* feat: add onFinish callback

* fix: update json attribute unsaved after query

* refactor: collection hooks

* feat: add migrate options
2020-12-04 21:09:39 +08:00
chenos
868dd1aaaa refactor: change registerHandler to registerActionHandler 2020-12-02 13:48:19 +08:00
chenos
befe5661f8 feat: add optgroup support for select 2020-12-01 20:18:03 +08:00
chenos
b5ddd6a6ba
feat: collection options & hooks (#21)
* feat: collection hooks

* export action middlewares

* add associated middleware

* cleanup

* add field interface options

* 调整配置参数

* 补充字段类型 options

* 继续调整配置参数

* 支持排序

* filterable & sortable & draggable

* feat: add random name for creating table (#23)

* feat: add random name for creating table

* fix: random number

* Feature: collections field (#24)

* feat: add random name for field and update table options

* fix: make field name required

* fix: this declaration

* showInXX 参数调整

* showInXX 放 component 里

* 继续调整参数

* 字段分组、pages 表配置参数等

* change date to datetime

* 选择类型字段的 options 改为 dataSource

* feat: refactor hooks initialization and add field options by interface (#25)

* feat: refactor hooks initialization and add field options by interface

* refactor: use model.set to build input values

* refactor: extend setter/getter to adapt field options

* fix: try to fix virtual field

* refactor: setter/getter of FieldModel

* 改进自定义 model 等细节

* 补充注释

* bugfix

Co-authored-by: Junyi <mytharcher@users.noreply.github.com>
2020-12-01 20:11:39 +08:00
chenos
d9e6d2e614
feat(users): add users module (#26)
* feat(users): add users module
* user check
2020-11-29 16:26:53 +08:00
chenos
578454d07f
feat: pagination options (#20)
* feat: pagination options

* fix: data: {list, total}
2020-11-21 23:49:59 +08:00
chenos
eb93f0734f
feat: actions & views (#18)
* feat: 视图新增支持 associated 的情况

* fix: 解决关系数据的视图问题

* 表单数据初始化

* feat: sortable table

* 排序

* 表格细节调整

* feat: field actions
2020-11-19 21:12:15 +08:00
chenos
9daae13c68
feat: improve plugins (#14)
* feat: delete defined resources

* feat: api client

* feat: view fields & tab field options & page info...

* fix: view type
2020-11-13 22:01:14 +08:00