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

Add hidden JSON metadata to issues created by the app #775

Merged
merged 6 commits into from
Sep 26, 2023

Conversation

alflennik
Copy link
Contributor

When users raise issues through the app we insert a hidden comment into the issue which is used to later track the issue within the app. This PR improves the system by converting the hidden comment from a string, which was difficult to parse, to JSON, allowing us to remove most of the string parsing logic from the issue system. It also fixes a problem caused by the fact that most users who raise issues do not have the ability to attach the required issue labels - the system now relies on the hidden metadata and missing labels should no longer cause issues. Related to #768.

@alflennik alflennik requested a review from howard-e September 18, 2023 22:16
@alflennik alflennik changed the base branch from main to update-database-impl September 18, 2023 22:17
Copy link
Contributor

@howard-e howard-e left a comment

Choose a reason for hiding this comment

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

@alflennik looks good! I checked through to make sure everything worked as it did before and this definitely makes it a bit easier to update how the issues are queried by the App in the future!

@alflennik
Copy link
Contributor Author

@howard-e would you be willing to take another look? The big change since you last saw it is that I added an issues field to the test plan type to get a list of all issues ever raised for a test plan (including issues for reports that no longer exist).

@howard-e howard-e self-requested a review September 21, 2023 19:17
@alflennik
Copy link
Contributor Author

@howard-e all the feedback should be addressed now, thanks for the review!

Copy link
Contributor

@howard-e howard-e left a comment

Choose a reason for hiding this comment

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

@alflennik looks good to me! Thanks for addressing the feedback

@alflennik alflennik merged commit 77fd305 into update-database-impl Sep 26, 2023
@alflennik alflennik deleted the issues-hidden-metadata branch September 26, 2023 19:52
howard-e added a commit that referenced this pull request Sep 28, 2023
…abase Implementation to support #648 (#688)

Changes added to primarily support #648, but also #518 and w3c/aria-at#950. This includes functional changes to the Data Management, the Test Queue and the Candidate Review pages. It also includes changes to the database structure, described in #632.

* feature: updates functionality of Data Management page (#713)
* feature: updates functionality of Test Queue page (#715)
* feature: updates functionality of Candidate Review page (#715) 
* feature: include functionality to support the concept of required reports (#722)
* feature: adds Test Plan Report Status dialog (#728)
* enhancement: move Candidate Phase Start Date and Target Completion Date into dedicated columns on Candidate Review page (#730)
* feature: adds Test Plan Version page (#747)
* enhancement: explicitly support ‘DEPRECATED’ phase status for TestPlanVersions (#749)
* feature: adds filter and sorting functionality by columns headers on Data Management page (#750)
* bugfix: update semantic structure of cells with multiple list items on Data Management page (#752)
* enhancement: include GitHub issues on Test Plan Version page (#753)
* bugfix: revision of the required reports conditions for updating to CANDIDATE and RECOMMENDED phases (#764)
* bugfix: removes superfluous header from Test Plan Report Status dialog (#766)
* bugfix: update and revise sorts, headings and descriptions of elements on Test Plan Version page (#767)
* bugfix: account for several other update phase scenarios that could prevent the update from happening if there is an older TestPlanVersion that exists with results (#771)
* bugfix: update headings and revise deprecated dates shown on Test Plan Version page (#773)
* enhancement: allow updating of GitHub issues being presented in the app to be more easily understood (#775)
* bugfix: correct deprecatedAt date to be relative to when the ‘next’ TestPlanVersion was added (#780)
* enhancement: update the text shown when deprecation occurs during a phase on Test Plan Version page (#781)
* bugfix: fix inverted sort descriptions and pin sort of of Test Plan name columns on Data Management page (#790)

---------

Co-authored-by: Erika Miguel <[email protected]>
Co-authored-by: Paul Clue <[email protected]>
Co-authored-by: alflennik <[email protected]>
Co-authored-by: Stalgia Grigg <[email protected]>
Co-authored-by: Howard Edwards <[email protected]>
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