Skip to content

Add comments to task instance#7

Draft
dodekapod wants to merge 1 commit into
mainfrom
feat-comment
Draft

Add comments to task instance#7
dodekapod wants to merge 1 commit into
mainfrom
feat-comment

Conversation

@dodekapod
Copy link
Copy Markdown
Contributor

@dodekapod dodekapod commented May 21, 2026

Implementation of comments feature for task instances: users can write an optional free-text comment on a task, which auto-saves before advancing to the next instance

Details:

  • new Comment model
  • upsert method
  • API endpoint
  • new React CommentSection component with a textarea and character counter, wired into the task page lifecycle

Cleanup VotesProvider and TasksProvider by wrapping callbacks and context values in useCallback/useMemo.

@dodekapod dodekapod self-assigned this May 21, 2026
Copy link
Copy Markdown
Collaborator

@Matteovanypersele Matteovanypersele left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I reviewed and tested the "Add comments to task instance" commit (deployed locally, table created, create/edit/persistence working end-to-end UI→API→DB). It works.

One thing about back/Dockerfile: the three added COPY lines (back/app, entrypoint.sh, requirements.txt) seems redundant — line 14 (COPY back/ .) Was this intentional (e.g. to work around a Docker layer-cache
issue), or a leftover from debugging?

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.

2 participants