Skip to content

ADO Lens 0.12.0 - #29

Merged
willowdev-code merged 1 commit into
mainfrom
dev
Nov 4, 2026
Merged

willowdev-code merged 1 commit into
mainfrom
dev

Conversation

@willowdev-code

Copy link
Copy Markdown
Owner

Comments can be fixed and removed, and any change can be undone.

  • ado_comment edit=<comment id> replaces a comment's text (markdown and @[name] mentions as when adding);
    edit=last takes your own latest comment on the item - fixing what was just written without looking for its id.
    The old text goes into the audit log, so ado_undo puts it back (unless someone changed the comment since).
  • ado_comment delete=<comment id>: a preview first (author, date, start of the text), then confirm=<token>;
    ado_undo adds the text back as a new comment (Azure DevOps gives it a new id and today's date). Only the author can
    change or delete a comment in Azure DevOps; the error says so.
  • ado_work_item include=comments shows each comment's id ([comment 123]).
  • ado_undo item=<n> reverts change n of the numbered list=true, id=<work item> the latest change on that item;
    the preview names later changes on the same items. A confirm token always reverts what its preview showed.
  • Fixed: a DELETE answered with an empty body (204) was reported as a failure ("The input does not contain any JSON
    tokens") although it had worked - e.g. ado_undo of a comment. Every empty answer is now a success.
  • CLI: adolens comment <id> <text> --edit <id>|last, --delete <id> --confirm <token>; adolens undo --item <n> --id <work item>.

Comments can be fixed and removed, and any change can be undone.

- `ado_comment edit=<comment id>` replaces a comment's text (markdown and `@[name]` mentions as when adding);
  `edit=last` takes your own latest comment on the item - fixing what was just written without looking for its id.
  The old text goes into the audit log, so `ado_undo` puts it back (unless someone changed the comment since).
- `ado_comment delete=<comment id>`: a preview first (author, date, start of the text), then `confirm=<token>`;
  `ado_undo` adds the text back as a new comment (Azure DevOps gives it a new id and today's date). Only the author can
  change or delete a comment in Azure DevOps; the error says so.
- `ado_work_item include=comments` shows each comment's id (`[comment 123]`).
- `ado_undo item=<n>` reverts change n of the numbered `list=true`, `id=<work item>` the latest change on that item;
  the preview names later changes on the same items. A confirm token always reverts what its preview showed.
- Fixed: a DELETE answered with an empty body (204) was reported as a failure ("The input does not contain any JSON
  tokens") although it had worked - e.g. `ado_undo` of a comment. Every empty answer is now a success.
- CLI: `adolens comment <id> <text> --edit <id>|last`, `--delete <id> --confirm <token>`; `adolens undo --item <n> --id <work item>`.
@willowdev-code
willowdev-code merged commit 070d107 into main Nov 4, 2026
4 checks passed
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.

1 participant