-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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 issue templates & add PR template #7051
Improve issue templates & add PR template #7051
Conversation
* commit 'ccb045b68c5b4d983a90fa125513fc476e4e2387': fix: upgrade @graphql-tools/links from 6.2.4 to 6.2.5 (parse-community#7007) fix: upgrade pg-promise from 10.7.0 to 10.7.1 (parse-community#7009) fix: upgrade jwks-rsa from 1.10.1 to 1.11.0 (parse-community#7008) fix: upgrade graphql from 15.3.0 to 15.4.0 (parse-community#7011) update stale bot (parse-community#6998) fix(beforeSave/afterSave): Return value instead of Parse.Op for nested fields (parse-community#7005) fix(beforeSave): Skip Sanitizing Database results (parse-community#7003) Fix includeAll for querying a Pointer and Pointer array (parse-community#7002) Init (parse-community#6999)
Codecov Report
@@ Coverage Diff @@
## master #7051 +/- ##
==========================================
- Coverage 93.86% 93.84% -0.03%
==========================================
Files 169 169
Lines 12437 12425 -12
==========================================
- Hits 11674 11660 -14
- Misses 763 765 +2
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, it will be better :)
Recommending users to write test cases and link the the Contribution Guide would help. |
@dplewis Test cases and contribution guide would be a good addition to the bug report template indeed; did you mean also to the feature suggestion template? @TomWFox The new template intends to drive conceptual feature discussions to the Parse Forum first, before cluttering the GitHub issue list with fundamental discussions. That means that feature discussions will be fragmented, although linked, between the Forum article and GitHub issue. I think that was also your suggestions some time back. Do you still see it that way and do you have a suggestion how to mitigate fragmented discussions between Forum and GitHub, e.g. closing a Forum article once a GitHub feature has been created? I am asking because I remember some instances in which the discussion was still going in parallel which made it difficult to consolidate. |
Oh nevermind. LGTM! |
@dplewis I added a test case chapter and contribution guide link to the bug template, would you take a look and see if that's what you had in mind? |
@mtrezza Open a discussion in the forum about using Github Discussion instead of the forum for discussions. Jk |
Would the goal be to weed out some feature requests to reduce the load on the issue list or just move the discussion part to the forum? If it's the latter I'm not sure what the benefit is? I had thought we could use the forum for all feature discussions leaving only bugs reports in GitHub issues. My main concern with this is the potential of losing some of the useful discussion that happens on GH as some contributors don't really use the forum. That could well change if it was the definitive place for feature requests / discussions.
I think this could be the right way to go, that way we can reduce the load on the issue list but keep feature discussion in GH. I'm happy to give it a go and we can back track if necessary! |
If we activate GitHub discussions, we have FRs in 3 places:
I'd say that ideally we want FRs in:
To ensure this, the new flow could be:
A time period of 90 days would currently remove 70% of open features & enhancements. After 30 days of inactivity, the "up for grabs" label is applied, so the issue stays visible for 60 days with "up for grabs". That is also the time frame in which issues are usually visible on the first issue page, before moving to the second page. If >3 months of front-page visibility do not kick-start a FR, we may as well "archive" it in discussions. Converting an issue to a discussion is (currently) a destructive operation as discussions cannot be converted back to issues, so we rather wait until it's unlikely that it will be picked up in its proposed form. Looking at some recent FRs that have been picked up after months / years, the approach has often changed and much of the previous discussion became less relevant. So opening a fresh issue helps for clarity anyway. More thoughts:
If no objections, I will go ahead and activate the discussion feature with a single category "Feature / Enhancement" and test-convert some old issues in the GitHub issue list. |
I have also added a PR template.
Any thoughts? |
Yeah i'm totally in favor of moving FR to discussion depending of the activity on it and after a stale time. Currently it seems that the first issue page contain 90% of FR. We will have better view on real issues and we will be able to continue to discuss on proposals 😄 Also on our FR template what do you think about adding a checkbox "I'm open to start a PR on it", since the Parse Team is mainly composed of volunteer people, i think it could help us to focus a little bit more on FR that can be achieved by a new contributor 😉 |
Nope, ~70% or FRs are currently not on the first page.
Not in favor, because as a principle we do not ask authors to agree to any vague future commitments that they may not want / be able to keep anyway. Procedurally, we want to encourage a discussion about the concept before discussing a specific implementation. We've had a couple of PRs recently that were opened without issue or at the same time as the issue. This made the discussion inefficient and fragmented between concept analysis and solution debugging. The more effective process would be:
Empirically, it shows that agreeing to start a PR initially often does not result in following through. Also, the solution and therefore the scope and complexity of a PR is still unclear pre-discussion, so asking for any commitment at this point defies the process. If the author already has a specific PR, they may propose it as part of the issue. If the concluded solution is the same as the PR (which is rarely the case), then the author can just open the PR. If the solution is a different one, then the author can modify their branch and after that open a PR. |
Sorry, I think I misunderstood that earlier. Yes, it should lead to a better overview - except for the first page. Due to the 90 days window, the 1st page would still contain many FRs, which is intended to keep them active. |
There have been some additional changes, such as the PR template, so I'll re-request review. I've been thinking about whether to keep the emojis in |
How do we ensure that the same or similar process is followed each time? I feel like there needs to be a clear definition for a FR that is in conceptual phase. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great 👍
The process is controlled by the repo member, it doesn't rely much on issue authors, so we should be good there. I think we'll need a process document for these things. I suggest we try things out in the Parse Server repo for now and see how it goes.
Yes, I didn't come to a satisfiable definition. I would leave that up to the repo member for now because this is a rare reason for converting an issue to a discussion. It would be used for features that require a fundamental discussion such as "Built-in CMS for Parse Server" (for lack of a better example). I estimate 95% of issues will convert because of inactivity, which is the main reason we want to get them out of the issue list. |
Sorry for delay... I see why you've gone for the issue then discussion approach because of the lack of templating etc in discussions but I think this makes the process somewhat convoluted (potentially resulting in multiple issues & discussions which can't be closed, labeled etc) and potentially reduces the benefit. As I'm not particularly involved in feature requests & discussion I would appreciate hearing from others who are more involved (@davimacedo @dplewis @Moumouls @dblythy) about whether they see this process (link to comment) as an improvement on closing stale FRs with the up for grabs label... |
@TomWFox I would be eager to see us use a discussion format in relation to FRs. Obviously the core teams' time is valuable and probably better spent than walking through features that may or may not be appropriate. But I like the suggestion of re-opening the discussion around old FRs, and moving active FRs to discussions. When I tackled the 2FA, I built it off the old issue and approach from 2017, whereas had of I had the discussion, we would've moved towards @Moumouls auth improvements prior to the time spent on coding. It could also be a good way to gauge the authors' availability / skill level in creating a PR, and create discussions around supporting them through creating the feature, rather than the current process which feels a bit like "open a FR, here's how you should do it, now go and do it". I would be more than happy to provide support for newer developers to learn how to contribute, and I think that a more friendly discussion format could enable that. I also think it would be valuable to re-evaluate and discuss old FRs so we can move towards closing them out. I'd hope that we could use the discussion format to get more feedback from the core team around the direction that the changes are going, rather than having to submit a PR to get pointers and feedback on the code. Or should we be using draft PRs in this case? Perhaps we could encourage contributors to create a draft PR around their approach to the issue so we can get feedback prior to perfecting it for merge? So, in summary I think it is a good improvement to try to get a feel as to how much FRs are being worked on, and to discuss approach, and get pointers and tips when working on a new feature. |
fix tests Postgres Support Update parse to 2.19.0 (#7060) Fix Prettier (#7066) Remove cache clear on validateObjects Improve add class if not exist Improve modifying schema instead of clearing Improve enforce class exists Fix flaky Test Release 4.5.0 (#7070) * Release 4.5.0 * Update CHANGELOG.md Co-authored-by: Tom Fox <[email protected]> * Improve braking change note * Create a breaking changes sub-section * Add release action Co-authored-by: Tom Fox <[email protected]> Improve issue templates & add PR template (#7051) * improved feature suggestion template * added test case chapter to bug report template * PR wording * added PR template * improved formatting in issue template * removed checkbox for concept due to new GH discussions process * improved wording * improved PR todo list * amended PR checklist; minor rewording * removed duplicate wording * add securtiy check section to contribution guide fix PR template file location (#7074) Optimize redundant logic used in queries (#7061) * Optimize redundant logic used in queries * Added CHANGELOG * Fixed comments and code style after recommendations. * Fixed code style after recommendation. * Improved explanation in comments * Added tests to for logic optimizations * Added two test cases more and some comments * Added extra test cases and fixed issue found with them. * Removed empty lines as requested. Co-authored-by: Pedro Diaz <[email protected]> FileUpload options for Server Config (#7071) * New: fileUpload options to restrict file uploads * review changes * update review * Update helper.js * added complete fileUpload values for tests * fixed config validation * allow file upload only for authenicated user by default * fixed inconsistent error messages * consolidated and extended tests * minor compacting * removed irregular whitespace * added changelog entry * always allow file upload with master key * fix lint * removed fit Co-authored-by: Manuel Trezza <[email protected]> Fix: context for afterFind (#7078) * Fix: context for afterFind * Update CHANGELOG.md Co-authored-by: Manuel <[email protected]> Fix max listener warning from livequery server (#7083) * fix max listner warning * fix * Clean test log Run definitions pg fix fix: upgrade ws from 7.4.0 to 7.4.1 (#7098) Snyk has created this PR to upgrade ws from 7.4.0 to 7.4.1. See this package in npm: https://www.npmjs.com/package/ws See this project in Snyk: https://app.snyk.io/org/acinader/project/8c1a9edb-c8f5-4dc1-b221-4d6030a323eb?utm_source=github&utm_medium=upgrade-pr fix: upgrade ldapjs from 2.2.2 to 2.2.3 (#7095) Snyk has created this PR to upgrade ldapjs from 2.2.2 to 2.2.3. See this package in npm: https://www.npmjs.com/package/ldapjs See this project in Snyk: https://app.snyk.io/org/acinader/project/8c1a9edb-c8f5-4dc1-b221-4d6030a323eb?utm_source=github&utm_medium=upgrade-pr fix: upgrade semver from 7.3.2 to 7.3.4 (#7092) Snyk has created this PR to upgrade semver from 7.3.2 to 7.3.4. See this package in npm: https://www.npmjs.com/package/semver See this project in Snyk: https://app.snyk.io/org/acinader/project/8c1a9edb-c8f5-4dc1-b221-4d6030a323eb?utm_source=github&utm_medium=upgrade-pr fix: upgrade uuid from 8.3.1 to 8.3.2 (#7101) Snyk has created this PR to upgrade uuid from 8.3.1 to 8.3.2. See this package in npm: https://www.npmjs.com/package/uuid See this project in Snyk: https://app.snyk.io/org/acinader/project/8c1a9edb-c8f5-4dc1-b221-4d6030a323eb?utm_source=github&utm_medium=upgrade-pr
🎉 This change has been released in version 5.0.0-beta.1 |
🎉 This change has been released in version 5.0.0 |
Improvements feature suggestion template:
**Is your feature request related to a problem? Please describe.**
which is almost every time answered withNo
, likely being confused as being a bug report instead of a use case description.Improvements bug report template:
If the templates work well, we can adopt them for other repos. This is in line with the new labels that are being tested in the Parse Server repo first, then rolled out to other repos.