What's new in J5 Code 0.0.53
Read and answer in the Inbox the way you do in a thread
Links in an agent's question now open in that agent's own panel, right beside the Inbox, so you can read the pull request, file or diff while you write your answer. And the reply box works like the composer.
Try it: the ringed parts are where to start. Open the pull request, answer the question, switch the panel's tabs.
Inbox
2 questions open
SoonRelease checker·todo-app·open 12mMerge the sort-order fix now?
FYIDocs writer·todo-app·open 40mRename the
doneflag in the README?
Nothing is waiting on you
New questions from agents will arrive here in urgency order.
Answered0
- Merge the sort-order fix now?Release checker · todo-app · answered just now · You answered
- Rename the
doneflag in the README?Docs writer · todo-app · answered just now · You answered
Release checker·Sort-order fix
Docs writer·README cleanup
harbor/todo-app#42
Sort completed todos last
mainfix/sort-completed3 files +16 -3
SummaryTimelineCodeAll checks passed
Description
Completed todos now sort after open ones, in the list view and in todo list. Order within each group is unchanged.
src/todo.js+6 -2
5 unmodified lines
- 6-/** Lists todos in the order they were added. */
- 6+/** Lists open todos first; order within each group is unchanged. */
- 7export const format = (todos) =>
- 8- todos.map((todo) => line(todo)).join("\n");
- 8+ sortCompletedLast(todos)
- 9+ .map((todo) => line(todo))
- 10+ .join("\n");
- 11
- 12+const sortCompletedLast = (todos) =>
- 13+ [...todos].sort((a, b) => a.completed - b.completed);
test/todo.test.js+9 -0
28 unmodified lines
- 29
- 30+test("format lists completed todos last", () => {
- 31+ const todos = [
- 32+ { id: 1, title: "Ship", completed: true },
- 33+ { id: 2, title: "Write tests", completed: false },
- 34+ ];
- 35+ const lines = format(todos).split("\n");
- 36+ expect(lines[0]).toContain("Write tests");
- 37+ expect(lines[1]).toContain("Ship");
- 38+});
README.md+1 -1
16 unmodified lines
- 17## Listing todos
- 18
- 19-`todo list` prints todos in the order you added them.
- 19+`todo list` prints open todos first, then completed ones.
README.md+2 -2
2 unmodified lines
- 3
- 4-A tiny todo app for the comand line.
- 4+A tiny todo app for the command line.
- 5
- 6-## Instal
- 6+## Install
Planning documents created in artifacts/ will appear here.
No artifact selected
Select an artifact to preview it.
todo-appREADME.md
- ## Marking a todo finished
- Each todo is one line in `todos.json`.
- Set `done: true` and it moves to the end.
- ```sh
- todo complete 3
- ```
Links open beside the Inbox
A pull request, file, commit, artifact or web page linked in a question opens in the asking agent's panel, next to your reply. Click a link in another question and the panel switches to that agent.
It's the agent's own panel
Tabs you open from the Inbox are there when you open the agent's thread, and its + menu offers the thread's tabs.
Answer like you chat
The reply box is the composer's editor: Enter sends, following your send setting, and your answer arrives exactly as you typed it. If one answer fails to send, the error shows under that question and the others stay usable.
Attachments like the composer
Screenshots and files show full previews you can open, HEIC photos work, and large images are shrunk to fit.
Copy, times and skills
Every message has a copy button, hovering “open 3h” shows the exact time, and $skill mentions show as chips.