Skip to content

Commit

Permalink
feat(render): make itt works
Browse files Browse the repository at this point in the history
  • Loading branch information
phodal committed May 9, 2020
1 parent abc6361 commit 8232fee
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 17 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ others see in the Code.

## License

- tree based on: [https://bl.ocks.org/d3noob/1a96af738c89b88723eb63456beb6510](https://bl.ocks.org/d3noob/1a96af738c89b88723eb63456beb6510))
- Periodic based on:[https://stackblitz.com/edit/ng-periodic-table](https://stackblitz.com/edit/ng-periodic-table)
- Tech Radar based on: [https://cofinpro.github.io/Tech-Radar/](https://cofinpro.github.io/Tech-Radar/)
- Kanban based on: https://github.com/Devstackr/kanban-angular-layout
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
:host {
min-height: 500px;
}
Original file line number Diff line number Diff line change
Expand Up @@ -26,26 +26,13 @@ export class LedgeTreeComponent implements OnInit, OnChanges {
if (changes.data) {
this.data = changes.data.currentValue;
setTimeout(() => {
this.render();
this.render(this.data[0]);
});
}
}

private render() {
const treeData = {
name: 'Top Level',
children: [
{
name: 'Level 2: A',
children: [
{name: 'Son of A'},
{name: 'Daughter of A'}
]
},
{name: 'Level 2: B'}
]
};

private render(treeData) {
// MI: https://bl.ocks.org/d3noob/1a96af738c89b88723eb63456beb6510
const chartElement = this.chartEl.nativeElement;
// Set the dimensions and margins of the diagram
const margin = {top: 20, right: 90, bottom: 30, left: 90};
Expand Down
24 changes: 23 additions & 1 deletion src/assets/docs/help.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,29 @@
# Ledge 语法帮助

```tree
- CI 建设
- 开发阶段准备
- 拉 Aimeituan 工程的开发分支
- 修改开发分支版本号
- Aimeituan 工程独立编译自动配置
- PR 检测
- 静态检测
- 增量检测
- SDK
- 包大小
- 单测
- 开发阶段
- 定时检测壳工程是否有更新,触发自动打包
- 每日最新版本号提醒
- 提测阶段
- 冒烟提醒
- 自动拉提测分支
- 业务库检测是否有 PR 未合入
- 提测打包、发提测邮件
- 发版阶段
- 分支合并
- 外卖业务库合入 Aimeituan 提测分支
- 全量提醒
```

```maturity
Expand Down

0 comments on commit 8232fee

Please sign in to comment.