Skip to content

Commit a20d269

Browse files
authored
Merge pull request #395 from lowcoder-org/ui-fixes-for-documentation
fixed issue #237, #335 and links to Component Documentation
2 parents 4240e5f + 0118830 commit a20d269

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
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/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",
@@ -2128,7 +2128,7 @@ export const en = {
21282128
},
21292129
docUrls: {
21302130
docHome: "https://docs.lowcoder.cloud/",
2131-
components: "https://cloud.lowcoder.dev/components?n={compType}",
2131+
components: "https://app.lowcoder.cloud/components?n={compType}",
21322132
module: "",
21332133
optionList: "",
21342134
terms: "",
@@ -2170,9 +2170,9 @@ export const en = {
21702170
},
21712171
componentDoc: {
21722172
markdownDemoText:
2173-
"**Lowcoder** is a _developer-friendly_ open-source low code platform to build internal apps within minutes.",
2173+
"**Lowcoder** | Create software applications for your Company and your Customers with minimal coding experience. Lowcoder is the best Retool, Appsmith or Tooljet Alternative.",
21742174
demoText:
2175-
"Lowcoder is a developer-friendly open-source low code platform to build internal apps within minutes.",
2175+
"Lowcoder | Create software applications for your Company and your Customers with minimal coding experience. Lowcoder is the best Retool, Appsmith or Tooljet Alternative.",
21762176
submit: "Submit",
21772177
style: "style",
21782178
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: "单选按钮",
@@ -2095,7 +2095,7 @@ toggleButton: {
20952095
},
20962096
docUrls: {
20972097
docHome: "https://docs.lowcoder.cloud/",
2098-
components: "https://cloud.lowcoder.dev/components?n={compType}",
2098+
components: "https://app.lowcoder.cloud/components?n={compType}",
20992099
module: "",
21002100
optionList: "",
21012101
terms: "",

0 commit comments

Comments
 (0)