Skip to content

Commit f7f37fc

Browse files
authored
Merge branch 'main' into dev
2 parents 213381c + a20d269 commit f7f37fc

File tree

6 files changed

+20
-20
lines changed

6 files changed

+20
-20
lines changed

client/packages/lowcoder/src/appView/AppViewInstance.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ export class AppViewInstance<I = any, O = any> {
3535
private events = new Map<keyof EventHandlerMap, EventHandlerMap<O>[keyof EventHandlerMap]>();
3636
private dataPromise: Promise<{ appDsl: any; moduleDslMap: any }>;
3737
private options: AppViewInstanceOptions = {
38-
baseUrl: "https://api.lowcoder.dev",
39-
webUrl: "https://cloud.lowcoder.dev",
38+
baseUrl: "https://api-service.lowcoder.cloud",
39+
webUrl: "https://app.lowcoder.cloud",
4040
};
4141

4242
constructor(private appId: string, private node: Element, options: AppViewInstanceOptions = {}) {

client/packages/lowcoder/src/comps/comps/timelineComp/timelineComp.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,8 @@ import {
5959
import { timelineDate, timelineNode, TimelineDataTooltip } from "./timelineConstants";
6060
import { convertTimeLineData } from "./timelineUtils";
6161
import { Timeline } from "antd";
62-
import { ANTDICON } from "./antIcon";
62+
63+
import { ANTDICON } from "./antIcon"; // todo: select icons to not import all icons
6364

6465
const EventOptions = [
6566
clickEvent,
@@ -129,14 +130,13 @@ const TimelineComp = (
129130
<div
130131
style={{
131132
margin: style.margin ?? '3px',
132-
padding: style.padding ?? '3px',
133+
padding: style.padding !== '3px' ? style.padding : '20px 10px 0px 10px',
133134
width: widthCalculator(style.margin ?? '3px'),
134135
height: heightCalculator(style.margin ?? '3px'),
135136
background: style.background,
136137
overflow: "auto",
137138
overflowX: "hidden",
138139
borderRadius: style.radius,
139-
//height: '100%'
140140
}}
141141
>
142142
<Timeline

client/packages/lowcoder/src/comps/comps/timelineComp/timelineConstants.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,17 +34,17 @@ export const TimelineDataTooltip = (
3434

3535
export const timelineDate=[
3636
{
37-
title: "码匠发布",
37+
title: "Majiang Releases",
3838
subTitle: "Majiang Published in China",
3939
label: "2022-6-10",
4040
},
4141
{
42-
title: "openblocks开源",
42+
title: "Openblocks public release",
4343
subTitle: "Openblocks open source in GitHub",
4444
label: "2022-11-28",
4545
},
4646
{
47-
title: "最后一次提交代码",
47+
title: "Last code submission",
4848
subTitle: "Openblocks project abandoned",
4949
dot: "ExclamationCircleOutlined",
5050
label: "2023-3-28",
@@ -54,10 +54,10 @@ export const timelineDate=[
5454
lableColor: "red",
5555
},
5656
{
57-
title: "Lowcoder继续前行",
57+
title: "Lowcoder 2.0",
5858
subTitle: "Lowcoder, keep moving forward",
5959
dot: "LogoutOutlined",
6060
color: "green",
61-
label: "2023-4-26",
61+
label: "2023-6-20",
6262
},
6363
]

client/packages/lowcoder/src/i18n/locales/en.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import table from "./componentDocExtra/table.md?url";
22

33
export const en = {
44
productName: "Lowcoder",
5-
productDesc: "Build internal tools fast, with no limitations",
5+
productDesc: "Create software applications for your Company and your Customers with minimal coding experience. Lowcoder is the best Retool, Appsmith or Tooljet Alternative.",
66
notSupportedBrowser:
77
"Your current browser may have compatibility issues. For a better user experience, it is recommended to use the latest version of the Chrome browser.",
88
create: "Create",
@@ -1292,7 +1292,7 @@ export const en = {
12921292
},
12931293
audio: {
12941294
src: "Audio URL",
1295-
defaultSrcUrl: "https://cdn-files.lowcoder.dev/canon-excerpt.mp3",
1295+
defaultSrcUrl: "https://cdn-files.lowcoder.cloud/canon-excerpt.mp3",
12961296
autoPlay: "Autoplay",
12971297
loop: "Loop",
12981298
srcDesc: "Current audio URL",
@@ -1650,7 +1650,7 @@ export const en = {
16501650
phoneColumn: "Phone",
16511651
subTitle: "Title",
16521652
linkLabel: "Link",
1653-
linkUrl: "cloud.lowcoder.dev",
1653+
linkUrl: "app.lowcoder.cloud",
16541654
progressLabel: "Progress",
16551655
sliderLabel: "Slider",
16561656
radioLabel: "Radio",
@@ -2129,7 +2129,7 @@ export const en = {
21292129
},
21302130
docUrls: {
21312131
docHome: "https://docs.lowcoder.cloud/",
2132-
components: "https://cloud.lowcoder.dev/components?n={compType}",
2132+
components: "https://app.lowcoder.cloud/components?n={compType}",
21332133
module: "",
21342134
optionList: "",
21352135
terms: "",
@@ -2171,9 +2171,9 @@ export const en = {
21712171
},
21722172
componentDoc: {
21732173
markdownDemoText:
2174-
"**Lowcoder** is a _developer-friendly_ open-source low code platform to build internal apps within minutes.",
2174+
"**Lowcoder** | Create software applications for your Company and your Customers with minimal coding experience. Lowcoder is the best Retool, Appsmith or Tooljet Alternative.",
21752175
demoText:
2176-
"Lowcoder is a developer-friendly open-source low code platform to build internal apps within minutes.",
2176+
"Lowcoder | Create software applications for your Company and your Customers with minimal coding experience. Lowcoder is the best Retool, Appsmith or Tooljet Alternative.",
21772177
submit: "Submit",
21782178
style: "style",
21792179
danger: "Danger",

client/packages/lowcoder/src/i18n/locales/enObj.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ export const enObj: I18nObjects = {
112112
],
113113
},
114114
editorTutorials: {
115-
mockDataUrl: "https://63621db87521369cd06514c2.mockapi.io/api/lowcoder/users",
115+
mockDataUrl: "https://6523073ef43b179384152c4f.mockapi.io/api/lowcoder/users",
116116
data: (code) => (
117117
<>
118118
The component and query data are listed here, which can be referenced through

client/packages/lowcoder/src/i18n/locales/zh.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1271,7 +1271,7 @@ jsonExplorer: {
12711271
},
12721272
audio: {
12731273
src: "音频链接",
1274-
defaultSrcUrl: "https://cdn-files.lowcoder.dev/canon-excerpt.mp3",
1274+
defaultSrcUrl: "https://cdn-files.lowcoder.cloud/canon-excerpt.mp3",
12751275
autoPlay: "自动播放",
12761276
loop: "循环播放",
12771277
srcDesc: "当前音频链接",
@@ -1627,7 +1627,7 @@ theme: {
16271627
phoneColumn: "电话",
16281628
subTitle: "标题",
16291629
linkLabel: "链接",
1630-
linkUrl: "cloud.lowcoder.dev",
1630+
linkUrl: "app.lowcoder.cloud",
16311631
progressLabel: "进度",
16321632
sliderLabel: "滑块",
16331633
radioLabel: "单选按钮",
@@ -2096,7 +2096,7 @@ toggleButton: {
20962096
},
20972097
docUrls: {
20982098
docHome: "https://docs.lowcoder.cloud/",
2099-
components: "https://cloud.lowcoder.dev/components?n={compType}",
2099+
components: "https://app.lowcoder.cloud/components?n={compType}",
21002100
module: "",
21012101
optionList: "",
21022102
terms: "",

0 commit comments

Comments
 (0)