-
Notifications
You must be signed in to change notification settings - Fork 0
Remove textual conflict marker support, consolidate to semantic resolution only #15
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
Conversation
…erge_uu.sh Co-authored-by: Avni2000 <77120766+Avni2000@users.noreply.github.com>
Co-authored-by: Avni2000 <77120766+Avni2000@users.noreply.github.com>
Co-authored-by: Avni2000 <77120766+Avni2000@users.noreply.github.com>
…on.ts Co-authored-by: Avni2000 <77120766+Avni2000@users.noreply.github.com>
Co-authored-by: Avni2000 <77120766+Avni2000@users.noreply.github.com>
Co-authored-by: Avni2000 <77120766+Avni2000@users.noreply.github.com>
Co-authored-by: Avni2000 <77120766+Avni2000@users.noreply.github.com>
Co-authored-by: Avni2000 <77120766+Avni2000@users.noreply.github.com>
|
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the
✨ Finishing touches🧪 Generate unit tests (beta)
Comment |
|
@coderabbitai can you see if there's anything else the AI missed? Project compiles, runs, and resolves correctly (manually) though. |
|
Tip For best results, initiate chat on the files or code changes. 🧩 Analysis chain
🏁 Script executed: Length of output: 921 🏁 Script executed: Length of output: 25749 🏁 Script executed: Length of output: 7548 🏁 Script executed: Length of output: 4840 🏁 Script executed: Length of output: 1189 🏁 Script executed: Length of output: 3011
1. Orphaned Type Definitions in
|
|
Nope, that's fine. |
Removes all textual and HTML conflict marker detection/resolution code. Extension now exclusively handles semantic conflicts via Git staging areas (UU status).
Changes
Core detection and resolution (~1000 lines removed)
conflictDetector.ts: Removed HTML pattern matching, inline marker parsing, cell-level conflict detectionresolver.ts: RemovedresolveTextualConflicts(),applyTextualResolutions(),hasTextualConflicts()methodsgitIntegration.ts: SimplifiedisSemanticConflict()to only check UU statusType system cleanup
types.ts: RemovedhasTextualConflictsfield fromNotebookSemanticConflictweb/webTypes.ts: RemovedWebTextualConflict,WebCellConflictinterfacestype: 'textual' | 'semantic'unions totype: 'semantic'UI simplification
extension.ts: Removed textual conflict UI path in quick-pick menuweb/client/ConflictResolver.tsx: RemovedbuildMergeRowsFromTextual()functionweb/WebConflictPanel.ts: Removed textual conflict rendering logicDocumentation
AGENTS.md: Removed references to04_Cascadia.ipynbandsimple-textual-conflict.ipynbtest casessimulate_merge_uu.sh: Removed-textualflag documentationAll semantic conflict functionality (cell matching, three-way merge, auto-resolution) remains unchanged.
Original prompt
Remove, one at a time, all mention and code regarding textual (this is what we mostly called it)/html conflicts.
I was trying to keep up with nbdime putting in conflict markers <<<<<<, but now I don't care much.
It'll be all over the codebase, you must remove it from EVERYWHERE. Make sure to run npm run compile at the end to verify it compiles.
You don't need to touch #file:ConflictResolverPanel.ts because it's an old artifact we're keeping as reference. Check everywhere else (including #file:simulate_merge_uu.sh #file:AGENTS.md and such
[Chronological Review: The conversation began with the user requesting the removal of all mentions and code regarding textual/html conflicts from the codebase. The user specified that they no longer wanted to maintain conflict markers and requested a thorough search across various files, explicitly excluding the file ConflictResolverPanel.ts. The user also emphasized the need to run npm run compile to verify the changes after the removals.][Intent Mapping: The user explicitly requested, "Remove, one at a time, all mention and code regarding textual (this is what we mostly called it)/html conflicts." They also stated, "Make sure to run npm run compile at the end to verify it compiles," indicating a need for code integrity post-modification.]
[Technical Inventory: The conversation involved the following technical components:
[Code Archaeology: The user is focused on removing conflict markers and related code from multiple files, particularly AGENTS.md and simulate_merge_uu.sh, while ensuring that the changes do not affect the old artifact file, ConflictResolverPanel.ts.]
[Progress Assessment: The user has not yet begun the removal process, as they are still in the initial request phase. The next steps involve identifying and removing the specified code from the mentioned files.]
[Context Validation: All necessary context for continuation is captured, including the specific files to modify and the user's intent to verify the code's functionality post-removal.]
[Recent Commands Analysis: The last agent command was the user request to remove conflict-related code from the codebase. There were no tool results to summarize as the command was a directive rather than an execution of a tool.]
1. Conversation Overview: - Primary Objectives: The user requested to "Remove, one at a time, all mention and code regarding textual (this is what we mostly called it)/html conflicts" from the codebase and to "Make sure to run npm run compile at the end to verify it compiles." - Session Context: The conversation has focused on the user's directive to clean up the codebase by removing specific conflict markers and related code, with a clear emphasis on maintaining code integrity through compilation checks. - User Intent Evolution: The user has shifted from initially trying to manage conflict markers to a more decisive stance of removing them entirely.- Technical Foundation:
- Repository: MergeNB
- Current branch: web
- Default branch: main
- Codebase Status:
- File Name: AGENTS.md
- Purpose: Contains agent-related documentation and code.
- Current State: Awaiting modifications to remove conflict markers.
- File Name: simulate_merge_uu.sh
- Purpose: Script related to simulating merge scenarios.
- Current State: Needs review for conflict-related code removal.
- File Name: ConflictResolverPanel.ts
- Purpose: An old artifact kept for reference.
- Current State: No changes required.
- Problem Resolution:
- Issues Encountered: The presence of conflict markers and related code throughout the codebase.
- Solutions Implemented: None yet; the user has outlined a plan for removal.
- Progress Tracking:
- Completed Tasks: None; the user has just initiated the request for code removal.
- Partially Complete Work: The process of identifying and removing conflict-related code is pending.
- Validated Outcomes: None yet; verification through compilation is planned post-removal.
- Active Work State:
- Current Focus: The user is preparing to remove conflict-related code from the codebase.
- Recent Context: The user has reiterated the need to check multiple files for conflict markers and to run a compilation check afterward.
- Working Code: No specific code snippets have been modified yet.
- Immediate Context: The user is about to start the removal process as per their last request.
- Recent Operations:
- Last Agent Commands: The user requested the removal of conflict-related code from the codebase.
- Tool Results Summary: No tool results to summarize as the command was a directive.
- Pre-Summary State: The agent was actively preparing to execute the user's request for code removal.
- Operation Context: The user aims to clean up the codebase by removin...
Created from VS Code.
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.