Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fix: Git and GitHub Collabo | 2nd Issue Ticket Task | Working with GitHub web UI #8

Merged
merged 4 commits into from
Jan 27, 2025

Conversation

BA-atomic
Copy link
Contributor

@BA-atomic BA-atomic commented Jan 21, 2025

This pull request makes the following changes

General checklist

  • My pull request adheres to the Collabo Community pull request guidelines.
  • I have read and understood the Pull request guideline extension section found at the bottom of this pull request description/body.
  • I have replaced the dummy text under the subheading Testing checklist below with the testing checklist from the issue ticket I'm working on.

Testing checklist

  • Here's a link to my approved 1st task pull request: FIX: Git and GitHub Collabo | 1st Issue Ticket Task | Working with GitHub web UI  #4
  • My branch for this task assignment is created from the develop branch, and the name of my branch is a mix of @GH- and the ticket's issue number (no # sign and no space in there).
  • I have updated the gitcollab-ui-task.md file in my own folder, as directed in the 2nd issue ticket task.
  • I certify that I ran my checklist.

Screenshot

Screenshot (129)

Pull request guideline extension

Note

Do not remove this note and the sections below. This talks about extra things to take note of, in addition to the directions given in the Collabo Community pull request guidelines.

We appreciate the time taken to help tackle issue tickets within the Collabo Community. Please go ahead to submit your pull request even if it is not yet completed, and push to the pull request actively. This will allow us to know that you have not abandoned the issue ticket. However, you should only alert reviewers about your pull request as explained below, to avoid flooding their GitHub notifications unnecessarily.

"Ready for review" implies that things are working as expected, according to how it is specified in the issue ticket you are working on. Ensure that you test the code that you are working on, that it works as expected. Don't just request for review when your pull request is not yet done and working.

The only time you should be making people review something incomplete is: if you want to show them what's not working, so that they can send help or guidance. If this is the case, be explicit about this in our Discord community or in the comment of your pull request (after you have submitted the pull request).

Requesting review: For this repository, the review team to request review from is the @collabo-community/maintainers team. Once your pull request is ready for review, select this review team from the reviewers dropdown on this pull request. If you don't have access to the reviewer's dropdown, tag this review team in the comment of this pull request.

@BA-atomic
Copy link
Contributor Author

@collabo-community/maintainers, this PR is ready for review

@Akpjunior94
Copy link
Member

Akpjunior94 commented Jan 21, 2025

@BA-atomic Nice work so far.
The link to your approved 1st task pull request looks incorrect. Do check that.

@Akpjunior94 Akpjunior94 requested review from Akpjunior94 and removed request for Akpjunior94 January 21, 2025 10:21
@BA-atomic
Copy link
Contributor Author

@collabo-community/maintainers, the link to the first task has been updated and this PR is ready for review

Copy link
Member

@Akpjunior94 Akpjunior94 left a comment

Choose a reason for hiding this comment

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

Looks good to me.
Weldone 🎉

@Ifycode
Copy link
Member

Ifycode commented Jan 21, 2025

Thank you @Akpjunior94

Copy link
Member

@Ifycode Ifycode left a comment

Choose a reason for hiding this comment

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

@BA-atomic Please fix this - also apply the markdown for the testing checklist. Not everything in there was written as plain text.

@BA-atomic
Copy link
Contributor Author

@collabo-community/maintainers, the testing checklist has been edited and this PR is ready for review

@Ifycode
Copy link
Member

Ifycode commented Jan 25, 2025

Cool 😃, You are doing well @BA-atomic
One last step remains. Remember we wrote this here on the issue ticket:
"Once you are done, request for review as usual. We will guide you to know when a conflict has occurred in your pull request, and steps to fixing it".

Wait for my next comment to direct you. I will purposely create a conflict situation so that you can have the experience of how to merge a conflict.

@@ -6,7 +6,7 @@ Hi, I'm @BA-atomic. I'm currently learning to collaborate with Git and GitHub. I

Unordered list used for listing markdown examples below:
- Link: [This link text will take you to Collabo Community's Github Page when you click on it!](https://github.com/collabo-community)
- Inline Code Block: `This code block text will show up inline`.
- Inline Code Block (with non-code text): `This code block text will show up inline`. This part of the text is just ordinary text.
Copy link
Member

Choose a reason for hiding this comment

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

Here's the next step that concerns conflict resolution @BA-atomic

How to know that a conflict has occurred - Look towards the bottom of this pull request, you will this text on the UI: "This branch has conflicts that must be resolved". Also notice that the file you last made changes to was mentioned - That is where the conflict took place.

Screenshot

Screenshot 2025-01-25 at 03 18 08

What caused the conflict? - Someone (me 😉), who still had the version of the file that contains the old content (Inline Code Block: This code block text will show up inline.), made changes to that same line so that it now says: Inline Code Block: This code block text will show up inline. Do you notice the difference?.
Guess what? Maintainers of this repo already added/merged the above change into the original Collabo Community repo's develop branch!
You on the other hand, have also made changes to the same line of the same file. The content that both of you added at the end of that line are totally different. You also added new content somewhere within the line, that the other person did not have before it was merged.
In summary, both of you who made changes to that same line are not in agreement i.e. there's a "conflict".

What to do next?
Here is the correct content that should be on the "Inline Code Block (with non-code text)" line:

- Inline Code Block (with non-code text): `This code block text will show up inline.` This part of the text is just ordinary text! Do you notice the difference?
  • Click on the "Resolve conflicts" button. Use the content of the code block above to adjust the "Inline Code Block (with non-code text)" line, in the editor that opens up; so that the line contains a mix of your change and their own change.
  • And then click on "Mark as resolved".
  • Request for review as usual, once you are done. If you get lost or need help at any point, get help on the appropriate channel in our discord community.

Copy link
Member

Choose a reason for hiding this comment

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

@BA-atomic what you added is not correct check the What to do next? section of the conflict resolution instructions given, to see was you missed.

@BA-atomic
Copy link
Contributor Author

@collabo-community/maintainers, I have resolved the conflicts and this PR is ready for review

@@ -6,7 +6,7 @@ Hi, I'm @BA-atomic. I'm currently learning to collaborate with Git and GitHub. I

Unordered list used for listing markdown examples below:
- Link: [This link text will take you to Collabo Community's Github Page when you click on it!](https://github.com/collabo-community)
- Inline Code Block: `This code block text will show up inline`.
- Inline Code Block (with non-code text): `This code block text will show up inline`. This part of the text is just ordinary text.
Copy link
Member

Choose a reason for hiding this comment

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

@BA-atomic what you added is not correct check the What to do next? section of the conflict resolution instructions given, to see was you missed.

@BA-atomic
Copy link
Contributor Author

@collabo-community/maintainers, I have resolved it and this PR is ready for review

@@ -6,7 +6,7 @@ Hi, I'm @BA-atomic. I'm currently learning to collaborate with Git and GitHub. I

Unordered list used for listing markdown examples below:
- Link: [This link text will take you to Collabo Community's Github Page when you click on it!](https://github.com/collabo-community)
- Inline Code Block (with non-code text): `This code block text will show up inline`. This part of the text is just ordinary text.
- Inline Code Block (with non-code text): `This code block text will show up inline.` This part of the text is just ordinary text! Do you notice the difference?
Copy link
Member

Choose a reason for hiding this comment

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

@BA-atomic "the text will show up inline" part the full stop is supposed to be after the backtick, not before.

@BA-atomic
Copy link
Contributor Author

@collabo-community/maintainers, I have resolved it and this PR is ready for review

Copy link
Member

@Ifycode Ifycode left a comment

Choose a reason for hiding this comment

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

Hurray! Nicely done. well done @BA-atomic 🙌🏽
Agba doings 💪🏽
See you in the next task 🎉

@Ifycode Ifycode merged commit 4415c4e into collabo-community:develop Jan 27, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants