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

Simplified pull request template #21900

Merged
merged 2 commits into from
Jan 9, 2025
Merged

Simplified pull request template #21900

merged 2 commits into from
Jan 9, 2025

Conversation

vkjr
Copy link
Contributor

@vkjr vkjr commented Jan 8, 2025

Summary

Pull request template edited to remove outdated info and unify comments.

Review notes

You can use edit option on this section to see how template looks.

Testing notes

Platforms

  • Android
  • iOS

Areas that maybe impacted

Functional

  • 1-1 chats
  • public chats
  • group chats
  • wallet / transactions
  • dapps / app browsing
  • account recovery
  • new account
  • user profile updates
  • networks
  • mailservers
  • fleet
  • bootnodes

Non-functional

  • battery performance
  • CPU performance / speed of the app
  • network consumption

Steps to test

  • Open Status
  • ...
  • Step 3, etc.

status: ready

@vkjr vkjr self-assigned this Jan 8, 2025
@vkjr vkjr requested a review from jakubgs as a code owner January 8, 2025 18:50
[comment]: # (To auto-close issue on merge, please insert the related issue number after # i.e fixes #566)

If you submit PR for issue with bounty then write here Fixes #NN where NN is issue number
Copy link
Contributor Author

Choose a reason for hiding this comment

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

We don't have bounties now

Copy link
Contributor

Choose a reason for hiding this comment

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

We actually have means of compensating work from external contribution. This has been done during 2024 and there are at least two developers that I know interested in that.

But I think we should keep the removal as you did. This is unnecessary noise.

Copy link
Contributor

@ulisesmac ulisesmac Jan 8, 2025

Choose a reason for hiding this comment

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

@ilmotta is there a public way to apply as an external contributor? I know a few that'd be interested on it

Copy link
Contributor

Choose a reason for hiding this comment

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

Let's talk in private about this @ulisesmac, there are some important details first. If anybody is interested to understand this point, please reach out to me.

[comment]: # (Summarise the problem and how the pull request solves it)
...

<!-- (Optional, remove if no changes to documentation) -->
Documentation change PR (review please): https://github.com/status-im/status.im/pull/xxx
Copy link
Contributor Author

@vkjr vkjr Jan 8, 2025

Choose a reason for hiding this comment

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

We do not change documentation frequently


- Android
- iOS
- macOS
Copy link
Contributor Author

Choose a reason for hiding this comment

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

desktop platforms aren't actual in status-mobile repo

Copy link
Contributor

Choose a reason for hiding this comment

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

I think this is related to changes in dev exp.

But yeah, they aren't common, let's remove it

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@ulisesmac, I think that was added back in times when it was possible to build desktop version of status-mobile using react-native-desktop-qt. That was long ago)


- Open Status
- ...
- Step 3, etc.

<!-- (PRs will only be accepted if squashed into single commit.) -->
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is enforced by github machinery.

Copy link
Contributor

Choose a reason for hiding this comment

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

Indeed, this has confused a bunch of people over time. The only thing I'm not sure is that some devs may still prefer to merge via command line, in which case I'm not sure GitHub will reject if the commits aren't squashed. In status-go GitHub happily accepts multiple commits because I've seen this happen a few times.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@ilmotta, well, if developer going to use command line, pull request comment won't stop it from happening.


- Open Status
- ...
- Step 3, etc.

<!-- (PRs will only be accepted if squashed into single commit.) -->

### Before and after screenshots comparison
Copy link
Contributor Author

@vkjr vkjr Jan 8, 2025

Choose a reason for hiding this comment

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

Never seen this section used. Usually screenshots are attached in summary

Copy link
Contributor

Choose a reason for hiding this comment

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

This was used a couple times, for example I'm pretty sure I've seen in PRs for quo components. But fair enough to remove 👍🏼 I have a macro to generate an HTML table for before/after screenshots. At one point in Status I used this macro a lot, but never this part from the template.

@status-im-auto
Copy link
Member

status-im-auto commented Jan 8, 2025

Jenkins Builds

Click to see older builds (4)
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ d3e127a #1 2025-01-08 18:56:13 ~5 min tests 📄log
✔️ d3e127a #1 2025-01-08 18:58:24 ~7 min ios 📱ipa 📲
✔️ d3e127a #1 2025-01-08 19:00:14 ~9 min android-e2e 🤖apk 📲
✔️ d3e127a #1 2025-01-08 19:00:45 ~9 min android 🤖apk 📲
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ d0e4d24 #3 2025-01-09 12:45:55 ~4 min tests 📄log
✔️ d0e4d24 #3 2025-01-09 12:48:18 ~6 min android 🤖apk 📲
✔️ d0e4d24 #3 2025-01-09 12:49:00 ~7 min ios 📱ipa 📲
✔️ d0e4d24 #3 2025-01-09 12:49:03 ~7 min android-e2e 🤖apk 📲
✔️ b8111db #4 2025-01-09 13:04:21 ~4 min tests 📄log
✔️ b8111db #4 2025-01-09 13:06:20 ~6 min android-e2e 🤖apk 📲
✔️ b8111db #4 2025-01-09 13:06:31 ~6 min ios 📱ipa 📲
✔️ b8111db #4 2025-01-09 13:07:49 ~8 min android 🤖apk 📲

[comment]: # (To auto-close issue on merge, please insert the related issue number after # i.e fixes #566)

If you submit PR for issue with bounty then write here Fixes #NN where NN is issue number
Copy link
Contributor

Choose a reason for hiding this comment

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

We actually have means of compensating work from external contribution. This has been done during 2024 and there are at least two developers that I know interested in that.

But I think we should keep the removal as you did. This is unnecessary noise.


#### Areas that maybe impacted
<!-- (Optional. Specify if some specific areas has to be tested, for example 1-1 chats) -->
[comment]: # (Optional. Specify if some specific areas has to be tested, for example 1-1 chats)
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggestion: Specify if specific areas need to be tested, such as 1-1 chats.`


- Android
- iOS
- macOS
- Linux
- Windows

#### Areas that maybe impacted
Copy link
Contributor

Choose a reason for hiding this comment

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

maybe -> may be


- Open Status
- ...
- Step 3, etc.

<!-- (PRs will only be accepted if squashed into single commit.) -->
Copy link
Contributor

Choose a reason for hiding this comment

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

Indeed, this has confused a bunch of people over time. The only thing I'm not sure is that some devs may still prefer to merge via command line, in which case I'm not sure GitHub will reject if the commits aren't squashed. In status-go GitHub happily accepts multiple commits because I've seen this happen a few times.


- Open Status
- ...
- Step 3, etc.

<!-- (PRs will only be accepted if squashed into single commit.) -->

### Before and after screenshots comparison
Copy link
Contributor

Choose a reason for hiding this comment

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

This was used a couple times, for example I'm pretty sure I've seen in PRs for quo components. But fair enough to remove 👍🏼 I have a macro to generate an HTML table for before/after screenshots. At one point in Status I used this macro a lot, but never this part from the template.

### Review notes
<!-- (Optional. Specify if something in particular should be looked at, or ignored, during review) -->
[comment]: # (Optional. Specify if something in particular should be looked at, or ignored, during review)

### Testing notes
Copy link
Contributor

Choose a reason for hiding this comment

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

I usually raise the level on up. That makes the headline in GH have an underline and stand out better, also gives the person a chance to use multiple level-3 headlines if desired. Personal preference, but I'd vote for raising all headlines one level up.

Copy link
Contributor Author

@vkjr vkjr Jan 9, 2025

Choose a reason for hiding this comment

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

@ilmotta do you mean having ## Review notes instead of ### Review notes?
upd: Applied that - I also like how it looks 👍

Copy link
Contributor

@ulisesmac ulisesmac left a comment

Choose a reason for hiding this comment

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

Very much needed! 👍 Thanks @vkjr

@vkjr vkjr force-pushed the update-pull-request-template branch from 92b2101 to d0e4d24 Compare January 9, 2025 12:41
@vkjr vkjr force-pushed the update-pull-request-template branch from d0e4d24 to b8111db Compare January 9, 2025 12:59
@vkjr vkjr merged commit 7709634 into develop Jan 9, 2025
5 checks passed
@vkjr vkjr deleted the update-pull-request-template branch January 9, 2025 13:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: DONE
Development

Successfully merging this pull request may close these issues.

7 participants