Skip to content

Commit

Permalink
Merge pull request #3628 from illacloud/release/4.2.3
Browse files Browse the repository at this point in the history
Release/4.2.3
  • Loading branch information
AruSeito authored Jan 11, 2024
2 parents f62ae8b + f93f5d0 commit c70b9e3
Show file tree
Hide file tree
Showing 9 changed files with 174 additions and 75 deletions.
38 changes: 38 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

**Smartphone (please complete the following information):**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]

**Additional context**
Add any other context about the problem here.
10 changes: 10 additions & 0 deletions .github/ISSUE_TEMPLATE/custom.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
name: Custom issue template
about: Describe this issue template's purpose here.
title: ''
labels: ''
assignees: ''

---


5 changes: 3 additions & 2 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
name: Feature request
about: Suggest an idea for this project
title: "[Feature Requested] "
labels: "feature"
assignees: "wenzhuo2022"
labels: feature
assignees: wenzhuo2022

---

**Is your feature request related to a problem? Please describe.** A clear and
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@
<p align="center">ILLA is a robust open source low-code platform for developers to build internal tools. By using ILLA's library of Components and Actions, developers can save massive amounts of time on building tools. </p>

<div align="center">
English | <a href="https://github.com/illacloud/illa-builder/blob/main/README-CN.md">简体中文</a> | <a href="https://github.com/illacloud/illa-builder/blob/main/README-DE.md">Deutsch</a> | <a href="https://github.com/illacloud/illa-builder/blob/main/README-JP.md">日本語</a>
English | <a href="https://github.com/illacloud/illa-builder/blob/beta/README-CN.md">简体中文</a> | <a href="https://github.com/illacloud/illa-builder/blob/beta/README-DE.md">Deutsch</a> | <a href="https://github.com/illacloud/illa-builder/blob/beta/README-JP.md">日本語</a>
</div>

<br>
<p align="center">
<a href="https://cloud.illacloud.com?utm_source=github&utm_medium=readme&utm_campaign=github-readme">
<img width="800" alt="Github(1)" src="https://github.com/illacloud/illa-builder/assets/7929686/f136f457-6904-4cba-8ad6-a64adcdafe88">
<img width="800" alt="Github(1)" src="https://github.com/illacloud/.github/blob/main/assets/2024/Jan/GitHub%20-%20Readme.png">
</a>
</p>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,12 +129,13 @@ export const WrappedStatistic: FC<WrappedStatisticProps> = (props) => {
<div css={getSecondaryStatisticContainerStyle(secondaryColor)}>
{secondaryIcon}
<Statistic
_css={getSecondaryStatisticStyle(secondaryColor)}
_css={getSecondaryStatisticStyle}
groupSeparator={secondaryGroupSeparator}
value={secondaryValue}
precision={secondaryDecimalPlace}
prefix={secondaryPrefixText}
suffix={secondarySuffixText}
colorScheme={secondaryColor}
/>
</div>
)}
Expand All @@ -158,11 +159,12 @@ export const WrappedStatistic: FC<WrappedStatisticProps> = (props) => {
<div css={primaryStatisticContainerStyle}>
{icon}
<Statistic
_css={getStatisticStyle(color)}
_css={getStatisticStyle}
value={primaryValue}
precision={decimalPlace}
prefix={prefixText}
suffix={suffixText}
colorScheme={color}
groupSeparator={groupSeparator}
/>
</div>
Expand Down
54 changes: 15 additions & 39 deletions apps/builder/src/widgetLibrary/StatisticsWidget/style.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,36 +42,22 @@ export const getStatisticWrapperStyle = (textAlign?: string) => {
${alignItemsStyle};
`
}
export const getSecondaryStatisticStyle = (color?: string) => {
return css`
max-width: 100%;
overflow: hidden;
& > div:last-child > div,
& > div:last-child > div > span {
color: ${getSpecialThemeColor(color || "")};
max-width: 100%;
}
& span {
font-size: 12px;
font-weight: 500;
line-height: 18px;
}
`
}
export const getSecondaryStatisticStyle = css`
max-width: 100%;
overflow: hidden;
& span {
font-size: 12px;
font-weight: 500;
line-height: 18px;
}
`

export const getStatisticStyle = (color?: string) => {
return css`
max-width: 100%;
overflow: hidden;
white-space: nowrap;
& > div:last-child > div,
& > div:last-child > div > span {
color: ${getSpecialThemeColor(color || "")};
max-width: 100%;
}
line-height: 36px;
`
}
export const getStatisticStyle = css`
max-width: 100%;
overflow: hidden;
white-space: nowrap;
line-height: 36px;
`

export const getPrefixIconStyle = (color?: string, secondary?: boolean) => {
const size = secondary ? 12 : 24
Expand Down Expand Up @@ -126,16 +112,6 @@ export const getSecondaryStatisticContainerStyle = (color?: string) => {
padding: 0 4px;
border-radius: 2px;
background: ${getColor(color || "", "08")};
& span {
line-height: 18px;
font-size: 12px;
margin-right: 2px;
margin-left: 0;
}
& > div > div > div {
display: flex;
align-items: center;
}
`
}

Expand Down
2 changes: 1 addition & 1 deletion packages/illa-public-component
Submodule illa-public-component updated 56 files
+6 −0 MixpanelUtils/interface.ts
+1 −1 ResourceGenerator/components/ConfigElements/CouchDBConfigElement/index.tsx
+1 −1 ResourceGenerator/components/ConfigElements/MicrosoftSqlConfigElement/index.tsx
+1 −1 ResourceGenerator/components/ConfigElements/MongoDbConfigElement/MongoDbGuiMode/index.tsx
+1 −1 ResourceGenerator/components/ConfigElements/MysqlLikeConfigElement/index.tsx
+3 −2 ResourceGenerator/components/ResourceHeader/index.tsx
+3 −8 UpgradeModal/component/SubscriptionReminderModal/constants.ts
+22 −0 dynamicStringUtils/ast/constants.ts
+66 −0 dynamicStringUtils/ast/index.ts
+146 −0 dynamicStringUtils/ast/interface.ts
+147 −0 dynamicStringUtils/ast/typeHelper.ts
+11 −0 dynamicStringUtils/ast/utils.ts
+131 −0 dynamicStringUtils/ast/walk.ts
+93 −0 dynamicStringUtils/ast/walkHelper.ts
+2 −0 dynamicStringUtils/constants.ts
+74 −0 dynamicStringUtils/converter.ts
+278 −0 dynamicStringUtils/dependencyMap/index.ts
+0 −0 dynamicStringUtils/dependencyMap/interface.ts
+163 −0 dynamicStringUtils/dependencyMap/utils.ts
+151 −0 dynamicStringUtils/diff/pathUpdateUtils.ts
+1 −0 dynamicStringUtils/evaluation/index.ts
+26 −0 dynamicStringUtils/evaluation/utils.ts
+34 −0 dynamicStringUtils/helper.ts
+3 −0 dynamicStringUtils/index.ts
+23 −0 dynamicStringUtils/package.json
+29 −0 dynamicStringUtils/utils.ts
+21 −17 locales/cs-CZ.json
+21 −17 locales/da-DK.json
+22 −18 locales/de-DE.json
+21 −17 locales/el-GR.json
+22 −18 locales/en-US.json
+21 −17 locales/es-ES.json
+21 −17 locales/fi-FI.json
+21 −17 locales/fr-FR.json
+21 −17 locales/it-IT.json
+22 −18 locales/ja-JP.json
+22 −18 locales/ko-KR.json
+21 −17 locales/nl-NL.json
+21 −17 locales/no-NO.json
+21 −17 locales/pl-PL.json
+21 −17 locales/pt-PT.json
+21 −17 locales/ro-RO.json
+21 −17 locales/ru-RU.json
+21 −17 locales/sv-SE.json
+21 −17 locales/uk-UA.json
+28 −24 locales/zh-CN.json
+1 −1 publicConfig/resource/initConfig/clickhouse.ts
+1 −1 publicConfig/resource/initConfig/couchdb.ts
+1 −1 publicConfig/resource/initConfig/elasticSearch.ts
+1 −1 publicConfig/resource/initConfig/microsoftSql.ts
+1 −1 publicConfig/resource/initConfig/mongodb.ts
+1 −1 publicConfig/resource/initConfig/oracle.ts
+1 −1 publicConfig/resource/initConfig/redis.ts
+1 −1 publicConfig/resource/initConfig/smpt.ts
+1 −0 publicTypes/dashboard/flowInfo.ts
+2 −0 utils/envHelper.ts
Loading

0 comments on commit c70b9e3

Please sign in to comment.