kontent-ai / kontent-ai/data-ops
Sync Diff Print Where Snippet Element Should be Moved
- Dominant language
- TypeScript
- Stars
- 13
- Forks
- 7
- Avg merge
- 3d 23h
- Merged PRs (30d)
- 1
Description
### Motivation
When created, the snippet element can't be referenced in the same request. Improving the current solution would be nice.
### Proposed solution
Firstly, check whether diff creates a move operation for this snippet. If not, add the patch operation for this element - it would probably need some differentiator from other move operations.
There are two options:
1. send another request to move snippet elements
2. print where the snippet should be moved manually from UI
Contributor guide
Research direction
Start by tracing the diff behavior for newly created snippet elements and how move and patch operations are represented. Compare the two proposed approaches—an additional move request or a UI message—and clarify which behavior should be implemented. Done should mean the sync diff identifies where the snippet element must be moved and communicates or performs that move without relying on a same-request reference.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100