Skip to content

Revert PR #4: Remove inline comments from all .cs files#5

Merged
srmiljus merged 2 commits into
mainfrom
copilot/revert-pr4-inline-comments
Mar 26, 2026
Merged

Revert PR #4: Remove inline comments from all .cs files#5
srmiljus merged 2 commits into
mainfrom
copilot/revert-pr4-inline-comments

Conversation

Copilot AI commented Mar 26, 2026

Copy link
Copy Markdown
Contributor

PR #4 added inline comments to all 10 .cs files in NotchContactFormTests. This PR removes those comments, restoring each file to its exact state at commit 8208b13.

Changes

  • Restored 10 .cs files to pre-PR Add inline comments to all .cs files in NotchContactFormTests #4 state via git checkout 8208b13 -- <file>:
    • Config/ConfigReader.cs
    • Drivers/DriverContext.cs, Drivers/WebDriverFactory.cs
    • Helpers/ExtentReportHelper.cs, Helpers/ScreenshotHelper.cs, Helpers/WaitHelper.cs
    • Hooks/Hooks.cs
    • Pages/BasePage.cs, Pages/ContactFormPage.cs
    • StepDefinitions/ContactFormSteps.cs
  • Net result: −225 lines (all inline comments removed, no logic changes)
Original prompt

Task

Revert the changes introduced by PR #4 ("Add inline comments to all .cs files in NotchContactFormTests").

PR #4 added inline comments to all 10 .cs files in the project. The goal is to remove all those added comments and restore every .cs file to the exact state it was in before PR #4 was merged.

Details

What to do

  1. Create a new branch from main (e.g., revert-pr4-inline-comments).
  2. For each .cs file that was modified in PR Add inline comments to all .cs files in NotchContactFormTests #4, remove all inline comments that were added by that PR, restoring the files to their state at commit 8208b138abbe469ac7e917e38160efbc901b4f4b.
  3. Open a pull request targeting main with a clear description that this reverts PR Add inline comments to all .cs files in NotchContactFormTests #4.

The following is the prior conversation context from the user's chat exploration (may be truncated):

User: da li mozes da mi ponistis ovaj poslednji PR i da mi vratis kako je bilo pre toga?

Assistant: Nažalost, ne mogu da poništim (revertuje) merge-ovani PR direktno — GitHub ne dozvoljava brisanje merge commit-a niti "un-merge" operaciju.

Međutim, mogu da ti kreiram novi PR koji će revertovati promene iz tog PR-a — tj. ukloniti sve inline komentare koji su dodati u .cs fajlovima. To je standardni Git način da se "ponisti" merge.

Da li želiš da kreirati revert PR koji će vratiti fajlove u stanje pre PR #4?

User: da zelim da mi ponisistis ove komentare koje si dodao u poslednjem PR-u

Assistant: Da, može! Pokrenuću agenta odmah da napravi revert PR.

Assistant: Agent je pokrenuo zadatak! Kreiraće novi PR koji uklanja sve inline komentare iz .cs fajlova i vraća ih u stanje pre PR #4. Možeš pratiti napredak na repozitorijumu — PR će se uskoro pojaviti u sekciji Pull requests na github.com/srmiljus/Notch_Automation_Task. 🚀

This pull request was created from Copilot chat.


⌨️ Start Copilot coding agent tasks without leaving your editor — available in VS Code, Visual Studio, JetBrains IDEs and Eclipse.

Restores all 10 .cs files to their state at commit 8208b13,
before PR #4 added inline comments.

Co-authored-by: srmiljus <81557246+srmiljus@users.noreply.github.com>
Agent-Logs-Url: https://github.com/srmiljus/Notch_Automation_Task/sessions/2bb4dcf7-7755-4b02-b145-7d9b8a97c2bc
Copilot AI changed the title [WIP] Revert changes from PR #4 to remove inline comments Revert PR #4: Remove inline comments from all .cs files Mar 26, 2026
Copilot AI requested a review from srmiljus March 26, 2026 10:10
@srmiljus srmiljus marked this pull request as ready for review March 26, 2026 10:13
@srmiljus srmiljus merged commit dbdd163 into main Mar 26, 2026
1 check passed
@srmiljus srmiljus deleted the copilot/revert-pr4-inline-comments branch March 26, 2026 15:12
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