Feat/claude ai theme#101
Conversation
…, messages wrapper
…macros to details/summary
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 13fac885d2
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| <div class="msg-row tool-reply" id="{{ msg_id }}"><div class="tool-reply-label">Result</div>{{ content_html|safe }}</div> | ||
| {%- elif role_class == 'assistant' -%} | ||
| <div class="msg-row assistant" id="{{ msg_id }}"><div class="avatar"><svg width="14" height="14" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"><line x1="10" y1="3" x2="10" y2="8" stroke="white" stroke-width="2" stroke-linecap="round"/><line x1="14.2" y1="4.4" x2="11.8" y2="8.6" stroke="white" stroke-width="2" stroke-linecap="round"/><line x1="16.6" y1="7.8" x2="12.4" y2="10" stroke="white" stroke-width="2" stroke-linecap="round"/><line x1="16.6" y1="12.2" x2="12.4" y2="10" stroke="white" stroke-width="2" stroke-linecap="round"/><line x1="14.2" y1="15.6" x2="11.8" y2="11.4" stroke="white" stroke-width="2" stroke-linecap="round"/><line x1="10" y1="17" x2="10" y2="12" stroke="white" stroke-width="2" stroke-linecap="round"/><line x1="5.8" y1="15.6" x2="8.2" y2="11.4" stroke="white" stroke-width="2" stroke-linecap="round"/><line x1="3.4" y1="12.2" x2="7.6" y2="10" stroke="white" stroke-width="2" stroke-linecap="round"/><line x1="3.4" y1="7.8" x2="7.6" y2="10" stroke="white" stroke-width="2" stroke-linecap="round"/><line x1="5.8" y1="4.4" x2="8.2" y2="8.6" stroke="white" stroke-width="2" stroke-linecap="round"/></svg></div><div class="msg-body">{{ content_html|safe }}<div class="msg-meta"><a href="#{{ msg_id }}" class="timestamp-link"><time datetime="{{ timestamp }}" data-timestamp="{{ timestamp }}">{{ timestamp }}</time></a></div></div></div> | ||
| {%- else -%} | ||
| <div class="msg-row user" id="{{ msg_id }}"><div><div class="user-bubble">{{ content_html|safe }}</div><div class="msg-meta"><a href="#{{ msg_id }}" class="timestamp-link"><time datetime="{{ timestamp }}" data-timestamp="{{ timestamp }}">{{ timestamp }}</time></a></div></div></div> |
There was a problem hiding this comment.
Preserve the message class for search indexing
When generated transcript pages are searched from index.html, templates/search.js still indexes fetched pages with doc.querySelectorAll('.message') (checked src/claude_code_transcripts/templates/search.js:148). These new wrappers no longer emit the message class for any role, so every search over transcript pages finds zero messages even when the query is present. Keep the existing class or update the search selector at the same time.
Useful? React with 👍 / 👎.
No description provided.