Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Adding lowcoder logo #155

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

Merged
merged 24 commits into from
May 17, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
8f02a47
rebrand API server
ludomikula May 10, 2023
ea88857
refactor: rename openlocks-core to lowcoder-core
falnyr May 11, 2023
6d89a13
refactor: rename openblocks-dev-utils to lowcoder-dev-utils
falnyr May 11, 2023
e0ecb33
refactor: rename openblocks-design to lowcoder-design
falnyr May 11, 2023
0c119ad
refactor: rename openblocks-comps to lowcoder-comps
falnyr May 11, 2023
cf0a870
refactor: rename openblocks-sdk to lowcoder-sdk
falnyr May 11, 2023
dec2350
refactor: rename openblocks-ee to lowcoder-sdk
falnyr May 11, 2023
18aaffc
refactor: rename openblocks- lowcoder-
falnyr May 11, 2023
b04b0ff
refactor: rename /openblocks to /lowcoder
falnyr May 11, 2023
f75715f
refactor: rename openblocks. to lowcoder.
falnyr May 11, 2023
c1a25c5
refactor: rename openblocks to lowcoder
falnyr May 11, 2023
2f5a085
refactor: rename Openblocks to Lowcoder
falnyr May 11, 2023
7130095
refactor: rename OpenBlocks to Lowcoder
falnyr May 11, 2023
c6f85fc
refactor: rename openBlocks to lowcoder
falnyr May 11, 2023
3a58d5f
refactor: renamed folders
falnyr May 11, 2023
a1c5c16
refactor: renamed folders and files
falnyr May 13, 2023
54dd179
Merge branch 'main' into feat/rebrand
falnyr May 13, 2023
30adab5
refactor: replaced openblocks references with lowcoder
falnyr May 13, 2023
ee73078
refactor: renamed folders for sonarcloud
falnyr May 13, 2023
dc9b82c
chore: bumped versions and pushed to npm registry
falnyr May 13, 2023
784c8e0
refactor: updated dependencies, switched to lowcoder folder
falnyr May 16, 2023
ec58b27
Merge branch 'main' into feat/rebrand
falnyr May 17, 2023
bca8247
feat: lowcoder logos
falnyr May 17, 2023
840df83
chore: removed unused import
falnyr May 17, 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
Prev Previous commit
Next Next commit
refactor: rename openblocks. to lowcoder.
  • Loading branch information
falnyr committed May 11, 2023
commit f75715f209584b9120f68fda77a66e93c0ae082e
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ function CompDevApp() {
compMap={compMap}
packageName={name}
packageVersion={version}
compMeta={openblocks.comps}
compMeta={lowcoder.comps}
/>
);
}
Expand Down
12 changes: 6 additions & 6 deletions client/packages/openblocks-cli/actions/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@ function validPackageJSON() {
return "- openblocks field is required in package.json";
}
const openblocks = packageJSON.openblocks;
if (!openblocks.comps || Object.keys(openblocks.comps).length === 0) {
if (!lowcoder.comps || Object.keys(lowcoder.comps).length === 0) {
return "- not found any comps to build";
}

const compErrors = [];
Object.keys(openblocks.comps).forEach((name) => {
const compManifest = packageJSON.openblocks.comps[name];
Object.keys(lowcoder.comps).forEach((name) => {
const compManifest = packageJSON.lowcoder.comps[name];
if (!compManifest.icon) {
// compErrors.push(`- comp ${name} must specify an icon`);
return;
Expand Down Expand Up @@ -64,7 +64,7 @@ export default async function buildAction(options) {
return;
}

const compNames = Object.keys(packageJSON.openblocks.comps);
const compNames = Object.keys(packageJSON.lowcoder.comps);
console.cyan(`Name : ${packageJSON.name}`);
console.cyan(`Version : ${packageJSON.version}`);
console.cyan(`Comps : ${compNames.length}\n`);
Expand All @@ -78,7 +78,7 @@ export default async function buildAction(options) {
await build(viteConfig);

// write package.json
packageJSON.openblocks.entry = "index.js";
packageJSON.lowcoder.entry = "index.js";
writeFileSync(paths.appOutPackageJson, JSON.stringify(packageJSON, null, 2));

// copy locales
Expand All @@ -88,7 +88,7 @@ export default async function buildAction(options) {

// copy icon files
compNames.forEach((name) => {
const compManifest = packageJSON.openblocks.comps[name];
const compManifest = packageJSON.lowcoder.comps[name];
if (compManifest.icon) {
copySync(paths.resolveApp(compManifest.icon), resolve(paths.appOutPath, compManifest.icon));
}
Expand Down
2 changes: 1 addition & 1 deletion client/packages/openblocks-comps/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ function CompDevApp() {
compMap={compMap}
packageName={name}
packageVersion={version}
compMeta={openblocks.comps}
compMeta={lowcoder.comps}
/>
);
}
Expand Down
2 changes: 1 addition & 1 deletion client/packages/openblocks-design/src/icons/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ export { ReactComponent as HeadApiIcon } from "./icon-query-head.svg";
export { ReactComponent as TraceApiIcon } from "./icon-query-trace.svg";
export { ReactComponent as PostgresIcon } from "./icon-query-postgres.svg";
export { ReactComponent as JSIcon } from "./icon-query-JS.svg";
export { ReactComponent as OpenBlocksQueryIcon } from "./icon-query-openblocks.svg";
export { ReactComponent as OpenBlocksQueryIcon } from "./icon-query-lowcoder.svg";
export { ReactComponent as RedisIcon } from "./icon-query-Redis.svg";
export { ReactComponent as EsIcon } from "./icon-query-ElasticSearch.svg";
export { ReactComponent as MSSQLIcon } from "./icon-query-mssql.svg";
Expand Down
2 changes: 1 addition & 1 deletion client/packages/openblocks-plugin-demo/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ function CompDevApp() {
compMap={compMap}
packageName={name}
packageVersion={version}
compMeta={openblocks.comps}
compMeta={lowcoder.comps}
/>
);
}
Expand Down
2 changes: 1 addition & 1 deletion client/packages/openblocks/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# openblocks

The main app of openblocks.
The main app of lowcoder.
4 changes: 2 additions & 2 deletions client/packages/openblocks/src/appView/AppViewInstance.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ export class AppViewInstance<I = any, O = any> {
private events = new Map<keyof EventHandlerMap, EventHandlerMap<O>[keyof EventHandlerMap]>();
private dataPromise: Promise<{ appDsl: any; moduleDslMap: any }>;
private options: AppViewInstanceOptions = {
baseUrl: "https://api.openblocks.dev",
webUrl: "https://cloud.openblocks.dev",
baseUrl: "https://api.lowcoder.dev",
webUrl: "https://cloud.lowcoder.dev",
};

constructor(private appId: string, private node: Element, options: AppViewInstanceOptions = {}) {
Expand Down
24 changes: 12 additions & 12 deletions client/packages/openblocks/src/i18n/locales/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1248,7 +1248,7 @@ export const en = {
},
audio: {
src: "Audio URL",
defaultSrcUrl: "https://cdn-files.openblocks.dev/canon-excerpt.mp3",
defaultSrcUrl: "https://cdn-files.lowcoder.dev/canon-excerpt.mp3",
autoPlay: "Autoplay",
loop: "Loop",
srcDesc: "Current audio URL",
Expand Down Expand Up @@ -1606,7 +1606,7 @@ export const en = {
phoneColumn: "Phone",
subTitle: "Title",
linkLabel: "Link",
linkUrl: "cloud.openblocks.dev",
linkUrl: "cloud.lowcoder.dev",
progressLabel: "Progress",
sliderLabel: "Slider",
radioLabel: "Radio",
Expand Down Expand Up @@ -1932,7 +1932,7 @@ export const en = {
jsLibraryInstallSuccess: "JavaScript library installed successfully",
jsLibraryInstallFailed: "JavaScript library installation failed",
jsLibraryInstallFailedCloud:
"Perhaps the library is not available in the sandbox, [Documentation](https://docs.openblocks.dev/build-apps/write-javascript/use-third-party-libraries#manually-import-libraries)\n{message}",
"Perhaps the library is not available in the sandbox, [Documentation](https://docs.lowcoder.dev/build-apps/write-javascript/use-third-party-libraries#manually-import-libraries)\n{message}",
jsLibraryInstallFailedHost: "{message}",
add: "Add New",
jsHelpText: "Add a global method or variable to the current application.",
Expand Down Expand Up @@ -2083,21 +2083,21 @@ export const en = {
showBorder: "Show border",
},
docUrls: {
docHome: "https://docs.openblocks.dev/",
components: "https://cloud.openblocks.dev/components?n={compType}",
docHome: "https://docs.lowcoder.dev/",
components: "https://cloud.lowcoder.dev/components?n={compType}",
module: "",
optionList: "",
terms: "",
privacy: "",
aboutUs: "",
changeLog: "",
introVideo: "",
devNpmPlugin: "https://docs.openblocks.dev/build-plugins/develop-your-first-plugin",
devNpmPlugin: "https://docs.lowcoder.dev/build-plugins/develop-your-first-plugin",
devNpmPluginText: "How to develop npm plugin",
useHost: "https://docs.openblocks.dev/self-hosting/access-local-database-or-api",
useHost: "https://docs.lowcoder.dev/self-hosting/access-local-database-or-api",
eventHandlerSlowdown:
"https://docs.openblocks.dev/build-apps/event-handlers#debounce-and-throttle",
thirdLib: "https://docs.openblocks.dev/build-apps/write-javascript/use-third-party-libraries",
"https://docs.lowcoder.dev/build-apps/event-handlers#debounce-and-throttle",
thirdLib: "https://docs.lowcoder.dev/build-apps/write-javascript/use-third-party-libraries",
thirdLibUrlText: "Use third-party libraries",
},
datasourceTutorial: {
Expand All @@ -2111,11 +2111,11 @@ export const en = {
},
queryTutorial: {
js: "",
transformer: "https://docs.openblocks.dev/build-apps/write-javascript/transformers",
tempState: "https://docs.openblocks.dev/build-apps/write-javascript/temporary-state",
transformer: "https://docs.lowcoder.dev/build-apps/write-javascript/transformers",
tempState: "https://docs.lowcoder.dev/build-apps/write-javascript/temporary-state",
},
customComponent: {
entryUrl: "https://custom-component.openblocks.dev/index.html",
entryUrl: "https://custom-component.lowcoder.dev/index.html",
},
template: {
cloneUrl: "/apps/template-import/",
Expand Down
2 changes: 1 addition & 1 deletion client/packages/openblocks/src/util/tutorialUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const DatasourceTutorials: Partial<Record<DatasourceType, string>> = {
es: trans("datasourceTutorial.es"),
smtp: trans("datasourceTutorial.smtp"),
clickHouse: trans("datasourceTutorial.clickHouse"),
googleSheets: "https://docs.openblocks.dev/data-sources/connect-to-databases/google-sheets",
googleSheets: "https://docs.lowcoder.dev/data-sources/connect-to-databases/google-sheets",
};

export const getDatasourceTutorial = (datasourceType: DatasourceType) => {
Expand Down