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: Use bullets to format details #617

Merged
merged 4 commits into from
Dec 4, 2022
Merged

feat: Use bullets to format details #617

merged 4 commits into from
Dec 4, 2022

Conversation

krlmlr
Copy link
Member

@krlmlr krlmlr commented Oct 30, 2022

Closes #582.

Needs more cleanup (code consolidation).

@krlmlr krlmlr mentioned this pull request Oct 30, 2022
@krlmlr krlmlr requested a review from hadley October 30, 2022 18:23
…":"3.6"}}) (#618)

Co-authored-by: krlmlr <krlmlr@users.noreply.github.com>
@@ -191,6 +182,50 @@ wrap_footer <- function(footer, setup, lines = setup$max_footer_lines, ellipsis
map_chr(split, paste, collapse = " ")
}

wrap_footer_bullet <- function(footers, setup, lines = setup$max_footer_lines, ellipsis = TRUE) {
Copy link
Member

Choose a reason for hiding this comment

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

Could we use cli for this?

Copy link
Member Author

Choose a reason for hiding this comment

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

In principle, yes. Not sure how to keep the # comments.

Copy link
Member

@hadley hadley Oct 31, 2022

Choose a reason for hiding this comment

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

Oh good point.

Copy link
Member Author

Choose a reason for hiding this comment

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

The previous implementation actually somehow made it work, with catching a cli message, but then I also want to limit the number of lines I show.

@krlmlr krlmlr merged commit b338ba9 into main Dec 4, 2022
@krlmlr krlmlr deleted the f-bullets-2 branch December 4, 2022 18:01
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 5, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feedback regarding column superscripts
2 participants