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

Extend StatusView to have a secondary action button #937

Merged
merged 2 commits into from
Oct 4, 2023

Conversation

mimi-imtbl
Copy link
Contributor

Summary

Extending StatusView component to have an optional secondary button and making the main actionText optional per designs for Primary Sales widget.

Design:
Link
Screenshot 2023-10-05 at 9 36 52 am

Why the changes

Things worth calling out

Before submitting the PR, please consider the following:

  • Prefix your PR title with feat: , fix: , chore: , docs:, or refactor:.

@mimi-imtbl mimi-imtbl marked this pull request as ready for review October 4, 2023 22:40
@mimi-imtbl mimi-imtbl requested a review from a team as a code owner October 4, 2023 22:40
Comment on lines +13 to +14
actionText?: string;
onActionClick?: () => void;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Marking this as optional to accommodate the design possibility where there is only a secondary button (see the attached design screenshot)

@mimi-imtbl mimi-imtbl merged commit c2f5ba4 into main Oct 4, 2023
6 checks passed
@mimi-imtbl mimi-imtbl deleted the widgets-extend-status-view branch October 4, 2023 23:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants