Skip to content

Feat: AI Reader Assistant chatbot in manga reader#20

Closed
Copilot wants to merge 1 commit into
feat/apply-AI-chatboxfrom
copilot/sub-pr-19
Closed

Feat: AI Reader Assistant chatbot in manga reader#20
Copilot wants to merge 1 commit into
feat/apply-AI-chatboxfrom
copilot/sub-pr-19

Conversation

Copilot AI commented Mar 15, 2026

Copy link
Copy Markdown

Adds an AI-powered chatbot accessible from the manga chapter reader, allowing authenticated users to ask questions about the current comic/chapter.

Changes

  • ReaderChatbot component (src/features/chapters/reader/ReaderChatbot.jsx) — bottom-sheet modal with chat UI: sample questions on empty state, message bubbles, loading indicator, and bilingual (vi/en) responses
  • Chapter reader (src/app/story/chapter/[id].jsx) — floating action button (🤖) toggles ReaderChatbot visibility, passing comicId and currentChapterNumber
  • API (src/features/chapters/api.js, src/services/api/endpoints.js) — askReaderChatbot(comicId, message, currentChapterNumber) POSTs to /api/comics/:comicId/reader-chatbot with requiresAuth: true
  • i18n (src/i18n/locales/en.js, vi.js) — added story.chatbot.* keys (title, hint, placeholder, thinking, samples, errorMessage)
  • Auth gate — unauthenticated users see a prompt to log in; input row is hidden

📍 Connect Copilot coding agent with Jira, Azure Boards or Linear to delegate work to Copilot in one click without leaving your project management tool.

Copilot AI mentioned this pull request Mar 15, 2026
Copilot AI changed the title [WIP] Add AI application feature Feat: AI Reader Assistant chatbot in manga reader Mar 15, 2026
Copilot AI requested a review from Astersa March 15, 2026 08:20
@Astersa Astersa closed this Mar 15, 2026
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