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

DYN-7310 - Modify Github Crash Report to Allow for "Issue Report" from Help Menu, and "Crash Report" from Crash #15775

Merged
merged 7 commits into from
Jan 23, 2025

Conversation

johnpierson
Copy link
Member

Purpose

Update Github Issue Title from "Crash Report" to "Issue Report" as not all issues submitted are a crash.

Declarations

Check these if you believe they are true

  • The codebase is in a better state after this PR
  • Is documented according to the standards
  • The level of testing this PR includes is appropriate
  • User facing strings, if any, are extracted into *.resx files
  • All tests pass using the self-service CI.
  • Snapshot of UI changes, if any.
  • Changes to the API follow Semantic Versioning and are documented in the API Changes document.
  • This PR modifies some build requirements and the readme is updated
  • This PR contains no files larger than 50 MB

Release Notes

N/A

Reviewers

@QilongTang

FYIs

@avidit

Update title of github issue to "Issue Report from Dynamo" as not all issues that are getting submitted are crashes.
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

See the ticket for this pull request: https://jira.autodesk.com/browse/DYN-7310

Copy link

github-actions bot commented Jan 22, 2025

UI Smoke Tests

Test: success. 11 passed, 0 failed.
TestComplete Test Result
Workflow Run: UI Smoke Tests
Check: UI Smoke Tests

@johnpierson johnpierson requested a review from avidit January 22, 2025 17:43
@johnpierson johnpierson changed the title DYN-7310 - Update Github Issue Title from "Crash Report" to "Issue Report" DYN-7310 - Modify Github Crash Report to Allow for "Issue Report" from Help Menu, and "Crash Report" from Crash Jan 23, 2025
@johnpierson johnpierson requested a review from avidit January 23, 2025 11:57
Copy link
Contributor

@QilongTang QilongTang left a comment

Choose a reason for hiding this comment

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

One comment and then LGTM

@QilongTang QilongTang added this to the 3.5 milestone Jan 23, 2025
var dynamoVersion = AssemblyHelper.GetDynamoVersion().ToString() ?? "2.1.0+";

// append the title and body to the URL as query parameters
// making sure we properly escape content since stack traces may contain characters not suitable
// for use in URLs
var title = "title=" + Uri.EscapeDataString(string.Format(issueTitle, dynamoVersion));
var title = "title=" + Uri.EscapeDataString(string.Format(issueTitle, reportType, dynamoVersion));
Copy link
Contributor

@QilongTang QilongTang Jan 23, 2025

Choose a reason for hiding this comment

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

It's been a while, can you double check here if reportType would be number or string. I remember vaguely that the real value of Enums will be number and you may need to grab the name of the Enum specifically here.

Copy link
Member Author

Choose a reason for hiding this comment

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

It appears to pull the string from the enum on the string formatting portion.

Copy link
Contributor

Choose a reason for hiding this comment

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

Thank you for checking @johnpierson maybe the string.Format took care of it underneath already.

@QilongTang
Copy link
Contributor

QilongTang commented Jan 23, 2025

One last comment, then LGTM

@QilongTang
Copy link
Contributor

Waiting for SelfServe check to pass

@johnpierson
Copy link
Member Author

johnpierson commented Jan 23, 2025 via email

@QilongTang QilongTang merged commit cbd859f into DynamoDS:master Jan 23, 2025
24 checks passed
@johnpierson johnpierson deleted the johnP_reviseGithubIssueTitle branch January 24, 2025 11:52
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