Presenting Content type property diff
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 523
- Forks
- 75
- Avg merge
- 3d 16h
- Merged PRs (30d)
- 24
Description
Summary of the new feature / enhancement
The discussion from the WG regarding the FileContent resource was around how to present to the user which line in the content was different rather than just indicating the entire content property was different.
Proposed technical implementation details (optional)
Resource can optionally return the diff if it implements test directly. However, this is currently expected to be a list of properties that differ. We can enhance this by adding a structured syntax to identify a specific line. For example:
content:200
This would indicate that line 200 in property content differs.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the FileContent resource discussion and the current handling of property differences returned by resources that implement test directly. Determine how a structured value such as content:200 can be represented and presented to users, then verify that content differences identify the relevant line rather than only the property.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 38/100