Commit Graph

1958 Commits

Author SHA1 Message Date
Katherine
e8c2bffe20
style(client): grid style improve (#4647)
* style: grid style improve

* refactor: remove min height for block heght

* fix: min height
2024-06-13 10:41:27 +08:00
Katherine
ecb56130cf
style: markdown block style improve (#4639) 2024-06-12 21:01:58 +08:00
GitHub Actions Bot
e45bdb7d2f chore(versions): 😊 publish v1.2.2-alpha 2024-06-12 09:56:27 +00:00
Sheldon Guo
45614c8d72
feat: support qrcode embed in markdown and scan in mobile (#4638)
* feat: workbench block

* feat: mobilePage

* fix: update WorkbenchAction

* feat: support qrcode embed in markdown and scan in mobile

* fix: fix markdown button be covered problem

* fix: fix unit test error

* fix: fix unit test errors

* refactor: use react router in qrcode scanner

* feat: markdown add loading

* fix: fix blank content in print page

* refactor: change plugin dependencies to devDependencies

* feat: add some padding in markdown editor

* chore: improve some code

* feat: improve code

* fix: add QRCodeScanner

* fix: iconColor

* fix: Improve code

* feat: Improve code

* fix: version

* chore: improve some code

* chore: improve some code

* fix: i18n

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
2024-06-12 17:47:43 +08:00
Junyi
2aa46171b2
refactor(plugin-workflow): use assigned fields for create/update node values (#4546)
* refactor(plugin-workflow): use assigned fields for create/update node values

* fix(plugin-workflow): fix schema and values when change collection

* fix(plugin-workflow): fix node form initial values

* test: fix e2e

* fix(plugin-workflow): fix add node error

* refactor(plugin-workflow): change to self host schema in node

* feat(plugin-workflow): make collection uneditable after first saved

---------

Co-authored-by: hongboji <j414562100@qq.com>
2024-06-12 15:12:31 +08:00
Katherine
aecc4a9739
fix: block height calculation (#4629)
* fix: block height calculation

* fix: test
2024-06-12 14:50:40 +08:00
GitHub Actions Bot
0d6ebe16cf chore(versions): 😊 publish v1.2.1-alpha 2024-06-12 05:15:06 +00:00
chenos
06f2df8d2e fix: update package.json 2024-06-12 13:12:50 +08:00
GitHub Actions Bot
79634179a4 chore(versions): 😊 publish v1.2.0-alpha 2024-06-12 03:39:54 +00:00
Zeke Zhang
e6848858d4
fix(filter-form): fix auto-trigger filter action without default value (#4627)
* test: add e2e test

* test: add unit tests

* fix(reset-button): prevent data clear when default values exist

* fix: resolve known issues and add tests
2024-06-12 11:07:04 +08:00
Katherine
5d48b3b5aa
fix: page freeze when handling formula field in sub-table after add,select and delete record (#4613)
* fix: page freeze when handling formula field in sub-table after add, select, and delete record

* fix: bug

* fix: bug

* refactor: code improve

* refactor: code improve

* refactor: code improve

* fix: bug

* fix: bug
2024-06-12 10:08:54 +08:00
chenos
585fea650e
feat: workbench block (#4555)
* feat: workbench block

* feat: mobilePage

* fix: update WorkbenchAction

* feat: improve code

* fix: iconColor

* fix: Improve code

* feat: Improve code

* fix: version
2024-06-12 09:40:14 +08:00
GitHub Actions Bot
c7060aeceb chore(versions): 😊 publish v1.0.1-alpha.3 2024-06-11 23:57:39 +00:00
jack zhang
a5fc22c6b0
feat: tree block (#4566)
* feat: tree block

* fix: remove showSettings

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: table tree expand

* fix: bug

* fix: connection bug T-4501

* fix: template settings bug
2024-06-11 22:53:04 +08:00
GitHub Actions Bot
092f3afab1 chore(versions): 😊 publish v1.0.1-alpha.2 2024-06-11 12:13:31 +00:00
Zeke Zhang
b97e103001
feat(filter-form): auto-trigger filter action when default values exist (#4622)
* test: add e2e test

* feat(filter-form): auto-trigger filter action when default values exist
2024-06-11 20:04:39 +08:00
Katherine
82c8bff835
fix: table block height issue with minimal data (#4617) 2024-06-11 18:10:41 +08:00
YANG QIA
0fb18b495f
fix(auth): allows to set the auth type title translation from server end (#4616)
* fix(auth): allows to set auth type title translation from server end

* chore: move tval to utils

* chore: mark deprecated

* fix: test
2024-06-11 14:25:07 +08:00
Junyi
11fcc9d7ae
fix(client): fix text wrap in variable input (#4605)
* fix(client): fix text wrap in variable input

* fix(client): revert css
2024-06-10 17:26:29 +08:00
chenos
1d2ac6b85e
fix: remove grid wrap (#4612) 2024-06-10 15:31:19 +08:00
David Fecke
328b0da846
feat(client): allow JSON5 value in Form Input of type JSONTextArea (#4600)
* feat(client): allow json5 value in form-item type json component

* test: fix tests

* chore: set json5 default as false

* chore: add demo

---------

Co-authored-by: xilesun <2013xile@gmail.com>
2024-06-10 11:09:26 +08:00
Katherine
73bf5f328d
fix: iframe block loses height when set to default (#4602)
* fix: iframe block loses height when set to default

* refactor: local improve
2024-06-08 12:57:14 +08:00
Zeke Zhang
056a126d3a
chore: fix typo (#4589) 2024-06-08 09:16:13 +08:00
GitHub Actions Bot
9218319d02 chore(versions): 😊 publish v1.0.1-alpha.1 2024-06-07 13:46:37 +00:00
Katherine
7439a663f5
fix: style issues for gridCard in mobile client (#4599)
* fix: style issiues for gridCard in mobile client

* fix: bug

* fix: bug

* fix: bug

* fix: style improve
2024-06-07 20:56:07 +08:00
Katherine
b00631ab89
fix: style issues for gridCard in mobile client (#4593)
* fix: style issiues for gridCard in mobile client

* fix: bug

* fix: bug

* fix: bug
2024-06-07 20:39:22 +08:00
Zeke Zhang
7d4ae69f08
fix(variable): should remove through collection field (#4590) 2024-06-07 14:05:39 +08:00
YANG QIA
34108f1fcb
feat(data-vi): support for using url params and current role variables (#4586)
* feat(data-vi): support for using url params and current role variable

* fix: bug
2024-06-07 11:43:11 +08:00
Zeke Zhang
837f4f4158
refactor(variable): support default value setting (#4583)
* refactor(variable): support default value setting

* chore: add e2e test for URL search params variable

* fix: resolve field linkage errors

* chore: fix unit test

* test: association select data scope linkage

---------

Co-authored-by: katherinehhh <katherine_15995@163.com>
2024-06-07 10:23:28 +08:00
Katherine
17edad6014
fix: compatibility issues with historical kanban and iframe block (#4587)
* fix: iframe params undefined

* fix: kanban fixed block

* fix: kanban fixed block

* fix: kanban fixed block

* fix: kanban fixed block
2024-06-07 10:22:13 +08:00
Zeke Zhang
4743b2b689
fix(linkage-rules): resolve issue with invalid expressions (#4580)
* fix(linkage-rules): resolve issue with invalid expressions

* test: add e2e test for expression

* refactor: extract template
2024-06-06 19:38:38 +08:00
chenos
22a89861f6
feat: url support preview (#4559)
* feat: url support preview

* feat: add settings for Input.Preview

* refactor: refactor CollectionField.tsx to use dynamic component

* Revert "refactor: refactor CollectionField.tsx to use dynamic component"

This reverts commit 37719eb28e.

* test: add e2e test

* refactor(e2e): extract template

---------

Co-authored-by: Zeke Zhang <958414905@qq.com>
2024-06-06 14:11:10 +08:00
Katherine
74a5090ae8
fix: correct precision conversion error for Unix timestamp in readPretty (#4569) 2024-06-06 09:27:57 +08:00
Junyi
15424f4c88
fix(client): fix action props (#4568) 2024-06-05 20:43:19 +08:00
Zeke Zhang
cdd98c91bf chore(e2e): optimize e2e test 2024-06-05 18:02:47 +08:00
ChengLei Shao
2063227f4a
refactor: export & import plugin (#4468)
* feat: chunk method in repository

* chore: xlsx export test

* chore: xlsx export

* chore: export action

* chore: export action

* chore: code

* feat: database interface manager

* feat: export with ui schema

* chore: console.log

* chore: export with china region field

* chore: export with attachments

* chore: export with multiple select

* chore: export with interface

* chore: export action

* fix: export with datetime file

* chore: limit export action running in same time

* chore: yarn.lock

* fix: render json value

* chore: chunk with limit

* feat: add EXPORT_LIMIT env config

* fix: typo

* fix: type

* chore: asyn mutex version

* chore: test

* chore: test

* fix: export null value

* chore: test

* chore: createdAt test

* fix: export with createdAt

* chore: import template

* chore: xlsx importer

* chore: import run

* chore: export with data source api

* chore: toValue api in interface

* fix: build

* chore: import with transaction

* fix: build database

* chore: many to one interface

* chore: code

* chore: import with associations

* chore: default toValue

* chore: import template with explain

* chore: import with explain template

* chore: reset id seq after import

* chore: download template action

* fix: database build

* fix: build

* fix: build

* fix: test

* chore: import with number field

* chore: import with boolean field

* chore: json interface

* chore: import action

* chore: typo

* chore: i18n

* chore: select interface

* chore: china region interface

* chore: datetiem field

* chore: cast to array

* fix: import tips

* chore: import await

* fix: test

* fix: test in mariadb

* chore: comments

* chore: comments

* fix: parse date with empty string

* fix: read import limit

* fix: type

* fix: test in mariadb

* chore: skip bigint test in sqlite

* chore: skip bigint test in sqlite

* chore: download tip i18n keys

* fix: download tips

* feat(client): add new variable named 'URL search params' and support link action (#4506)

* feat: support link action

* feat(client): add new variable named 'URL search params'

* chore: add translation

* fix: avoid crashing

* chore: fix failed test

* feat: link action

* feat: link action

* fix: remove filter parameters with undefined values

* feat: link action

* feat: add support for default values in filter form fields

* refactor: code improve

* refactor: locale improve

* refactor: locale improve

* test: add e2e test

* refactor: locale improve

* refactor: locale improve

* fix: resolve operation issues with variables

* refactor: code improve

* chore: enable direct selection of variables as default value

* chore: use qs to parse query string

* fix: menu selectKeys (T-4373)

* refactor: use qs to stringify search params

* refactor: locale improve

* refactor: locale improve

* chore: fix failed tests

* fix: resolve issue where setting Data scope is not work

* chore: fix failed e2e tests

* chore: make e2e tests more stable

* chore: add translation

* chore: make e2e tests more stable

* fix: resolve the issue of error when saving data scope

* feat: trigger variable parsing after context change

* test: add unit tests

* test: add e2e test

* refactor: extract template

* chore: fix failed unit tests

* chore: fix failed e2e test

* fix(Link): hide linkage rules in top link (T-4410)

* fix(permission): remove URL search params variable from data scope

* chore: make more stable

* chore: make e2e test more stable

* fix(Link): reduce size for variable

* fix: clear previous context (T-4449)

* fix(calendar, map): resolve initial data scope setting error (T-4450)

* fix: correct concatenation of query string (T-4453)

---------

Co-authored-by: katherinehhh <katherine_15995@163.com>
Co-authored-by: jack zhang <1098626505@qq.com>

* refactor(FormV2): add FormWithDataTemplates component (#4551)

* Revert "fix(client): fix data template style (#4536)"

This reverts commit db66090ab2.

* refactor(FormV2): add FormWithDataTemplates component

* chore: fix failed e2e tests

* chore: make e2e test more stable

* chore: import warning i18n

* chore: import warning i18n

* fix: bug

* fix: export action loading

* fix: bug

* chore: map field interface

* fix: merge bug

---------

Co-authored-by: xilesun <2013xile@gmail.com>
Co-authored-by: Zeke Zhang <958414905@qq.com>
Co-authored-by: katherinehhh <katherine_15995@163.com>
Co-authored-by: jack zhang <1098626505@qq.com>
2024-06-05 17:52:43 +08:00
Katherine
1cc35e1ef5
fix: styling issues during field drag-and-drop in details/form/list block (#4558)
* fix: styling issues during field drag-and-drop in details/form/list block

* refactor: code improve

* refactor: code improve

* refactor: code improve
2024-06-05 16:50:18 +08:00
Zeke Zhang
1dc6a25aa4
chore(e2e): make e2e tests more stable (#4565)
* chore(e2e): make e2e tests more stable

* fix(e2e): add immediate param for clearBlockTemplates
2024-06-05 16:44:47 +08:00
YANG QIA
af1325f055
fix(l10n): i18n namespace of page title (#4557) 2024-06-05 15:38:16 +08:00
Katherine
ec15f9e35a
feat: iframe support variables (#4512)
* feat: support link action

* feat(client): add new variable named 'URL search params'

* chore: add translation

* fix: avoid crashing

* chore: fix failed test

* feat: link action

* feat: link action

* fix: remove filter parameters with undefined values

* feat: link action

* feat: add support for default values in filter form fields

* refactor: code improve

* refactor: locale improve

* refactor: locale improve

* test: add e2e test

* refactor: locale improve

* refactor: locale improve

* fix: resolve operation issues with variables

* refactor: code improve

* chore: enable direct selection of variables as default value

* chore: use qs to parse query string

* feat: iframe support variables

* fix: menu selectKeys (T-4373)

* feat: iframe support variables

* refactor: use qs to stringify search params

* refactor: locale improve

* refactor: locale improve

* chore: fix failed tests

* fix: bug

* fix: resolve issue where setting Data scope is not work

* chore: fix failed e2e tests

* chore: make e2e tests more stable

* chore: add translation

* chore: make e2e tests more stable

* fix: resolve the issue of error when saving data scope

* feat: trigger variable parsing after context change

* test: add unit tests

* test: add e2e test

* refactor: extract template

* chore: fix failed unit tests

* chore: fix failed e2e test

* fix: bug

* fix: bug

* fix(Link): hide linkage rules in top link (T-4410)

* fix: bug

* fix: bug

* fix: bug

* refactor: extract commonOptions

* fix: remove 'Current record' variable

* chore: fix unit tests

* fix: bug

* chore: make unit tests pass

* fix: fix build

* fix(e2e): resolve errors due to compilation issues

---------

Co-authored-by: Zeke Zhang <958414905@qq.com>
Co-authored-by: jack zhang <1098626505@qq.com>
2024-06-05 15:25:04 +08:00
Junyi
924a328501
fix(client): fix upload logo in system settings (#4564) 2024-06-05 14:50:55 +08:00
Junyi
3f8ab46dc1
fix(plugin-fm): fix attachment component selectable check (#4563) 2024-06-05 14:50:38 +08:00
Junyi
d7866a6b51
fix(client): fix waring props (#4562) 2024-06-05 14:49:49 +08:00
Junyi
8cc5ad2abf
fix(plugin-fm): fix page crash when 413 in local dev (#4560) 2024-06-05 13:46:34 +08:00
Zeke Zhang
2dfa7a2625 Revert "chore: make e2e tests more stable"
This reverts commit 46f219f0cc.
2024-06-05 12:41:19 +08:00
Zeke Zhang
46f219f0cc chore: make e2e tests more stable 2024-06-05 10:02:42 +08:00
Zeke Zhang
bab5d40dbe
refactor(FormV2): add FormWithDataTemplates component (#4551)
* Revert "fix(client): fix data template style (#4536)"

This reverts commit db66090ab2.

* refactor(FormV2): add FormWithDataTemplates component

* chore: fix failed e2e tests

* chore: make e2e test more stable
2024-06-04 21:35:37 +08:00
Zeke Zhang
f66edb5d27
feat(client): add new variable named 'URL search params' and support link action (#4506)
* feat: support link action

* feat(client): add new variable named 'URL search params'

* chore: add translation

* fix: avoid crashing

* chore: fix failed test

* feat: link action

* feat: link action

* fix: remove filter parameters with undefined values

* feat: link action

* feat: add support for default values in filter form fields

* refactor: code improve

* refactor: locale improve

* refactor: locale improve

* test: add e2e test

* refactor: locale improve

* refactor: locale improve

* fix: resolve operation issues with variables

* refactor: code improve

* chore: enable direct selection of variables as default value

* chore: use qs to parse query string

* fix: menu selectKeys (T-4373)

* refactor: use qs to stringify search params

* refactor: locale improve

* refactor: locale improve

* chore: fix failed tests

* fix: resolve issue where setting Data scope is not work

* chore: fix failed e2e tests

* chore: make e2e tests more stable

* chore: add translation

* chore: make e2e tests more stable

* fix: resolve the issue of error when saving data scope

* feat: trigger variable parsing after context change

* test: add unit tests

* test: add e2e test

* refactor: extract template

* chore: fix failed unit tests

* chore: fix failed e2e test

* fix(Link): hide linkage rules in top link (T-4410)

* fix(permission): remove URL search params variable from data scope

* chore: make more stable

* chore: make e2e test more stable

* fix(Link): reduce size for variable

* fix: clear previous context (T-4449)

* fix(calendar, map): resolve initial data scope setting error (T-4450)

* fix: correct concatenation of query string (T-4453)

---------

Co-authored-by: katherinehhh <katherine_15995@163.com>
Co-authored-by: jack zhang <1098626505@qq.com>
2024-06-04 20:57:03 +08:00
Katherine
0b8f762d8b
feat: data block support setting block height (#4441)
* feat: data block support setting block height

* feat: form block support setting block height

* feat: form block support setting block height

* feat: detail block height

* test: fix

* fix: bug

* feat: grid card support block height

* feat: kanban support block height

* feat: kanban support block height

* feat: calender support block height

* feat: calender support block height

* feat: map support block height

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* test: skip

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* refactor: blockinitializers style improve

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* refactor: code improve

* refactor: code improve

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* refactor: code improve

* refactor: code improve

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* refactor: code improve

* refactor: code improve

* fix: test

* fix: test

* fix: test
2024-06-04 17:32:01 +08:00
YANG QIA
9b7abf7295
feat(logger): support for collecting debug informations when rendering failed (#4524)
* feat(logger): support for collecting debug informations when rendering failed

* chore: update

* feat: add location information

* fix: test

* fix: test

* fix: tests

* fix: bug
2024-06-04 12:10:17 +08:00
Katherine
e842cd4cab
fix: data filtering and formula field value errors after subtable record selection (#4547)
* fix: data filter issue after selecting records in subtable

* fix: bug

* fix: bug

* fix: bug

* fix: bug
2024-06-04 11:05:42 +08:00
Katherine
1b1930b328
fix: show cascade select when no data in edit form (#4543) 2024-06-03 14:30:18 +08:00
Zeke Zhang
63f71994ab
test(block-templates): add test cases (#4540) 2024-06-02 18:52:04 +08:00
Zeke Zhang
773f05dcd2
feat(client): adjust toolbar for Table Actions (#4538)
* feat(client): adjust toolbar for Table Actions

* chore: ensure backward compatibility

* chore: update e2e tests

* chore: fix fialed unit tests

* Revert "chore: update e2e tests"

This reverts commit 0a70171687.

* chore: update e2e tests

* chore: update e2e tests

* chore: don't forget to revert me

* chore: update e2e tests

* chore: update e2e tests

* Revert "chore: don't forget to revert me"

This reverts commit 29a51dff28.

* chore: update timeout and retries in defineConfig

* chore: make e2e tests more stable

* chore: make e2e tests more stable
2024-06-02 17:42:09 +08:00
dependabot[bot]
6bc3f7a540
chore(deps): bump sanitize-html from 2.10.0 to 2.13.0 (#4505)
Bumps [sanitize-html](https://github.com/apostrophecms/sanitize-html) from 2.10.0 to 2.13.0.
- [Changelog](https://github.com/apostrophecms/sanitize-html/blob/main/CHANGELOG.md)
- [Commits](https://github.com/apostrophecms/sanitize-html/compare/2.10.0...2.13.0)

---
updated-dependencies:
- dependency-name: sanitize-html
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-01 18:36:28 +08:00
Zeke Zhang
db66090ab2
fix(client): fix data template style (#4536) 2024-06-01 10:58:24 +08:00
Katherine
dc309cbab5
fix: prevent deletion of entire association field when removing the last column in subtable (#4518)
* fix: prevent deletion of entire association field  when removing the last column in subtable

* fix: node version

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
2024-05-31 00:03:15 +08:00
jack zhang
285f719f9f
fix: table borded (#4534)
* fix: table borded

* fix: unit test
2024-05-30 18:35:20 +08:00
Zeke Zhang
803ea80e4b
fix(client): fix the issue where adding block templates in the popup does not display (#4531)
* chore: avoid crashing

* fix(client): fix the issue where adding block templates in the popup does not display
2024-05-30 17:45:35 +08:00
jack zhang
d83c102492
Fix/initializer improve (#4533)
* fix: imporve code

* fix: test bug
2024-05-30 17:20:09 +08:00
YANG QIA
950495c292
fix(i18n): fix i18n namespace for collection titles (#4530) 2024-05-30 15:35:07 +08:00
Katherine
38fa7f8f03
fix: disable cascading select component for association field in subtable (#4517) 2024-05-30 14:42:56 +08:00
Katherine
9e8335572a
fix: association field enablement affecting block field states (#4528) 2024-05-30 14:42:28 +08:00
Junyi
04449fa486
fix(client): fix deep association select in AppendsTreeSelect component (#4526) 2024-05-30 09:11:34 +08:00
jack zhang
8323c978fc
fix: table drag error (#4511) 2024-05-29 22:46:36 +08:00
Zeke Zhang
b43f896882
fix(client): fix the issue where setting default values using variabl… (#4521)
* fix(client): fix the issue where setting default values using variables in the sub-table is not work

* test: add unit tests
2024-05-29 17:27:29 +08:00
Katherine
6a9d39f25d
fix: update form submit action missing linkageRules setting (#4515) 2024-05-29 13:47:00 +08:00
Zeke Zhang
e03b5b873b
chore: add group title to Table item action settings (#4516) 2024-05-29 13:08:53 +08:00
Junyi
fb2504257b
fix(client): fix Variable.TextArea style (#4513) 2024-05-29 13:02:30 +08:00
Junyi
1dc7a39780
feat(plugin-fm): make rules configurable (#4118)
* feat(plugin-fm): make rules configurable

* fix(client): fix upload test cases

* refactor(client): remove dulicated code

* refactor(client): upload component

* refactor(client): remove a lot of duplicated code

* fix(client): fix upload in system settings

* fix(client): fix test case

* fix(client): fix test case

* fix(client): fix test case

* chore: update yarn.lock

* fix(client): fix test case

* fix: api mock

* refactor(client): refactor hooks

* docs(client): add demo code

* fix: ci

* fix(client): fix import package

* fix: filesize

* fix(client): fix upload component

* fix(client): deprecate preview component and move to file-manager

* fix(plugin-fm): fix storage changes in attachment field and locales

* refactor(plugin-fm): add migration for attachment field storage

* test(plugin-fm): add test case

* feat(plugin-fm): add storage size component

* fix(plugin-fm): fix component

* refactor(plugin-fm): adjust constant

* fix(plugin-fm): fix default local size limit

* fix(plugin-fm): fix test cases

* fix(plugin-fm): fix test case

* fix(plugin-fm): fix rule hook

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
2024-05-29 09:33:23 +08:00
YANG QIA
98a8e687b1
feat(client): refining error fallback for different components when catching errors (#4459)
* feat(client): refining error fallback for different components when catching errors

* fix: build

* refactor: `ErrorFallback.Inline` to `ErrorFallback.Modal`

* feat: toolbar error fallback

* chore: add deprecated comment

* fix: useSchemaToolbarRender
2024-05-28 13:26:38 +08:00
Katherine
9528da51be
refactor: remove all frontend checks for isForeignKey (#4499)
* refactor: remove all frontend checks for isForeignKey

* fix: bug
2024-05-27 21:21:40 +08:00
YANG QIA
0adf5fb6b7
chore(auth): change char length limit of username to 1-50 (#4502) 2024-05-27 17:39:39 +08:00
Katherine
02ebede15a
fix: sub-table support allowAddNew setting (#4498) 2024-05-27 16:48:01 +08:00
GitHub Actions Bot
53eb054848 chore(versions): 😊 publish v1.0.0-alpha.17 2024-05-27 06:44:39 +00:00
Zeke Zhang
13362dab25
fix: optimize data scope variable in permission configuration (#4484)
* fix: optimize data scope variable in permission configuration

* test: add e2e test

* chore: fix failed e2e

* fix: optimize data scope variable in permission configuration

* chore: skip weird test
2024-05-27 12:09:28 +08:00
Katherine
a3e47832a6
refactor: form linkage rule to cancel assignment when multiple fields are selected (#4492) 2024-05-27 11:51:04 +08:00
GitHub Actions Bot
2e7744f85c chore(versions): 😊 publish v1.0.0-alpha.16 2024-05-27 01:28:10 +00:00
Katherine
8a863226f2
fix: numeric field display issue in form linkage rule (#4482)
* fix:  numeric field display issue in form linkage rule

* fix: bug
2024-05-26 07:37:29 +08:00
Zeke Zhang
cece85b335
fix(subTable): prevent setting default value for fields that have been unmounted (#4475) 2024-05-23 23:39:45 +08:00
Katherine
11343bc9be
fix: missing app context in modal (#4457)
* fix: useCurrentFormVariable

* test: table action row action linkage by row data

* test: detail block support linkage rule

* test: detail block support linkage rule

* test: detail block support linkage rule

* fix: missing app context in modal
2024-05-23 09:33:55 +08:00
Zeke Zhang
f6d56a9cb3
chore: avoid misoperation of date variables (#4452) 2024-05-22 21:21:06 +08:00
chenos
1e230ecbc2 fix(client): remove the "you are offline" prompt 2024-05-22 13:54:35 +08:00
chenos
d6d3cac0eb fix(client): unstated lru-cache dependency 2024-05-22 09:24:03 +08:00
Zeke Zhang
cedb5046dd
fix(core): support selecting the first level of variables as the default value (#4439) 2024-05-22 08:43:32 +08:00
Katherine
3f14a9b24d
fix: table row action linkage rule defect error (#4436)
* fix: useCurrentFormVariable

* test: table action row action linkage by row data

* test: detail block support linkage rule

* test: detail block support linkage rule

* test: detail block support linkage rule
2024-05-21 21:21:08 +08:00
Katherine
7b8a86350a
fix: error in deleting data query after block linkage filtering (#4434) 2024-05-21 17:44:33 +08:00
Zeke Zhang
1291d5437c
docs(client): should name SchemaInitializer starting with a lowercase letter (#4432)
* docs(client): the name of the SchemaInitializer should start with a lowercase letter

* chore: to identify and correct one's shortcomings
2024-05-21 14:53:15 +08:00
GitHub Actions Bot
4f3a3c0931 chore(versions): 😊 publish v1.0.0-alpha.15 2024-05-21 02:53:07 +00:00
Katherine
60ac758b68
refactor: the default accuracy of the UnixTimestamp field is second (#4418)
* refactor: the default accuracy of the UnixTimestamp field is second

* refactor: the default accuracy of the UnixTimestamp field is second

* fix: bug
2024-05-21 10:31:01 +08:00
Katherine
304f87bee2
fix: useCurrentFormVariable (#4428)
* refactor: useCurrentFormVariable support detail block

* fix: useCurrentFormVariable

* fix: bug
2024-05-20 20:55:30 +08:00
Zeke Zhang
ef8e4aed48
fix(filter-form): fix operator not valid in block templates (#4390)
* fix(filter-form): fix operator not valid in block templates

* test: add e2e test

* test: clear data templates

* chore: fix e2e tests

* chore: stash

* chore: change import path to fix unit tests

* chore: change import path to fix unit tests

* chore: fix build
2024-05-20 16:50:34 +08:00
Katherine
a5ede09a2a
fix: custom request action should support linkage rule setting (#4410) 2024-05-20 15:01:10 +08:00
CzBiX
570a265e57
fix: Fix typo in link target (#4416)
Co-authored-by: Zeke Zhang <958414905@qq.com>
2024-05-20 13:57:21 +08:00
Zeke Zhang
f236e6d29d
fix: change License link (#4415) 2024-05-20 13:42:54 +08:00
chenos
e24dd01a4c
feat: add process.env.API_CLIENT_STORAGE_PREFIX (#4395)
* feat: add process.env.API_CLIENT_STORAGE_PREFIX

* fix: test error

* fix: process.env.API_CLIENT_STORAGE_PREFIX
2024-05-19 12:22:04 +08:00
Zeke Zhang
49d0082b16
fix(theme-editor): form field spacing should not be affected by token.marginBlock (#4374)
* chore: add comment

* fix(plugin-theme-editor): form field spacing should not be affected by token.marginBlock

* fix: fix grid layout styling issue in Form component

* fix: fix failed test
2024-05-18 18:56:11 +08:00
Junyi
69b3cfabb0
fix(plugin-workflow-action-trigger): fix hint (#4383) 2024-05-18 12:11:21 +08:00
ChengLei Shao
3d000d395e
chore: split sql collection (#3650)
* chore: split sql collection

* chore: package json

* chore: test

* chore: build

* chore: move sql resourcer into plugin-collection-sql

* fix: server

* fix: ast parser, fix T-4236

* fix: fix T-4236

* fix: fields

* fix: test

* fix: test

* fix: test

* fix: test

* chore: add keyword

* chore: node sql parser version

* chore: yarn.lock

* fix: types

* fix: remove column named `*`

* fix: package.json

* fix: version

* chore: update homepage

---------

Co-authored-by: xilesun <2013xile@gmail.com>
2024-05-17 15:39:01 +08:00
Katherine
caffcc4b9b
refactor: tree collection support presetFieldsDisabledIncludes (#4371)
* refactor: tree collection presetFieldsDisabled

* refactor: tree collection support presetFieldsDisabledIncludes
2024-05-17 14:28:09 +08:00
Zeke Zhang
ec558e3b98
refactor: flatten and merge Actions (#4336)
* chore: remove switch

* refactor: ensure compatibility with old code

* refactor: flatten Actions

* refactor: extract options

* refactor: remove isCusomeizeCreate

* refactor: merge addNew and addRecord actions

* refactor: merge Submit and Save record actions

* refactor: extract common options

* feat: add tow props called 'currentText' and 'otherText'

* chore: fix failed tests

* refactor: add ActionInitializerItem to replace ActionInitializer

* chore: fix failed tests

* fix: fix T-4284

* fix: fix inherit

* chore: fix failed test

* chore: add Switch

* chore: add Switch for delete button

* test: e2ePageObjectModel

---------

Co-authored-by: hongboji <j414562100@qq.com>
2024-05-17 09:37:23 +08:00
Katherine
779029e348
fix: accuracy loss in bigint field read pretty (#4360)
* fix: accuracy loss in bigint field read pretty

* fix: accuracy loss in bigint field read pretty

* fix: accuracy loss in bigint field read pretty

* fix: accuracy loss in bigint field read pretty

* fix: accuracy loss in bigint field read pretty

* test: intege test

* test: color test
2024-05-17 08:32:21 +08:00
GitHub Actions Bot
0399272664 chore(versions): 😊 publish v1.0.0-alpha.14 2024-05-16 13:53:55 +00:00
Junyi
6e9ca10644
fix(plugin-workflow-request): fix value fields overflowing (#4354) 2024-05-15 18:38:28 +08:00
Katherine
c293929daa
fix: table column should support blank column occupancy (#4350)
* fix: table column

* fix: table column
2024-05-14 20:59:54 +08:00
Junyi
21ab4c5d45
fix(plugin-workflow): fix bind hint based on event type (#4349)
* fix(plugin-workflow): fix bind hint based on event type

* fix(plugin-workflow): fix bind hint based on event type
2024-05-14 17:20:23 +08:00
GitHub Actions Bot
3e7d85b8fa chore(versions): 😊 publish v1.0.0-alpha.13 2024-05-14 09:18:26 +00:00
jack zhang
3e49ffb204
fix: demo bug (#4348) 2024-05-14 16:49:05 +08:00
dependabot[bot]
cbcf476304
chore(deps): bump markdown-it and @types/markdown-it (#4343)
Bumps [markdown-it](https://github.com/markdown-it/markdown-it) and [@types/markdown-it](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/markdown-it). These dependencies needed to be updated together.

Updates `markdown-it` from 13.0.1 to 14.1.0
- [Changelog](https://github.com/markdown-it/markdown-it/blob/master/CHANGELOG.md)
- [Commits](https://github.com/markdown-it/markdown-it/compare/13.0.1...14.1.0)

Updates `@types/markdown-it` from 12.2.3 to 14.1.1
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/markdown-it)

---
updated-dependencies:
- dependency-name: markdown-it
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: "@types/markdown-it"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-14 08:57:37 +08:00
jack zhang
6f4c884799
fix: block error can delete (#4329)
* fix: block error can delete

* fix: test bug
2024-05-13 21:28:02 +08:00
GitHub Actions Bot
52a893f989 chore(versions): 😊 publish v1.0.0-alpha.12 2024-05-13 00:44:13 +00:00
katherinehhh
31b410dd69
fix: create tree collection field (#4321) 2024-05-12 20:25:28 +08:00
Zeke Zhang
e96afd09e4
chore: test e2e CI (#4314)
* chore: test CI

* chore: run build CI

* chore: test

* chore: test

* chore: test

* chore: test

* chore: test

* chore: test

* chore: reduce timeout-minutes for e2e

* chore: use cancelled insted of always

* refactor: split files

* chore: split jobs

* refactor: split files

* refactor: split files

* chore: better comment

* chore: test

* chore: test

* chore: install glob

* chore: test

* chore: test all

* chore: fix failed tests

* chore: fix tests
2024-05-11 20:51:32 +08:00
katherinehhh
cff530acac
test: e2e test (#4316)
* test: detail block linagerule test

* test: popup e2e test

* test: column fixed
2024-05-11 14:31:41 +08:00
GitHub Actions Bot
fcd368cee3 chore(versions): 😊 publish v1.0.0-alpha.11 2024-05-11 05:27:54 +00:00
GitHub Actions Bot
814d5cb2d2 chore(versions): 😊 publish v1.0.0-alpha.10 2024-05-11 01:02:08 +00:00
Zeke Zhang
df0d3ddee3
perf(e2e): reduce e2e runtime (#4280)
* chore: reuse page instance

* refactor: optimize

* chore: revert

* chore: ignore workflows

* chore: upgrade playwright to 1.44.0

* chore: fix failed tests

* refactor: optimize e2eUtils

* chore: make tests pass

* chore: optimize workflow for e2e

* chore: fix fialed tests

* chore: optimize workflows

* chore: optimize

* chore: fix path

* chore: fix

* chore: test

* chore: fix

* chore: test

* chore: test

* chore: add bot for e2e

* chore: wait to revert

* chore: wait to revert

* chore: fix

* chore: fix

* chore: fix bot

* chore: test

* chore: ignore pro-plugins on PR author is not member

* chore: optimize

* chore: test

* chore: test

* chore: test bot

* chore: remove title link

* chore: fix

* chore: fix error and cache yarn

* chore: optimize md

* chore: add new workflows
2024-05-10 20:51:11 +08:00
katherinehhh
e2922bed9e
fix: linkage rule fireImmediately should be true (#4303)
* fix: linkagerule fireImmediately

* test: test improve

* fix: bug
2024-05-10 20:33:38 +08:00
jack zhang
9e04f405dc
fix: support admin.xx static (#4304) 2024-05-10 08:49:04 +08:00
GitHub Actions Bot
9ecdf9bc08 chore(versions): 😊 publish v1.0.0-alpha.9 2024-05-09 15:13:48 +00:00
GitHub Actions Bot
d57ebbdb44 chore(versions): 😊 publish v1.0.0-alpha.8 2024-05-09 08:31:49 +00:00
Junyi
893f27fead
feat(plugin-workflow-request): support "application/x-www-form-urlencoded" type (#4296)
* feat(plugin-workflow-request): support application/x-www-form-urlencoded type

* fix(plugin-workflow-request): avoid nullable body
2024-05-09 16:11:58 +08:00
GitHub Actions Bot
24590cdd74 chore(versions): 😊 publish v1.0.0-alpha.7 2024-05-09 08:09:31 +00:00
Junyi
65f8bd48ae
fix(plugin-workflow-custom-action-trigger): fix locales (#4298) 2024-05-09 14:58:46 +08:00
katherinehhh
4522dd09f3
style: add child action style improve (#4289)
* style: add child style improve

* refactor: tree table

* fix: bug

* refactor: code improve
2024-05-09 14:25:15 +08:00
katherinehhh
8afe119ac9
fix: configure data scope in action permission reporting error (#4301) 2024-05-09 13:57:57 +08:00
jack zhang
9740bf89ba
fix: bug (#4300) 2024-05-09 12:00:50 +08:00
katherinehhh
c9c14df4f0
fix: association collection field should not support sortable (#4288)
* fix: association collection  field should not support sortable

* fix: association collection  field should not support sortable
2024-05-09 11:44:20 +08:00
jack zhang
7fc8af7e7b
Fix/doc multi lang change (#4299)
* fix: doc lang change

* fix: home site
2024-05-09 10:53:01 +08:00
Junyi
e67fe2038f
feat(client): add hidden option to interface (#4279) 2024-05-09 10:35:53 +08:00
katherinehhh
68a0c96fd0
feat: table column support fixed right or fixed left (#4260)
* feat: table column support fixed right or fixed left

* fix: bug

* fix: bug

* fix: bug

* fix: bug
2024-05-09 10:07:55 +08:00
jack zhang
2014729e01
fix: collection field support x-use-component-props (#4264)
* fix: collection field support x-use-component-props

* fix: bug

* fix: bug
2024-05-09 09:21:58 +08:00
jack zhang
1e5e015b73
fix: update doc demos (#4262)
* fix: update doc demos

* fix: change docs demo

* fix: bug

* fix: build bug

* fix: add english docs

* fix: add component english doc

* fix: lang change
2024-05-09 09:21:36 +08:00
Junyi
cafaa82a94
refactor(plugin-workflow): migrate directly action trigger to custom action trigger (#4253)
* refactor(plugin-workflow): migrate directly action trigger to custom action trigger

* test(plugin-workflow-action-trigger): skip legacy test case

* chore(plugin-workflow-action-trigger): adjust locale

* chore(plugin-workflow-action-trigger): adjust locale

* chore(plugin-workflow-action-trigger): match version for migration
2024-05-09 08:34:29 +08:00
jack zhang
077efebdf0
feat: support mobile iframe block and toolbar props (#4292) 2024-05-08 23:51:32 +08:00
chenos
1604a4fdb6
fix: missing toolbar props (#4291) 2024-05-08 23:47:11 +08:00
katherinehhh
3074dbcb67
fix: actionSchemaToolbar support x-toolbar-props (#4286)
* fix: actionSchemaToolbar support x-toolbar-props

* fix: bug
2024-05-08 15:36:54 +08:00
katherinehhh
f1923d25cd
refactor: external data source view collection createMainOnly (#4287) 2024-05-08 14:47:37 +08:00
katherinehhh
d787edfb47
feat: add Gantt and Kanban blocks in pop ups/drawers (#4277)
* feat: add Gantt  and Kanban blocks in pop ups/drawers

* feat: add Gantt  and Kanban blocks in pop ups/drawers

* fix: bug

* fix: bug

* fix: bug

* fix: bug
2024-05-08 10:16:39 +08:00
Zeke Zhang
1ce5d76b7e chore: fix failed e2e 2024-05-07 21:47:57 +08:00
katherinehhh
61ac914772
fix: association select report Maximum call stack size exceeded in sub-table (#4278) 2024-05-07 21:03:10 +08:00
chenos
a2d8870fdf chore(versions): 😊 publish v1.0.0-alpha.6 2024-05-07 16:49:53 +08:00
katherinehhh
2ec128c63f
feat: detail block support linkage rule (#4221)
* feat: detail block support linkage rule

* fix: bug

* fix: bug

* test: e2e test
2024-05-07 09:45:28 +08:00
katherinehhh
0214bb915e
fix: bulk delete collection field should not close modal (#4263) 2024-05-07 09:44:55 +08:00
chenos
3c3e68acdc chore(versions): 😊 publish v1.0.0-alpha.5 2024-05-07 08:59:58 +08:00
katherinehhh
3651c6ccca
fix: switch date field of the linkage rule from expression to constant value display Invalid Date (#4251) 2024-05-06 14:01:53 +08:00
katherinehhh
0602bb9ab8
fix: collection fields should refreshed after editing sync from database (#4224)
* fix: collection fields table should refreshed after editing collection field

* fix: bug
2024-05-05 22:41:54 +08:00
chenos
7d24e11229 chore(versions): 😊 publish v1.0.0-alpha.4 2024-05-02 10:40:08 +08:00
Junyi
f3e39f6f05
fix(client): fix error log in variable component (#4248) 2024-04-30 21:58:34 +08:00
jack zhang
95fef86880
client components (#4216)
* docs: update docs components

* docs: add more component docs

* docs: add more docs

* fix: add more docs

* fix: build bug

* feat: docs

* fix: build error

* fix: docs

* fix: change x-read-pretty to x-patten

* fix: upgrade docs and types

* fix: build bug

* fix: add more docs

* fix: build bug

* fix: cascader component

* fix: bug

* fix: add more docs

* fix: add backend ci time

---------

Co-authored-by: katherinehhh <katherine_15995@163.com>
2024-04-30 21:21:17 +08:00