GeezerVison is showing github.com — Merge pull request #160 from alibaba/chore/stale · Simon-shun/lowcode-engine@d2912d3
File tree
Expand file treeCollapse file tree
Open diff view settings
designer/src/builtin-simulator/bem-tools
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: .github/workflows/stale.yml +4-1Lines changed: 4 additions & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
|
16 | 16 | days-before-issue-stale: 10 |
17 | 17 | days-before-issue-close: 2 |
18 | 18 | days-before-pr-stale: 10 |
19 | | - days-before-pr-close: 2 |
| 19 | + days-before-pr-close: 2 |
| 20 | + exempt-issue-labels: 'bug,enhancement,good first issue,help wanted,WIP' |
| 21 | + stale-issue-label: 'stale' |
| 22 | + stale-pr-label: 'stale' |
Collapse file
Copy file name to clipboardExpand all lines: packages/designer/src/builtin-simulator/bem-tools/border-selecting.tsx +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -98,7 +98,7 @@ class Toolbar extends Component<{ observed: OffsetObserver }> { |
98 | 98 | const { node } = observed; |
99 | 99 | const actions: ReactNodeArray = []; |
100 | 100 | node.componentMeta.availableActions.forEach((action) => { |
101 | | - const { important, condition, content, name } = action; |
| 101 | + const { important = true, condition, content, name } = action; |
102 | 102 | if (node.isSlot() && (name === 'copy' || name === 'remove')) { |
103 | 103 | // FIXME: need this? |
104 | 104 | return; |
|
Collapse file
Copy file name to clipboard +3Lines changed: 3 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
1 | 1 | import { isFormEvent, compatibleLegaoSchema, getNodeSchemaById } from '@alilc/lowcode-utils'; |
2 | 2 | import { isNodeSchema } from '@alilc/lowcode-types'; |
| 3 | +import { getConvertedExtraKey, getOriginalExtraKey } from '@alilc/lowcode-designer'; |
3 | 4 |
|
4 | 5 | const utils = { |
5 | 6 | isNodeSchema, |
6 | 7 | isFormEvent, |
7 | 8 | compatibleLegaoSchema, |
8 | 9 | getNodeSchemaById, |
| 10 | + getConvertedExtraKey, |
| 11 | + getOriginalExtraKey, |
9 | 12 | }; |
10 | 13 |
|
11 | 14 | export default utils; |