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

Displaying clickable text for showing messages #73

Merged
merged 13 commits into from
Oct 7, 2024

Conversation

RossanaTat
Copy link
Collaborator

No description provided.

Copy link
Owner

@randrescastaneda randrescastaneda left a comment

Choose a reason for hiding this comment

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

hi @RossanaTat ,

Thank you so much. The changes look really good. I made a few suggestions. Please review and push again.

Thanks.

R/joyn-merge.R Outdated
Comment on lines 546 to 553
notes_count <- sum(
.joynenv$joyn_msgs$type %in% c("info", "note")
)

warn_count <- sum(
.joynenv$joyn_msgs$type == "warn"
)

Copy link
Owner

Choose a reason for hiding this comment

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

Hi @RossanaTat ,

thank you so much.

What happens when .joynenv$joyn_msgs$typeis NULL or has NA? I suggest you retrieve joyn_msgs with rlang::env_get() and use either sum( na.rm = TRUE) or fsum() from collapse.

Thanks.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Hi @randrescastaneda, thank you for reviewing. I have pushed some changes following your suggestions, and also to show the user the clickable messages only if there are any. Let me know if it looks okay now. Thank you!

@randrescastaneda randrescastaneda merged commit 40359bf into DEV Oct 7, 2024
7 checks passed
@randrescastaneda randrescastaneda deleted the new_msg_default branch October 7, 2024 15:51
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