Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sync: hosted cloud #969

Merged
merged 839 commits into from
Jun 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
839 commits
Select commit Hold shift + click to select a range
8dd120e
fix: View locks cause field filtering to fail. (#4984)
JaneSu May 12, 2023
5966514
fix: NEXT_PUBLIC_PUBLIC_URL env undefined (#4986)
wangkailang May 12, 2023
d61b0ed
fix: dataPack recordIds param parsing error (#4987)
arucil May 12, 2023
db52544
Feat/embed form (#4989)
May 12, 2023
07d06a8
feat: redis enable ssl (#4951)
zoe-icu May 12, 2023
d8c01f3
chore: home login page configuration
mr-kelly May 12, 2023
b444a80
fix: getEnvVars add LOGIN_MOTTO
mr-kelly May 12, 2023
3df44a9
feat: <title>APITable</title> customizable
mr-kelly May 12, 2023
e5e4007
Merge branch 'develop' of github.com:vikadata/vikadata into develop
mr-kelly May 12, 2023
55021b5
fix: The pricing page supports trial judgment (#5001)
JaneSu May 15, 2023
71dded3
Merge commit 'cb3197e5531688200e8e713a666eb265c84a80d0' into develop
May 15, 2023
11bbe96
chore: test automation queue (#5008)
Itou-Ng May 15, 2023
9df8805
chore: api usage support skip query (#5009)
ChambersChan May 15, 2023
cfe5696
fix: remove duplicate code
ChambersChan May 15, 2023
f32c53d
Merge branch 'develop' into sync/apitable-230515
May 15, 2023
f18c1bf
chore: merge release/0.21.0 into develop (#4973)
shawndenggh May 15, 2023
b362cad
chore: delete OFFICIAL_SERVICE_SLUG (#5014)
Itou-Ng May 15, 2023
dd634d4
fix: develop merge to test (#5018)
Itou-Ng May 15, 2023
a561949
fix: update brand og title (#5011)
May 15, 2023
8de5320
Fix/embed robot bugfix (#5019)
May 15, 2023
b2129d7
fix: type bug
May 15, 2023
191fb90
fix: pricing disappear (#5030)
JaneSu May 16, 2023
b60d6b5
fix: lint warning format (#5032)
wangkailang May 16, 2023
073cdf5
feat: support rewardful coupon (#5010)
JaneSu May 16, 2023
7cba0bb
fix: check old active key cache (#5035)
wangkailang May 16, 2023
00e6f7e
fix: capacity reward modal style
Sky-FE May 16, 2023
8bdad93
Merge branch 'release/0.21.0' into fix/attachment-capacity-modal-style
Sky-FE May 16, 2023
7998169
fix: check upload attachment file size (#5013)
zoe-icu May 16, 2023
ab4fe69
fix: add empty string to select field error (#5036)
zoe-icu May 16, 2023
8698ad4
Merge branch 'develop' into fix/mind-member-error-and-replace-vika-logo
xukecheng May 16, 2023
674d288
fix: when the filter condition of the widget filter single-select fie…
Sky-FE May 16, 2023
5d32ba3
feat: upgrade liquibase version for support linux/arm64 machine (#5047)
shawndenggh May 16, 2023
3c56e97
fix: when the logo of the form is changed, the preview image is disto…
Sky-FE May 16, 2023
0a2a366
Merge branch 'release/0.21.0' into fix/form-upload-img-style
Sky-FE May 16, 2023
d02ac95
chore: merge release into develop (#5056)
shawndenggh May 17, 2023
8c023cb
chore: add env (#5050)
JaneSu May 17, 2023
e5aab73
fix: member information hiding invalid (#5059)
ChambersChan May 17, 2023
fbf9e94
feat: add config for give feedback on translation
May 17, 2023
245b481
fix: remove unused func (#5066)
wangkailang May 17, 2023
e2b3f2c
fix: correct typo in strings (#5075)
May 17, 2023
a42d361
feat: support rewardful coupon (#5010) (#5095)
JaneSu May 18, 2023
99e9582
fix: form logo ui (#5081)
wangkailang May 18, 2023
479b1f0
Merge branch 'develop' into wmevie/feat-5005
Sky-FE May 18, 2023
8fd4f2c
fix: user card name (#5117)
May 18, 2023
29c86c7
fix: switch space lost search params (#5119)
JaneSu May 18, 2023
5341000
Revert fix: mind member error and replace vika logo (#5122)
Itou-Ng May 18, 2023
2be8951
chore(datasheet): remove unused code (#5118)
arucil May 19, 2023
afc158a
chore: downgrade liquibase version (#5127)
shawndenggh May 19, 2023
edecfa7
Merge branch 'develop' into wmevie/feat-5005
Sky-FE May 19, 2023
c88d4d9
feat:add language options list (#5128)
May 19, 2023
4beade9
fix: member information hiding invalid (#5129)
ChambersChan May 19, 2023
f4f3cdc
feat: merge release 0.21.0 (#5131)
Itou-Ng May 19, 2023
8754cd5
fix: update ce strings-remove sub-admin (#5135)
wmEvie May 19, 2023
438b4ea
feat: add more languages & support language feedback
Sky-FE May 19, 2023
9b8712a
feat: add more languages & support language feedback
Sky-FE May 19, 2023
bfcbf3e
chore: alignment redis prefix to avoid invalid socket broadcast (#5136)
ChambersChan May 19, 2023
ecead6a
Merge branch 'develop' into feat/i18n-feedback-entry
Sky-FE May 19, 2023
e8d5fd9
chore: update private poc build (#5139)
May 19, 2023
c8cb050
chore: update translation feedback help url
May 22, 2023
2f5cce7
chore: alignment redis prefix to avoid invalid socket broadcast (#5145)
ChambersChan May 22, 2023
ebe1580
sync: apitable to vikadata (#5146)
May 22, 2023
0a5c5fd
Merge commit 'a6848e01549ddaf6175acc835cc8d77b90ba277e' into develop
May 22, 2023
1c39797
chore: choose current changes
May 22, 2023
d8069d2
fix(ViewDerivation): from mirror to source view fail (#5148)
JaneSu May 22, 2023
ab46291
fix: avatar color setting default
Sky-FE May 22, 2023
50d8adb
Hotfix cola (#5156)
JaneSu May 23, 2023
22cf389
chore: automation queue (#4856)
Itou-Ng May 23, 2023
ec43ce3
Merge branch 'develop' into wmevie/feat-4922
wmEvie May 23, 2023
f710820
Merge branch 'develop' into wmevie/fix-4813
wmEvie May 23, 2023
60f0504
Merge branch 'develop' into wmevie/fix-4813
wmEvie May 23, 2023
00c0015
chore: fusion get node list v2 (#5096)
Itou-Ng May 23, 2023
245f50b
Fix/apitable invite login error (#5169)
May 23, 2023
61c4fc6
fix: api select field (#5171)
zoe-icu May 23, 2023
d2deba3
fix: node search parent id (#5175)
Itou-Ng May 23, 2023
0347e00
feat: embed record watch moblie disable (#5172)
May 23, 2023
dea8b6b
feat: member property subscription (#4892)
wangkailang May 23, 2023
f381465
feat: automatic record subscription (#5000)
May 23, 2023
911e51c
fix: select cell close btn color (#5154)
wangkailang May 23, 2023
f42d2f7
Refactor/remove code (#5174)
JaneSu May 23, 2023
b688f08
feat: enhance action history (#5168)
Itou-Ng May 24, 2023
6b1dfe5
fix: web server build failed (#5185)
wangkailang May 24, 2023
907282b
fix: update dingding upgrade url (#5188)
wangkailang May 24, 2023
939547e
fix: merge release 21.0 (#5190)
wangkailang May 24, 2023
856b128
refactor: cancel form commit lock (#5191)
May 24, 2023
facdccc
feat: rewardful coupon integrate in apitable (#5089)
shawndenggh May 24, 2023
19b26bd
refactor: edit next.config.js (#5195)
JaneSu May 25, 2023
c73220a
fix: embed showCollaborator (#5199)
May 25, 2023
ee84fc9
Revert "fix: api select field" (#5182)
zoe-icu May 25, 2023
1f6c8d5
fix: update the strings of the form (#5213)
Liamzai May 25, 2023
4a6ef4b
fix: remove space link (#5219)
wangkailang May 25, 2023
7f782d2
fix: Return to a blank page after completing the form filling (#5222)
JaneSu May 25, 2023
f9febb7
refactor: adjusted checkout api interface (#5223)
JaneSu May 25, 2023
7b28406
feat: add new front end customize (#5224)
May 25, 2023
f62cf82
fix: web-server build error (#5229)
May 25, 2023
24943cf
chore: eslint floating promise rules (#5217)
arucil May 25, 2023
5a15c94
feat: add an env determine to show anonymous person (#5200)
zoe-icu May 26, 2023
5cf6489
fix: transform parameter to create space (#5226)
shawndenggh May 26, 2023
244342a
Chore: refactor make settings command (#5235)
May 26, 2023
6c1e9ae
refactor: adjusted checkout api interface (#5223) (#5241)
JaneSu May 26, 2023
9ac113b
chore: loggers for form submit (#5243)
May 26, 2023
3365cff
hotfix: data inconsistency fix (#5244)
arucil May 26, 2023
f39cd93
feat: jaeger module (#5246)
Itou-Ng May 26, 2023
944a854
fix: transform does not work issue (#5239)
May 26, 2023
81d46aa
fix: switch language error (#5250)
May 29, 2023
bd90296
Merge commit '464f03f57f6cc3d2f06df30010eee8dd4addd4ee' into develop
May 29, 2023
73df444
fix: yarn lock conflicts
May 29, 2023
76e272c
fix: Return to a blank page after completing the form filling (#5222)…
JaneSu May 29, 2023
0f0b8f6
fix: remove deleted files
May 29, 2023
1e6eea3
fix: microservice version
May 29, 2023
870a721
fix: remove member subscription close tip (#5261)
wangkailang May 29, 2023
e5023c8
Merge branch 'develop' into sync/apitable-230529
May 29, 2023
11fe4de
fix: member subscription (#5258)
wangkailang May 29, 2023
66e200c
feat: refactor i18n resource loading strategy (#5256)
May 30, 2023
98ce0e6
fix: rewardful bug (#5268)
shawndenggh May 30, 2023
5122ffc
fix: docker build web server arm64 (#5274)
wangkailang May 30, 2023
60ff5c9
fix: role auto subscription failed issue (#5273)
May 30, 2023
e21c7ae
fix: member subscription i18n (#5277)
wangkailang May 30, 2023
804fef0
chore: release merge into develop (#5279)
shawndenggh May 30, 2023
6eb1960
feat: url field edit (#5184)
wangkailang May 31, 2023
0562ff2
fix: code lack (#5290)
Itou-Ng May 31, 2023
c6b3003
fix: field select top not hide (#5289)
wangkailang May 31, 2023
fe69bf8
chore: add lint-staged (#5292)
JaneSu May 31, 2023
5624569
chore: config sentry (#5293)
JaneSu May 31, 2023
a054b1a
revert code (#5294)
JaneSu May 31, 2023
f1985a4
fix: form component support i18n (#5295)
Jun 1, 2023
eb87ad9
fix: cascader filter (#5302)
wangkailang Jun 1, 2023
b5e9bff
fix: js sdk cors error (#5304)
arucil Jun 1, 2023
1a06605
Feat: search node (#5305)
Itou-Ng Jun 1, 2023
8d663a1
fix: update og title
wmEvie Jun 1, 2023
7b5bbf5
fix: invoke code in apitable ee version (#5298)
shawndenggh Jun 1, 2023
0fee9ee
feat: grid search allow collapse (#5310)
wangkailang Jun 1, 2023
1bb44fa
fix: option search not case sensitive (#5311)
wangkailang Jun 1, 2023
1402feb
fix: update title key
wmEvie Jun 1, 2023
3b6ff6a
Merge branch 'release/0.21.0' into fix/update-og-title
wmEvie Jun 1, 2023
d95e93e
chore: merge release into develop (#5315)
shawndenggh Jun 2, 2023
fc3de09
fix: docker arm64 web-server (#5312)
wangkailang Jun 2, 2023
397b8da
fix: correct typo and remove ce sub-admin text
wmEvie Jun 2, 2023
8336b11
chore: replace to s4.apitable.com
xukecheng Jun 2, 2023
1c59ae2
feat: woa integration (#5160)
ChambersChan Jun 2, 2023
d127e62
Merge branch 'develop' into chore/replace-email-templates-cdn-url
xukecheng Jun 2, 2023
2f4837d
fix: view filter timezone (#5322)
arucil Jun 5, 2023
9a6c8d4
Merge commit '29caf6135b5557bd4b3183072585c1d08ff250a7' into develop
Jun 5, 2023
470af97
fix: merge conflicts
Jun 5, 2023
4abd83a
fix: makefile sh command
ziqiangai Jun 5, 2023
fa025f0
Merge remote-tracking branch 'origin/sync/apitable-230605' into sync/…
ziqiangai Jun 5, 2023
be4726a
fix: git merge wired conflicts
Jun 5, 2023
f260337
Merge branch 'develop' into chore/replace-email-templates-cdn-url
ChambersChan Jun 5, 2023
69e74f6
Feat/magic link order limit (#5259)
Jun 5, 2023
1ba5b94
Merge branch 'develop' into sync/apitable-230605
Jun 5, 2023
95b4d2e
Feat/magic link order limit (#5333)
Jun 5, 2023
aa89629
chore: redefine form data api url & tune nest api url (#5335)
ChambersChan Jun 5, 2023
7fef0ba
Feat/magic link order limit (#5334)
Jun 5, 2023
594a72f
fix: editing load link datapack (#5332)
wangkailang Jun 6, 2023
9aed7a8
fix: url edit support scroll (#5339)
wangkailang Jun 6, 2023
e3d009d
fix: template node sort issue (#5351)
ChambersChan Jun 6, 2023
c9dcb6d
chore: redefine form data api url & tune nest api url (#5347)
ChambersChan Jun 6, 2023
6663332
Feat/magic link order limit (#5345)
Jun 6, 2023
65eadd8
Merge branch 'develop' of github.com:vikadata/vikadata into release/0…
ChambersChan Jun 6, 2023
61c526d
Merge branch 'develop' into chore-release-merge
ChambersChan Jun 6, 2023
88cc5a4
fix: merge issue
ChambersChan Jun 6, 2023
d833c8b
fix: robot trigger match conditional event (#5342)
Itou-Ng Jun 6, 2023
a4e16af
chore: tune nest api url (#5364)
ChambersChan Jun 6, 2023
92cfd66
fix: url edit style (#5370)
wangkailang Jun 6, 2023
8b168b1
chore: home login page configuration
mr-kelly May 12, 2023
63fe799
fix: getEnvVars add LOGIN_MOTTO
mr-kelly May 12, 2023
23b7130
feat: <title>APITable</title> customizable
mr-kelly May 12, 2023
b0a038f
feat: hide element by env config (#5057)
JaneSu May 17, 2023
be1edc5
fix: variable naming
xukecheng Jun 6, 2023
3d99024
Merge branch 'fix/replace-s1.vika.cn-email' of github.com:vikadata/vi…
xukecheng Jun 6, 2023
ea56722
fix: env code review
Jun 6, 2023
91400e0
Merge branch 'release/0.21.0' into chore/release-to-develop
Jun 6, 2023
71f2c0b
fix: search node owner permission (#5413)
Itou-Ng Jun 7, 2023
a593b69
feat: expand widget copy range (#5421)
ChambersChan Jun 7, 2023
847ff5f
fix: Fix the page lag caused by frequent function calls. (#5422)
JaneSu Jun 7, 2023
cb5cbb8
fix: lint error (#5425)
JaneSu Jun 7, 2023
ef6d9d8
feat: fusion api support lookup filter & sort & limit (#5408)
arucil Jun 7, 2023
5f52680
fix: widget package release permission issue (#5431)
ChambersChan Jun 7, 2023
61ba4bb
chore: remove unused language files (#5420)
arucil Jun 8, 2023
1d93178
feat: fusion api qps (#5358)
Itou-Ng Jun 8, 2023
b60c240
fix: strings for member field (#5394)
Liamzai Jun 8, 2023
144440b
chore: support optional skip global widget audit (#5445)
ChambersChan Jun 8, 2023
373e72e
feat: space search (#5444)
wangkailang Jun 8, 2023
9a5697d
fix: created by switch close no modal (#5447)
wangkailang Jun 8, 2023
a3362f8
Feat/magic link order limit (#5433)
Jun 8, 2023
1af3034
Merge branch 'develop' of github.com:vikadata/vikadata into release/0…
ChambersChan Jun 8, 2023
68d7d70
fix: url edit mobile style (#5452)
wangkailang Jun 8, 2023
bad45c5
fix:component support i18n (#5458)
Jun 8, 2023
cff8fb7
fix: login mode username or password error info (#5479)
Jun 8, 2023
2bdcb22
Feat/copy widget (#5478)
JaneSu Jun 8, 2023
80bc157
fix: widget hook import (#5489)
wangkailang Jun 8, 2023
c55bd7c
fix: url edit get temp value (#5488)
wangkailang Jun 8, 2023
485a038
feat: open orgnation api (#5323)
zoe-icu Jun 8, 2023
12866c8
fix: action execution message (#5457)
Itou-Ng Jun 9, 2023
4dd3b6b
feat: Widget SDK 支持神奇引用 filter sort limit (#5453)
arucil Jun 9, 2023
68670f9
feat: apitable sass help add partner program (#5493)
Jun 9, 2023
b39efff
refactor: update jp translation (#5497)
Jun 9, 2023
4b5529c
Refactor/date fns (#5499)
JaneSu Jun 9, 2023
17ed0ad
fix: url edit cover title (#5500)
wangkailang Jun 9, 2023
cb8e639
Feat/magic link order limit (#5494)
Jun 9, 2023
d9e1021
chore: remove i18n global dependencies (#5441)
arucil Jun 12, 2023
54c47fd
feat: l10n custom lang list (#5504)
Jun 12, 2023
fcde0ca
fix: Menghitung zona waktu menyebabkan jeda halaman (#5508)
JaneSu Jun 12, 2023
1b34135
Fix cola (#5509)
JaneSu Jun 12, 2023
17842e2
fix: cascader member empty (#5496)
Itou-Ng Jun 12, 2023
06e811c
Merge commit '2f9f06b1fd463bb5d1020451fcbb15443faaa3e8' into sync/api…
shawndenggh Jun 12, 2023
e847f9f
revert: restore lose file
shawndenggh Jun 12, 2023
0b0026b
Merge branch 'develop' into sync/apitable-20230612
shawndenggh Jun 12, 2023
75c1575
chore: unify email templates style
xukecheng Jun 12, 2023
71e7af2
fix: add unitId to batchCreate sql (#5530)
zoe-icu Jun 12, 2023
db629ff
fix: formula url link (#5519)
wangkailang Jun 13, 2023
646f604
Merge branch 'develop' into chore/unify-email-templates-style
xukecheng Jun 13, 2023
413cfd1
fix: exception pre node id sort issue (#5536)
ChambersChan Jun 13, 2023
36ce407
fix: member help url (#5544)
wangkailang Jun 13, 2023
5d7c1e3
chore: upgrade version 0.22.0 (#5549)
shawndenggh Jun 13, 2023
5857522
Merge branch 'develop' into chore/unify-email-templates-style
xukecheng Jun 13, 2023
a1e76ce
Merge commit '8c2a9133470fa8de0a30e39198cad1ace04b5ac8' into sync/api…
shawndenggh Jun 13, 2023
a870e28
fix: resolve conflict
shawndenggh Jun 13, 2023
6405600
fix: resolve conflict again
shawndenggh Jun 13, 2023
03c809f
fix: copy url close recg (#5551)
wangkailang Jun 13, 2023
bcc443d
Merge branch 'develop' into sync/apitable-20230613
shawndenggh Jun 13, 2023
515c3c9
feat: add unitId to member field (#5528)
zoe-icu Jun 13, 2023
2136ae8
fix: url robot support (#5559)
wangkailang Jun 13, 2023
dccc7aa
fix: poc build (#5562)
Jun 13, 2023
78b332b
Merge branch 'develop' into chore/unify-email-templates-style
xukecheng Jun 13, 2023
992e08e
Feat/magic link order limit (#5564)
Jun 13, 2023
9fc018b
Merge branch 'develop' into chore/unify-email-templates-style
xukecheng Jun 13, 2023
d610a0a
fix: url edit hover background (#5568)
wangkailang Jun 13, 2023
86341cf
fix: login fail error message (#5579)
wangkailang Jun 13, 2023
caf30e9
fix: unit api error (#5563)
zoe-icu Jun 13, 2023
48d4c18
fix: form page crash (#5587)
wangkailang Jun 13, 2023
c205923
perf: avoid redundant metadata loading (#5495)
arucil Jun 14, 2023
5e58a13
fix: past url without title should recg (#5594)
wangkailang Jun 14, 2023
dc72657
fix: form submit aware url field (#5597)
wangkailang Jun 14, 2023
585dc2d
fix: look up limit ui bugfix (#5605)
Jun 14, 2023
61888ed
fix: api modify member role error (#5601)
zoe-icu Jun 14, 2023
94c8753
Fix/lookup limit UI bugfix (#5610)
Jun 14, 2023
43c5a1e
fix: Roll back redundant changes (#5611)
Jun 14, 2023
66ddae6
fix: update member role failed (#5613)
zoe-icu Jun 14, 2023
b3f5dae
fix: fusion api lookup property validation (#5614)
arucil Jun 14, 2023
8b4ca5a
fix: room server test error (#5616)
arucil Jun 14, 2023
7b08a6f
fix: api qps (#5618)
Itou-Ng Jun 15, 2023
630ec4d
fix: api limit point env priority (#5622)
Itou-Ng Jun 15, 2023
272616f
fix: api limit rate error i18n (#5636)
Itou-Ng Jun 15, 2023
84a4ca6
chore: tidy up l10n settings (#5634)
arucil Jun 15, 2023
3f586fd
feat: api for customer subscriptions page (#5432)
shawndenggh Jun 15, 2023
60e1b5a
feat: add ai chatbot node type support (#5643)
shawndenggh Jun 15, 2023
10d9e23
Merge commit '0f809974799de3aaefe90b6a292879dc35e14dbd' into sync/api…
ChambersChan Jun 19, 2023
c6b0050
Fix/release 0.22.0 to develop (#5672)
wangkailang Jun 19, 2023
0e46cff
Merge commit 'a145f75ac67860c41004868a81c3ac96f978d86e' into sync/api…
ChambersChan Jun 19, 2023
c010f10
fix: rust lint error
arucil Jun 19, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -11755,7 +11755,7 @@
"column": "field",
"column_chart": "Column Chart",
"columns_count_limit_tips": "Hey, your datasheet has exceeded the maximum ${column_limit} columns.",
"comfirm_close_filter_switch": "If turning off the filter, the filter conditions will be cleared afterwards",
"comfirm_close_filter_switch": "If you turn off the filter and sort, the conditions will be cleared",
"comma": ",",
"comma_style": "Separator",
"command_add_record": " added record",
Expand Down Expand Up @@ -13525,6 +13525,7 @@
"lookup_field": "Select a dimension row from ${datasheetName}",
"lookup_field_err": "Please add a Magic Link field first",
"lookup_filter_condition_tip": "This field type has been converted. Please confirm the filter criteria",
"lookup_filter_sort_description": "Add condition",
"lookup_filter_waring": "The filter column of this field has type conversion, please check.",
"lookup_help": "https://help.apitable.com/docs/guide/manual-field-lookup",
"lookup_link": "Select a Magic Link field",
Expand Down Expand Up @@ -49720,7 +49721,7 @@
"column": "列",
"column_chart": "柱状图",
"columns_count_limit_tips": "哟,你的维格表已经超过了 ${column_limit} 列的限制",
"comfirm_close_filter_switch": "请确定关闭筛选,关闭后筛选条件将被清空",
"comfirm_close_filter_switch": "关闭筛选和排序后,条件将被清空,请确定是否继续",
"comma": ",",
"comma_style": "千分位",
"command_add_record": "添加了记录",
Expand Down
4 changes: 3 additions & 1 deletion packages/core/src/config/stringkeys.interface.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/* eslint-disable max-len */
export type StringKeysMapType = {
'ANNUAL': 'ANNUAL',
'Add condition': 'Add condition',
'BIANNUAL': 'BIANNUAL',
'CNY': 'CNY',
'DAYS': 'DAYS',
Expand Down Expand Up @@ -2685,6 +2684,7 @@ export type StringKeysMapType = {
'lookup_field': 'lookup_field',
'lookup_field_err': 'lookup_field_err',
'lookup_filter_condition_tip': 'lookup_filter_condition_tip',
'lookup_filter_sort_description': 'lookup_filter_sort_description',
'lookup_filter_waring': 'lookup_filter_waring',
'lookup_help': 'lookup_help',
'lookup_link': 'lookup_link',
Expand Down Expand Up @@ -5039,6 +5039,8 @@ export type StringKeysMapType = {
'upload_on_your_phone': 'upload_on_your_phone',
'upload_success': 'upload_success',
'url_batch_recog_failure_message': 'url_batch_recog_failure_message',
'url_cell_edit': 'url_cell_edit',
'url_jump_link': 'url_jump_link',
'url_preview_limit_message': 'url_preview_limit_message',
'url_preview_setting': 'url_preview_setting',
'url_recog_failure_message': 'url_recog_failure_message',
Expand Down
3 changes: 0 additions & 3 deletions packages/core/src/formula_parser/evaluate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,6 @@ function resolverWrapper(context: IFormulaContext): ResolverFunction {
}
if (fieldBasicValueType === BasicValueType.String) {
// TODO what if field is undefined?
if (field?.type === FieldType.URL) {
return Field.bindContext(field!, state).cellValueToURL(cellValue as any);
}
return Field.bindContext(field!, state).cellValueToString(cellValue as any);
}
if (fieldBasicValueType === BasicValueType.Array) {
Expand Down
59 changes: 38 additions & 21 deletions packages/core/src/model/field/url_field.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ import { FieldType, IField, IHyperlinkSegment, ISegment, IURLField } from 'types
import { DatasheetActions } from '../datasheet';
import { ICellValue } from '../record';
import { TextBaseField } from './text_base_field';
import { Strings, t } from '../../exports/i18n';

export class URLField extends TextBaseField {
constructor(public override field: IURLField, public override state: IReduxState) {
Expand Down Expand Up @@ -67,36 +66,54 @@ export class URLField extends TextBaseField {
return (cv as IHyperlinkSegment[]).map(seg => seg?.text || seg?.title).join('') || null;
}

override cellValueToString(cellValue: ICellValue): string | null {
cellValueToTitle(cellValue: ICellValue): string | null {
if (cellValue === null) {
return null;
return '';
}

const cv = [cellValue].flat();

return (cv as IHyperlinkSegment[]).map(seg => seg?.title || seg?.text).join('') || null;
}

override get openValueJsonSchema() {
return {
type: 'array',
title: this.field.name,
items: {
type: 'object',
properties: {
title: {
type: 'string',
title: t(Strings.robot_variables_join_url_title),
},
link: {
type: 'string',
title: t(Strings.robot_variables_join_url_link),
},
},
}
};
override cellValueToString(cellValue: ICellValue): string | null {
if (cellValue === null) {
return null;
}

const cv = [cellValue].flat();

return (cv as IHyperlinkSegment[]).map(seg => seg?.text || seg?.title).join('') || null;
}

// TODO(kailang) https://github.com/vikadata/vikadata/issues/5253
// override cellValueToOpenValue(cellValue: ICellValue): any {
// if (!cellValue) {
// return null;
// }
// return cellValue[0];
// }
//
// override get openValueJsonSchema() {
// return {
// type: 'array',
// title: this.field.name,
// items: {
// type: 'object',
// properties: {
// title: {
// type: 'string',
// title: t(Strings.robot_variables_join_url_title),
// },
// text: {
// type: 'string',
// title: t(Strings.robot_variables_join_url_link),
// },
// },
// }
// };
// }

override validateProperty() {
return URLField.propertySchema.validate(this.field.property);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ export const calcCellValueAndString = ({
const instance = Field.bindContext(field, state);
return {
cellValue,
cellStr: instance.cellValueToString(cellValue),
cellStr: field.type === FieldType.URL ? Field.bindContext(field, state).cellValueToTitle(cellValue) : instance.cellValueToString(cellValue),
ignoreCache: workerCompute() ? false : !instance.isComputed,
};
};
Expand Down
20 changes: 11 additions & 9 deletions packages/datasheet/public/file/langs/strings.en-US.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"ANNUAL": "ANNUAL",
"Add condition": "Add condition",
"BIANNUAL": "BIANNUAL",
"CNY": "CNY",
"DAYS": "Day",
Expand Down Expand Up @@ -356,7 +355,7 @@
"api_params_link_field_recordids_empty_error": "field:{field} recordId value can't be empty array or null",
"api_params_link_field_recordids_not_exists": "The linked field specifies a record ({recordId}) that does not exist",
"api_params_link_field_records_max_count_error": "field:{field} The Magic Link field was set to receive one recordId only",
"api_params_lookup_can_not_operate": "Rollup field can't be edited",
"api_params_lookup_can_not_operate": "Lookup field can't be edited",
"api_params_max_count_error": "{property} must contain no more than {value} elements",
"api_params_max_error": "{property} must not be greater than {value}",
"api_params_max_length_error": "${property}'s length must not be greater than ${value}",
Expand Down Expand Up @@ -914,7 +913,7 @@
"column": "field",
"column_chart": "Column Chart",
"columns_count_limit_tips": "Hey, your datasheet has exceeded the maximum ${column_limit} columns.",
"comfirm_close_filter_switch": "If turning off the filter, the filter conditions will be cleared afterwards",
"comfirm_close_filter_switch": "If you turn off the filter and sort, the conditions will be cleared",
"comma": ",",
"comma_style": "Separator",
"command_add_record": " added record",
Expand Down Expand Up @@ -1563,7 +1562,7 @@
"field_configuration_err": "There is a configuration error in this field. Please check the formula or the configuration used by the field.",
"field_configuration_numerical_value_format": "Format",
"field_configuration_optional": "Optional",
"field_created_by_property_subscription": "Creator auto-watch data updates",
"field_created_by_property_subscription": "Creator auto-watch record",
"field_created_by_property_subscription_close_tip": "After closing, the members under the creator column will automatically cancel the records they have followed",
"field_created_by_property_subscription_open_tip": "This option only applies to newly created records",
"field_desc": "Field description",
Expand Down Expand Up @@ -1627,7 +1626,7 @@
"field_member_property_multi": "Allow adding multiple members",
"field_member_property_notify": "Notify members once they're selected",
"field_member_property_notify_tip": "Due to the option of 'selected members will automatically follow updates to row data' being enabled, the members under this member column will automatically cancel the following records after closing it",
"field_member_property_subscription": "Selected members auto-watch data updates",
"field_member_property_subscription": "Selected members auto-watch record",
"field_member_property_subscription_close_tip": "After closing, the members under the member column will automatically cancel the records they have followed",
"field_member_property_subscription_open_tip": "This option only applies to newly selected members",
"field_name_formula": "Formula",
Expand Down Expand Up @@ -1677,7 +1676,7 @@
"field_title_last_modified_by": "Last edited by",
"field_title_last_modified_time": "Last edited time",
"field_title_link": "Magic link",
"field_title_lookup": "Rollup",
"field_title_lookup": "Lookup",
"field_title_member": "Member",
"field_title_multi_select": "Multi-select",
"field_title_number": "Number",
Expand Down Expand Up @@ -1841,7 +1840,7 @@
"function_arrayflatten_example": "ARRAYFLATTEN([1, 2, \" \", 3, ],[false])\n=> [1, 2, 3 ,false]",
"function_arrayflatten_summary": "Flattens the array by removing any array nesting. All items become elements of a single array.",
"function_arrayjoin_example": "ARRAYJOIN(values, \"; \") ",
"function_arrayjoin_summary": "Join the array of rollup items into a string with a separator.",
"function_arrayjoin_summary": "Join the array of lookup items into a string with a separator.",
"function_arrayunique_example": "ARRAYUNIQUE([1,2,3,3,1])\n=> \"[1,2,3]\"",
"function_arrayunique_summary": "Returns only unique items in the array.",
"function_associate_sheet": "Records from ${datasheetname}",
Expand Down Expand Up @@ -2650,7 +2649,7 @@
"logout_warning": "Since your account managed spaces with multiple members(more than or equal to 2 members), please change the main admin to someone else on the \"Space Settings\" page before deleting the account.",
"long_time_no_operate": "The datasheet has not been operated for a long time, please refresh the page to keep the data up-to-date~",
"long_time_not_editor": "Loading...",
"lookup": "Rollup",
"lookup": "Lookup",
"lookup_and": "And operation",
"lookup_and_example": "AND(1, 1, 1, 1) => 1 ",
"lookup_and_summary": "Returns true if all the values are true, that is, not empty",
Expand Down Expand Up @@ -2684,6 +2683,7 @@
"lookup_field": "Select a dimension row from ${datasheetName}",
"lookup_field_err": "Please add a Magic Link field first",
"lookup_filter_condition_tip": "This field type has been converted. Please confirm the filter criteria",
"lookup_filter_sort_description": "Add condition",
"lookup_filter_waring": "The filter column of this field has type conversion, please check.",
"lookup_help": "https://help.apitable.com/docs/guide/manual-field-lookup",
"lookup_link": "Select a Magic Link field",
Expand Down Expand Up @@ -4838,7 +4838,7 @@
"test_function_modal_info_render_prompt": "After the optimized rendering mode is enabled, scrolling to view a datasheet with a large amount of data can be smoothier (the latency will be lower)",
"test_function_modal_info_robot": "<p>Vika Robots are the guardians for your work efficiency on the Vika Planet. Human beings are meant to do more creative things! <a href=\"https://help.vika.cn/docs/guide/manual-automation-robot\" target =\"_blank\"> View documentation</a></p>\n\n<p>Example Robots:</p>\n\n<ul><li> Robot Alpha: When a record is created, Alpha will automatically send a message to the Slack channel</li>\n\n<li>Robot Beta: When a specific form is submitted, Beta will automatically send a message to the Lark chat group</li>\n\n<li>Robot Delta: when a record meets a specific condition, Delta will automatically update another record in another datasheet </li> </ul>",
"test_function_modal_info_view_manual_save": "<p>Conflicts often arise when members modify filtering, grouping, or sorting in the same view, as each wants to configure it to suit their needs. After enabling this feature, temporary view configuration is supported in \"Datasheet\" and \"Mirror\" to reduce conflicts. </p>\n\n<p>After this feature is enabled, it affects:</p>\n<ul>\n<li>After members in \"View\" modify the view configuration, it will only take effect temporarily for themselves. After refreshing, the default configuration will be restored. Members can choose to manually save the view configuration and sync it to other members</li>\n<li>Temporary view configurations are also supported on Mirror. Special case: The filter conditions of the source datasheet view cannot be modified in the mirror</li>\n<li>Users with \"read-only\" permission are also allowed to temporarily modify the view configuration.</li>\n<li>View configuration includes: filter, group, sort, hide fields, style, layout, field order, statistics, etc.</li>\n</ul>",
"test_function_modal_info_widget": "<p>As vikadata is essentially a visualized database, the widget is the best helper to quickly turn the database into different applications. Now, vikadata supports custom widgets, allowing developers to make full use of widget SDK to develop widgets that meet business scenarios and personal needs. <a href=\"https://vika.cn/developers/widget/introduction\" target=\"_blank\">See documentation</a></p>\n\n<p>Examples of custom widgets:</p>\n\n<ul><li>Cell viewer: help you easily browse data from different column types, such as Magic Link, Rollup, and Attachments</li>\n\n<li>Vika map: help you quickly render the addresses from a datasheet in a Google map </li>\n\n<li>URL preview: help you preview the webpage content from a URL</li></ul>",
"test_function_modal_info_widget": "<p>As vikadata is essentially a visualized database, the widget is the best helper to quickly turn the database into different applications. Now, vikadata supports custom widgets, allowing developers to make full use of widget SDK to develop widgets that meet business scenarios and personal needs. <a href=\"https://vika.cn/developers/widget/introduction\" target=\"_blank\">See documentation</a></p>\n\n<p>Examples of custom widgets:</p>\n\n<ul><li>Cell viewer: help you easily browse data from different column types, such as Magic Link, Lookup, and Attachments</li>\n\n<li>Vika map: help you quickly render the addresses from a datasheet in a Google map </li>\n\n<li>URL preview: help you preview the webpage content from a URL</li></ul>",
"test_function_normal_modal_close_content": "Disabled. Please refresh the page.",
"test_function_normal_modal_open_content": "Enabled. Please refresh the page.",
"test_function_note_async_compute": "*It may cause data to be out of sync. Suggest enabling it only for non-sensitive data.",
Expand Down Expand Up @@ -5038,6 +5038,8 @@
"upload_on_your_phone": "Upload from mobile",
"upload_success": "Uploaded",
"url_batch_recog_failure_message": "Fail to display titles of some URLs",
"url_cell_edit": "Customize the URL cell",
"url_jump_link": "Go to the URL",
"url_preview_limit_message": "You can display title of no more than 300 URLs at a time.",
"url_preview_setting": "Auto display title when added URL",
"url_recog_failure_message": "Fail to display the title of URL",
Expand Down
Loading
Loading