Commit Graph

25 Commits

Author SHA1 Message Date
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
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