Commit Graph

93 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
74600f0eb5 fix: filter developer mode with isTruly/isFalsy 2021-01-04 13:14:45 +08:00
chenos
6a9bf9572c fix: view filtering does not work 2020-12-31 21:04:03 +08:00
chenos
8861e282cb fix: show the relationship fields of the sub table 2020-12-30 15:01:28 +08:00
chenos
e692d7bb5f fix: menu sort 2020-12-29 11:31:19 +08:00
chenos
0754c5979a fix: hide the paired linkTo field in the table/form view 2020-12-28 11:38:23 +08:00
chenos
94c386e7aa fix: use simple table for the association tab view 2020-12-28 11:11:49 +08:00
chenos
629a4de173 feat: add association tab 2020-12-25 16:15:58 +08:00
chenos
56c9f131a1 refactor: improve action default params 2020-12-24 08:16:18 +08:00
chenos
4b3d07d51c fix: improves collections load 2020-12-23 20:29:11 +08:00
chenos
8f5ebb846c fix: menu filter showInMenu=true 2020-12-23 20:12:50 +08:00
chenos
0a2912fe6e docs: change 创建 to 新增 2020-12-23 19:55:25 +08:00
chenos
5f69f0d9e1 feat: improves upload and attachment components 2020-12-23 16:03:37 +08:00
chenos
0edb148db2 feat: add drawerSelect component for linkTo 2020-12-22 19:12:30 +08:00
chenos
98ae8a62a1 fix: fields appends by view type 2020-12-21 14:19:31 +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
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
afce1142d9 fix: improve field options 2020-12-18 18:25:06 +08:00
chenos
50a081c861 fix: page menu sort 2020-12-16 08:43:09 +08:00
chenos
b2801a00dc fix: view can be displayed in data menu 2020-12-15 22:44:20 +08:00
chenos
d45d37cabf feat: add field renderer 2020-12-13 20:48:48 +08:00
chenos
71b2d9bfeb feat: improve field options 2020-12-13 17:20:54 +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
eb501e3461 fix: get pageTitle with first string field 2020-12-11 15:00:33 +08:00
chenos
880737c5c8 feat: add internal parameter to collection options 2020-12-11 10:31:00 +08:00
chenos
f8e8b2b9c7 feat: add registerable icon component 2020-12-10 20:32:44 +08:00
chenos
9b73e2a7d3 feat: improve fields & views tables options 2020-12-09 20:46:57 +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
312571fba8 feat: add developer mode support 2020-12-07 08:53:18 +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
868dd1aaaa refactor: change registerHandler to registerActionHandler 2020-12-02 13:48:19 +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
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
chen
bf2e315c9e refactor: code cleanup 2020-11-11 20:57:18 +08:00
chenos
dcdb21d398
发布核心框架 (#6)
* api/ui 改名为 server/client

* 微调

* 继续完善 pages

* Fix env file and file mode. (#1)

* Fix: ignore .env file and environment variable names.

* Fix: correct file mode.

* fix: put environment variables together

* fix: separate data and ui resourcer

* feat: collection loader

* feat: redirectTo

* feat: fields & actions & views

* feat: fields & actions

* feat: app & pages & collections...

* feat: collections & pages & permissions...

* Doc: add readme (#2)

* Doc: add README.md.

* Util: add .editorconfig.

* Fix: use glob ignore option instead of additional checking. (#3)

* Fix: typo. (#4)

* feat: permissions

* feat: getCollection & getView actions

* refactor: code cleanup

Co-authored-by: Junyi <mytharcher@users.noreply.github.com>
2020-11-11 15:23:39 +08:00
chen
e5d30b30ba first commit 2020-10-24 15:34:43 +08:00