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

feat: ui.labeled_value #1029

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

AkshatJawne
Copy link
Contributor

Closes #938 and Closes #869

Additional Notes:

  • After conversation with @mofojed yesterday, I will be creating separate PR to implement the ability to pass in dates and have date formatting (given that it will require a fair share of logic)
  • Have put up this PR in the interim so that docs and the other functionality can be reviewed

Copy link
Member

@mofojed mofojed left a comment

Choose a reason for hiding this comment

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

Add an e2e test as well

plugins/ui/docs/components/labeled_value.md Outdated Show resolved Hide resolved
def labeled_value(
value: str | List[str] | int | None = None,
label: Element | None = None,
# format_options: TODO Add date formatting options
Copy link
Member

Choose a reason for hiding this comment

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

Follow up ticket for this? Or do you plan to commit before merging?
At the least you should include number format options right now.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I was planning to have a follow-up ticket for it, I can add the number format options right now.

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.

ui.labeled_value docs: ui.labeled_value
2 participants