Skip to content
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

docs: Add the ui.dashboard spec #110

Merged
merged 5 commits into from
Nov 16, 2023
Merged

Conversation

mofojed
Copy link
Member

@mofojed mofojed commented Nov 8, 2023

  • Also added ui.row, ui.column, ui.stack

- Also added ui.row, ui.column, ui.stack
@mofojed mofojed self-assigned this Nov 8, 2023
@mofojed mofojed requested a review from dsmmcken November 8, 2023 21:31
plugins/ui/DESIGN.md Outdated Show resolved Hide resolved
| Parameter | Type | Description |
| ----------- | --------- | ------------------------------------------------------------------------------------------------------------------------------------- |
| `*children` | `Element` | The components to render within the row. |
| `height` | `int` | The height of the row, relative to the other children of its parent in percent. If not provided, the row will be sized automatically. |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this relative or is it out of 100%?

Like I can't put 200 in there can I ? I guess we could normalize first if GL expects 0-100?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yea it's a percent, but there are rules of the total is bigger or less than 100 as well:
https://github.com/deephaven/web-client-ui/blob/561ff22714a8b39cc55b41549712b5ef23bd39cf/packages/golden-layout/src/items/RowOrColumn.ts#L296

Not sure how to concisely explain this.

plugins/ui/DESIGN.md Show resolved Hide resolved
plugins/ui/DESIGN.md Show resolved Hide resolved
plugins/ui/DESIGN.md Show resolved Hide resolved
plugins/ui/DESIGN.md Outdated Show resolved Hide resolved
plugins/ui/DESIGN.md Outdated Show resolved Hide resolved
mofojed and others added 2 commits November 13, 2023 15:56
- Addressed review comments
@mofojed mofojed requested a review from dsmmcken November 16, 2023 16:14
plugins/ui/DESIGN.md Outdated Show resolved Hide resolved
plugins/ui/DESIGN.md Outdated Show resolved Hide resolved
plugins/ui/DESIGN.md Outdated Show resolved Hide resolved
plugins/ui/DESIGN.md Outdated Show resolved Hide resolved
@mofojed mofojed requested a review from dsmmcken November 16, 2023 19:46
@mofojed mofojed merged commit 9acb671 into deephaven:main Nov 16, 2023
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants