h2oai / h2oai/wave

ui.activity_stream

Open
#962 7 comments 0 reactions 0 assignees View on GitHub
feature ui
Dominant language
Python
Stars
4.3k
Forks
371
Avg merge
26d 1h
Merged PRs (30d)
1

Description

via @sandruparo

## Design
![image](https://user-images.githubusercontent.com/64769322/129568920-1cd64589-80a7-4020-af5e-d54f0a89fa52.png)

[design url](https://xd.adobe.com/view/eebb600c-026b-4ca1-bb6b-0a439235452b-bbe8/specs/)

## Proposed API
```ts
interface ActivityState {
/** State text **/
text: S
/** Tag background color. **/
color?: S
}

interface ActivityStreamItem {
/** The activity title. **/
title: S
/** The caption, displayed below the title. **/
caption: S
/** Original state identifier. **/
from?: ActivityState
/** Final state identifier. **/
to?: ActivityState
}

interface ActivityStream {
/** The card's title **/
title: S
/** The activities listed in this card. **/
items: ActivityStreamItem[]
}
```

cc @lo5

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.