Commit Graph

515 Commits

Author SHA1 Message Date
chenos
2253471670 chore: v0.5.0-alpha.22 2021-10-25 14:37:22 +08:00
ChengLei Shao
90b7c9fc94
option-tag style (#92) 2021-10-25 09:58:02 +08:00
chenos
4b586148b1 feat: supports filling in the collection name and field name 2021-10-21 12:18:21 +08:00
chenos
181872cf07 chore: v0.5.0-alpha.21 2021-10-18 13:04:14 +08:00
chenos
f199df96aa chore: add prettier config 2021-10-14 00:08:16 +08:00
chenos
d80c875d5e chore: v0.5.0-alpha.20 2021-10-12 22:27:38 +08:00
chenos
5b9a24cba1 fix(client): cannot read properties of undefined (reading 'interface') 2021-10-12 22:01:18 +08:00
chenos
fda20f83c3 chore: v0.5.0-alpha.19 2021-10-10 22:30:16 +08:00
chenos
2ce3b9d21b fix(client): auto jump to the first menu item after login 2021-10-10 22:24:30 +08:00
chenos
516c1be50d chore: v0.5.0-alpha.18 2021-10-10 13:06:09 +08:00
chenos
3e04f81a41 chore: v0.5.0-alpha.17 2021-10-10 12:59:29 +08:00
chenos
d2c534243e fix: pageSize to perPage 2021-10-10 12:54:48 +08:00
chenos
effedd77a7 fix: disable sub table field 2021-10-10 12:51:14 +08:00
chenos
ccfdb02801 fix: empty values after form submission 2021-10-10 12:50:26 +08:00
chenos
dafe8f14d0 chore: v0.5.0-alpha.16 2021-10-08 23:16:46 +08:00
chenos
23bdada69c chore: update gitHead 2021-10-08 00:37:39 +08:00
chenos
e7df1f93c4 chore: v0.5.0-alpha.15 2021-10-08 00:33:40 +08:00
chenos
2fa8280803 chore: v0.5.0-alpha.14 2021-10-07 21:57:01 +08:00
chenos
8561502384 chore: v0.5.0-alpha.13 2021-10-07 21:33:32 +08:00
chenos
b2f3bd4894 chore: v0.5.0-alpha.12 2021-10-07 19:39:35 +08:00
chenos
4506271af5 chore: v0.5.0-alpha.11 2021-10-07 19:03:50 +08:00
chenos
9787bedb3c chore: 0.5.0-alpha.10 2021-10-07 18:02:32 +08:00
chenos
968fd2e656 chore: v0.5.0-alpha.9 2021-10-07 17:25:31 +08:00
chenos
f825e48d03 chore: v0.5.0-alpha.8 2021-10-07 16:39:18 +08:00
chenos
dd0d067c10 chore: v0.5.0-alpha.7 2021-10-07 16:32:22 +08:00
chenos
43f95e0a56 chore: v0.5.0-alpha.6 2021-10-07 15:27:02 +08:00
chenos
7ecb7c3a60 chore: v0.5.0-alpha.5 2021-10-07 15:25:20 +08:00
chenos
29d386a63d feat: improve code 2021-10-01 23:31:49 +08:00
chenos
73145b56ad feat: initialize demo data when creating the application 2021-10-01 00:50:06 +08:00
chenos
1cb28f0309 fix: client request undefined 2021-09-30 09:45:03 +08:00
chenos
86e2a2802d feat: add useClient and useResourceRequest hooks 2021-09-28 18:20:21 +08:00
chenos
20d602e2b1 Merge branch '0.5' into develop
# Conflicts:
#	packages/app/src/apis/index.ts
#	packages/plugin-collections/src/actions/fields.ts
#	packages/plugin-collections/src/server.ts
#	yarn.lock
2021-09-28 11:37:39 +08:00
chenos
1dff47e8e4 feat: add client provider 2021-09-28 09:33:38 +08:00
chenos
819f1a3472 fix: Field form values is not displayed 2021-09-14 16:44:11 +08:00
chenos
a3c4a8dd9c fix: defaultPageSize=100 2021-09-14 16:29:47 +08:00
chenos
37347cb6b2 feat: add collections table/form 2021-09-14 16:28:11 +08:00
chenos
248d59f6ec feat: improve code 2021-09-14 11:09:26 +08:00
chenos
e82139cfc8 feat: improve styling 2021-09-08 15:40:53 +08:00
chenos
1c30baffcf feat: improve stying 2021-09-08 15:11:35 +08:00
chenos
1229a10df6 feat: improve code 2021-09-04 23:31:26 +08:00
chenos
dde1bd4fc2 feat: improve styling 2021-09-03 15:52:58 +08:00
chenos
ebfabb4605 feat: improve styling 2021-09-03 15:11:28 +08:00
chenos
8048482247 feat: improve styling 2021-09-03 15:10:10 +08:00
chenos
8bd5a83947 feat: generate reverse field for linkTo fields 2021-09-03 14:08:15 +08:00
chenos
a771aade5c bugfix 2021-09-03 00:15:07 +08:00
chenos
a8413f4e7b feat: improve code 2021-09-03 00:06:05 +08:00
chenos
4f762cfe2e feat: improve code 2021-09-02 17:32:10 +08:00
chenos
9560276fa1 fix: menu item highlight 2021-09-02 16:02:26 +08:00
chenos
e6e84bc345 bugfix 2021-08-30 18:50:25 +08:00
chenos
3c8c2d71e3 feat: improve code 2021-08-30 18:27:39 +08:00
chenos
10861d3c1c feat: association data block 2021-08-29 22:26:52 +08:00
chenos
0314faeae9 feat: improve code 2021-08-29 00:25:28 +08:00
chenos
f8c3c6a19b feat: improve text 2021-08-27 18:26:10 +08:00
chenos
6c779a7e6b feat: improve code 2021-08-27 14:52:58 +08:00
chenos
7587e2cdb7 feat: improve code 2021-08-27 14:26:24 +08:00
chenos
35cafad0ff add cancel button to markdown 2021-08-27 11:30:12 +08:00
chenos
52699b0302 feat: add Kanban.useCreateResource 2021-08-27 11:06:21 +08:00
chenos
622a6d5a27 feat: improve code 2021-08-27 10:31:27 +08:00
chenos
5aad2bae76 feat: improve code 2021-08-26 22:17:49 +08:00
chenos
a0fc7a17d1 improve text 2021-08-26 11:11:27 +08:00
chenos
c74e8f03ad improve code 2021-08-26 10:30:52 +08:00
chenos
0c678a013f feat: loading style 2021-08-25 23:24:00 +08:00
chenos
06fa41fffc feat: support set document title 2021-08-25 22:05:53 +08:00
chenos
a48f2a5159 feat: improve code 2021-08-25 17:07:23 +08:00
chenos
4860cb019f feat: add tooltip and confirm to the button 2021-08-25 12:21:11 +08:00
chenos
12ba06f89a improve code 2021-08-25 09:56:01 +08:00
chenos
4507a5aca1 improve text 2021-08-24 23:10:19 +08:00
chenos
53fa47c56f feat: improve code 2021-08-24 17:38:30 +08:00
chenos
7733e4d5fa feat: kanban use rectIntersection collision detection 2021-08-24 15:02:46 +08:00
chenos
73c52b7ea4 fix: action log filtering of a record 2021-08-23 23:30:48 +08:00
chenos
44633db5ff feat: login redirect 2021-08-23 22:21:40 +08:00
chenos
dd769e4d04 fix: Property 'service' is missing in type '{}' but required in type 'AuthContextProps' 2021-08-23 21:55:17 +08:00
chenos
c82fee6162 feat: user register & profile 2021-08-23 21:49:44 +08:00
chenos
589fca05d0 feat: user auth 2021-08-23 20:50:55 +08:00
chenos
7394e0aa8a improve scrollbar styling 2021-08-23 12:43:18 +08:00
chenos
52818bfeb4 improve styling 2021-08-23 12:15:22 +08:00
chenos
6f84f925aa kanban auto scroll 2021-08-23 12:05:37 +08:00
chenos
6188060475 fix: update values without sort field 2021-08-23 11:24:02 +08:00
chenos
e801181aeb feat: improve styling 2021-08-23 10:53:37 +08:00
chenos
99635025a8 feat: improve code 2021-08-23 09:51:19 +08:00
chenos
3d5c81618f refactor kanban 2021-08-23 01:23:04 +08:00
chenos
959059cfc7 fix: compilerOptions target ES6 2021-08-21 22:32:48 +08:00
chenos
3d04d527f3 fix: TypeError: Class constructor MouseSensor cannot be invoked without 'new' 2021-08-21 22:24:14 +08:00
chenos
7eb6297d0f feat: improve code 2021-08-21 22:14:23 +08:00
chenos
80f4635bb6 feat: improve code 2021-08-21 18:33:56 +08:00
chenos
1012cb6401 fix some drag and drop issues 2021-08-21 15:53:22 +08:00
chenos
8f1d6a4a2c feat: improve code 2021-08-20 23:48:13 +08:00
chenos
c3abf10746 bugfix 2021-08-20 22:50:12 +08:00
chenos
2e8fe58246 refactor: drag and drop 2021-08-20 22:30:29 +08:00
chenos
7d604cdf9a upgrade formily 2021-08-20 00:05:29 +08:00
chenos
4b20cd7bbf improve styling 2021-08-19 23:41:20 +08:00
chenos
5299a2ece9 feat: improve kanban 2021-08-19 23:37:02 +08:00
chenos
dfd4b821ff improve calendar 2021-08-19 17:03:25 +08:00
chenos
f3bdaf641e improve calendar and kanban 2021-08-18 23:34:35 +08:00
chenos
3e5e9c194c feat: improve Table.Operation 2021-08-18 11:30:24 +08:00
chenos
90f8f721b7 feat: add Action.Group 2021-08-18 11:29:57 +08:00
chenos
c2357d27a9 improved designable styling 2021-08-17 18:37:25 +08:00
chenos
4bcde0befe improved designable styling 2021-08-17 15:58:28 +08:00
chenos
2ba5e6f76f improved designable styling 2021-08-17 14:40:38 +08:00
chenos
da418720aa feat: improve code 2021-08-17 11:24:59 +08:00
chenos
b0056e1aa1 feat: improve code 2021-08-17 10:30:11 +08:00
chenos
20c839bfa9 feat: improve code 2021-08-17 00:18:42 +08:00
chenos
3d023fb3e4 feat: add maxLevel and changeOnSelect props for the china region field 2021-08-16 15:07:02 +08:00
chenos
852d3d6f7a feat: add SystemSettingsContext 2021-08-16 14:34:58 +08:00
chenos
b7e450dcf9 fix: path error 2021-08-16 13:06:03 +08:00
chenos
bfa46eb0c0 feat: improve code 2021-08-16 12:36:17 +08:00
chenos
69d47a0331 feat: improve cascader component 2021-08-16 12:35:52 +08:00
chenos
e9ddd4fd7e feat: upgrade formily and fix type check errors 2021-08-15 12:16:11 +08:00
chenos
ce63f0fbe6 feat: improve the options of the upload component 2021-08-15 00:04:14 +08:00
chenos
a635c955c6 improve upload component 2021-08-14 23:48:29 +08:00
chenos
15105c1efb feat: improve the upload component 2021-08-13 23:34:17 +08:00
chenos
cfd12a0fcf feat: siteinfo, more configuration, userinfo... 2021-08-13 23:33:15 +08:00
chenos
a7040efe63 feat: improve export plugin 2021-08-13 09:57:21 +08:00
chenos
4139fc8cf6 feat: add calendar block 2021-08-13 00:02:01 +08:00
chenos
b6f359bbc5 feat: add kanban block 2021-08-12 11:34:46 +08:00
chenos
23db248743 feat: menu permissions 2021-08-11 14:27:45 +08:00
chenos
66549dc4bf feat: improve code 2021-08-11 11:18:10 +08:00
chenos
c1dfc8b2f5 feat: collection action permissions 2021-08-11 00:09:54 +08:00
chenos
b046723371 feat: menu permissions 2021-08-11 00:09:08 +08:00
chenos
9187c15b27 feat: improve code 2021-08-11 00:08:55 +08:00
chenos
8f58e3ec27 feat: default appends for table component 2021-08-09 11:47:06 +08:00
chenos
6d7a811d56 feat: filter support custom fields 2021-08-09 10:40:40 +08:00
chenos
cf3a6ff2ff bugfix 2021-08-09 10:10:36 +08:00
chenos
3966c7f0f3 feat: support onRemove event for the menu component 2021-08-08 16:13:02 +08:00
chenos
85c052ba59 feat: improve code 2021-08-08 12:06:33 +08:00
chenos
1ab7d544b3 feat: add ActionLogs block 2021-08-07 23:22:30 +08:00
chenos
c34d82d180 feat: divide the fields into general and system 2021-08-07 23:14:14 +08:00
chenos
2f880c6cd0 feat: improve the operators of all fields 2021-08-06 23:24:55 +08:00
chenos
b9b41139c9 precision, addonBefore and addonAfter for InputNumber 2021-08-05 23:09:17 +08:00
chenos
1ceb8b6006 hide Table.Operation.DesignableBar when not designable 2021-08-05 19:01:02 +08:00
chenos
7e091092ee fix: sortable for Menu.URL 2021-08-05 18:54:32 +08:00
chenos
6da37c6509 hide the add new tab button when not designable 2021-08-05 18:53:44 +08:00
chenos
8f746ae319 feat: action bar for the descriptions block 2021-08-05 18:34:58 +08:00
chenos
41cbb26b2e fix: improve form field config 2021-08-05 00:08:01 +08:00
chenos
8cfa623636 fix: quickly create data tables and fields in the block 2021-08-04 20:15:01 +08:00
chenos
e41926e2b9 fix: date formatting 2021-08-04 20:11:49 +08:00
chenos
02890f550d fix: date field parameter path error 2021-08-04 17:37:46 +08:00
chenos
5b014bc67e lots of updates 2021-08-04 12:38:08 +08:00
chenos
c23d2c5c3c improve code 2021-08-03 12:12:29 +08:00
chenos
754be7d1d1 improve Table Operation 2021-08-03 00:01:42 +08:00
chenos
6ff216be6b improve tabs 2021-08-02 17:50:14 +08:00
chenos
f997b4bebb improve moveTo function 2021-08-02 17:31:41 +08:00
chenos
0ca3fef9d3 moveTo for menu & table & tabs 2021-08-02 16:17:27 +08:00
chenos
cf2d3fcdaf improve drag and drop 2021-08-02 15:05:28 +08:00
chenos
57cc9e6081 refresh schema 2021-07-30 21:48:59 +08:00
chenos
ab81afecfa collectionsLoading 2021-07-30 18:54:18 +08:00
chenos
70652c9bf7 fix: await refresh 2021-07-30 18:41:10 +08:00
chenos
b9b43b9712 fix 2021-07-30 16:15:58 +08:00
chenos
c3d2c3cd28 action bar 2021-07-30 16:10:40 +08:00
chenos
7dd9fbf213 useResource 2021-07-30 09:31:04 +08:00
chenos
27b61bd571 refactor code 2021-07-30 00:03:10 +08:00
chenos
1007324b09 DesignableBar 2021-07-27 22:29:56 +08:00
chenos
428beabd5a field switch 2021-07-27 18:38:54 +08:00
chenos
a9177116aa g2plot chart 2021-07-27 15:07:46 +08:00
chenos
8bfb5cf85c updates 2021-07-27 10:34:52 +08:00
chenos
b257417d70 AddNew 2021-07-24 16:37:13 +08:00
chenos
00bb0f747e update doc 2021-07-24 14:16:09 +08:00
chenos
6b419fc5cd bugfix 2021-07-23 21:04:57 +08:00
chenos
3c3fa358de API_URL env 2021-07-23 18:26:05 +08:00
chenos
3223d95d01 updates 2021-07-23 18:08:44 +08:00
chenos
e21a9ab57d Markdown.Void 2021-07-23 13:11:14 +08:00
chenos
19cbcd1e94 updates... 2021-07-23 12:34:15 +08:00
chenos
07fa09e412 updates 2021-07-23 00:19:08 +08:00
chenos
8d298de6fe updates 2021-07-21 21:51:16 +08:00
chenos
e8399e167e updates 2021-07-20 23:19:54 +08:00
chenos
97ca17bc10 updates 2021-07-19 23:57:54 +08:00
chenos
2606f28059 lots of updates 2021-07-19 18:33:03 +08:00
chenos
63538cf240 updates... 2021-07-18 17:16:57 +08:00
chenos
057dc8406a lots of updates 2021-07-17 22:35:50 +08:00
chenos
78740f9905 updates 2021-07-16 23:57:11 +08:00
chenos
c9aa381045 refactor: action/menu/schema-renderer... 2021-07-15 18:47:21 +08:00
chenos
61796cbc27 updates... 2021-07-14 14:30:38 +08:00
chenos
03da153052 update docs 2021-07-14 08:43:18 +08:00
chenos
e50267d64c node tree of all components 2021-07-13 00:31:38 +08:00
chenos
6f54ee3d4e updates 2021-07-12 22:13:48 +08:00
chenos
af02a895c3 lots of updates 2021-07-11 22:20:54 +08:00
chenos
d39a7d822d DrawerSelect, Filter ... 2021-07-11 10:46:34 +08:00
chenos
9cc5363f49 improve select 2021-07-10 16:21:05 +08:00
chenos
15fca2b009 updates 2021-07-09 23:58:05 +08:00
chenos
708afa059c updates 2021-07-09 21:19:53 +08:00
chenos
e53a1edf7d lots of updates 2021-07-08 14:21:18 +08:00
chenos
ed4397e112 updates... 2021-07-07 22:50:40 +08:00
chenos
14160761d3 improve action & database field & table 2021-07-06 23:33:02 +08:00
chenos
b7a2d5d3e5 updates 2021-07-06 00:15:19 +08:00
chenos
eb31861b54 improve code 2021-07-04 22:04:15 +08:00
chenos
5e181c3ade lots of updates 2021-07-04 00:19:26 +08:00
chenos
699726d5bb improve code 2021-07-03 17:26:08 +08:00
chenos
8b34b84a5e updates 2021-07-03 00:24:21 +08:00
chenos
46e4089140 designable bar 2021-07-01 00:16:43 +08:00
chenos
75cd158a27 refactor 2021-06-27 15:41:40 +08:00
chenos
0b191e8b5d update docs 2021-06-06 23:24:49 +08:00
chenos
5f752d28d7 improve a lot of details 2021-06-06 18:21:04 +08:00
chenos
a7fd94affd refactor: useDrag & useDrop & useColResize 2021-06-04 11:20:11 +08:00
chenos
3c3ae5c348 clean up the redundant examples 2021-06-02 11:24:38 +08:00
chenos
5e0277d451 updates 2021-06-02 11:09:01 +08:00
chenos
cfc04814c6 bugfix 2021-05-26 09:16:32 +08:00
chenos
8fc5be634e drawer closeWithConfirm props 2021-05-26 09:10:20 +08:00
chenos
60862736ea designer field 2021-05-26 09:09:53 +08:00
chenos
b7ff2e0673 update docs 2021-05-23 09:32:43 +08:00
chenos
68f3d86761 drawer closeWithConfirm props 2021-05-23 09:20:22 +08:00
chenos
2cbcd087ce v0.5 2021-05-23 08:38:08 +08:00
chenos
8df85e0b20 chore(versions): publish packages v0.4.0-alpha.7 2021-04-18 09:44:18 +08:00
chenos
9f91fc7fd0 v0.4.0-alpha.6 2021-04-18 09:35:49 +08:00
chenos
ef93a3c11c chore(versions): publish packages 0.4.0-alpha.5 2021-04-07 19:36:55 +08:00
chenos
a22efec65d chore(versions): publish packages 0.4.0-alpha.4 2021-04-07 17:48:47 +08:00
chenos
e72eebb8cd chore(versions): publish packages 0.4.0-alpha.3 2021-04-07 17:39:08 +08:00
chenos
c2f18763c9 chore(versions): publish packages 0.4.0-alpha.2 2021-04-07 17:12:31 +08:00
chenos
6906ccadb0 add gitHead 2021-04-07 10:41:06 +08:00
chenos
f0b335ac30 chore(versions): publish packages 0.4.0-alpha.1 2021-04-07 10:29:02 +08:00
chenos
49f71420ed chore: update npm packages 2021-04-07 09:50:00 +08:00
chenos
efb0320427 refactor(app): clean up the client code 2021-04-06 12:52:59 +08:00
chenos
6c39ac3538
Develop (#68)
* refactor: fields/views/pages...

* update

* update

* update

* updates

* updates

* add yarn.lock

* updates

* updates

* updates

* updates

* updates

* updates

* updates

* updates

* updates

* developerMode

* 一大波更新

* bugfix

* fix: hide the sorting settings

* fix: reload menu when menu is updated

* 页面重构

* modify text

* 补充细节

* system settings

* 继续更新补充

* fix: 多级菜单支持

* 无限嵌套

* fix: icon

* 省市区参数调整

* 表单描述、文案调整

* 支持草稿

* 邮箱登录

* 细节补充

* 菜单页面权限初步

* 详情页打开方式

* 菜单父级、草稿问题

* 描述文字

* 详情分组显示

* 状态改为 radio

* 菜单权限

* 跳过省市区 api

* 修复权限数据范围

* onDraft

* 页面跳转

* 修改文案

* 注册、登录

* fix: 权限过滤问题

* 微调上传组件样式

* 0.4.0-alpha.0

* father-build

* remove father-build

* 细节调整
2021-03-16 14:31:54 +08:00
Junyi
c5f089d7b7
feat: add permissions plugin (#53)
* test: skip bug test cases for ci passing

* feat: add base structure of plugin-permissions

* fix: user token parsing

* Refactor action parameter for better mergeParams (#55)

* refactor: add parameter types to handle parameters in action [WIP]

* fix: action parameter

* fix: test cases

* test: try to fix build error

* remove unused packages

* fix: revert compatibility back

Co-authored-by: chenos <chenlinxh@gmail.com>

* 补充权限界面相关功能

* bugfix

* fix: developer mode does not work

* feat: add action scope and fields limitation in permission

* 改进权限配置表单

* feat: get/update action for role.collection

* add scope select component

* add role users tabs

* typings

* test: temp skip

Co-authored-by: chenos <chenlinxh@gmail.com>
2021-01-13 16:23:15 +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
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