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

Improve error around the repo_name argument in support_panel() #29

Merged
merged 3 commits into from
Feb 22, 2024

Conversation

cjrace
Copy link
Contributor

@cjrace cjrace commented Feb 20, 2024

Making it more explicit in the documentation and error message why the repo_name field is erroring.

@cjrace cjrace marked this pull request as ready for review February 20, 2024 11:24
@cjrace
Copy link
Contributor Author

cjrace commented Feb 20, 2024

One thought I had is whether we should rename the argument from repo_name to repo_url to help make it clearer. Though wary of how much this might be a breaking change anyone who has adopted it - @rmbielby, what do you think?

R/support_panel.R Outdated Show resolved Hide resolved
@cjrace cjrace requested a review from jen-machin February 20, 2024 11:57
@rmbielby
Copy link
Contributor

One thought I had is whether we should rename the argument from repo_name to repo_url to help make it clearer. Though wary of how much this might be a breaking change anyone who has adopted it - @rmbielby, what do you think?

It's not used too widely so far, so we could probably fairly easily go round and do the updates. And it'll give a pretty clear error when it does break.

@rmbielby
Copy link
Contributor

Just added some fixes to the links as they were all broken from us trying to meet line-length constraints!

R/support_panel.R Dismissed Show dismissed Hide dismissed
R/support_panel.R Dismissed Show dismissed Hide dismissed
R/support_panel.R Dismissed Show dismissed Hide dismissed
@cjrace cjrace merged commit d22732b into main Feb 22, 2024
8 checks passed
@cjrace cjrace deleted the improve-support-panel-error-message branch February 22, 2024 10:25
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.

3 participants