Skip to content

feat(play): say which of several files from the chat is coming - #16

Merged
alekswebnet merged 2 commits into
mainfrom
feat/several-attachments
Nov 28, 2026
Merged

alekswebnet merged 2 commits into
mainfrom
feat/several-attachments

Conversation

@alekswebnet

@alekswebnet alekswebnet commented Nov 28, 2026 •

Copy link
Copy Markdown
Contributor

Part of missing-elements/h5p-toolkit#301: the same change as missing-elements/missing-elements.github.io#134, copied, so the two play pages stay one code.

The card from missing-elements/h5p-toolkit#303 fetches every attached file the activity names and hands them over together. The page's line says which file of how many is coming. The Worker takes the new card once h5p-mcp is released with it and worker/ moves its pin.


Summary by cubic

Updates the play page to say which of several files is currently downloading, instead of just "Getting your file…". The progress line now shows the file's position, like "Getting your files… 2 of 3, 45 of 128 kB", for files from the chat and ones the page fetches itself; the progress bars name the file too.

The Worker only starts sending the file position once h5p-mcp is released with it and worker/ moves its pin.

Written for commit 77496be. Summary will update on new commits.

View guided diff Turn on auto-fix

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

All reported issues were addressed across 1 file

Reply with feedback, questions, or to request a fix.

View guided diff | Turn on auto-fix | Re-trigger cubic

Comment thread src/h5p/play/play-page.ts Resolved
Comment thread src/h5p/play/play-page.ts Resolved
@alekswebnet
alekswebnet merged commit f5814f5 into main Nov 28, 2026
4 checks passed
@alekswebnet
alekswebnet deleted the feat/several-attachments branch December 3, 2026 20:50
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