generalbots/botui/ui/suite/partials/sessions.html
Rodrigo Rodriguez (Pragmatismo) 037db5c381 feat: Major workspace reorganization and documentation update
- Add comprehensive documentation in botbook/ with 12 chapters
- Add botapp/ Tauri desktop application
- Add botdevice/ IoT device support
- Add botlib/ shared library crate
- Add botmodels/ Python ML models service
- Add botplugin/ browser extension
- Add botserver/ reorganized server code
- Add bottemplates/ bot templates
- Add bottest/ integration tests
- Add botui/ web UI server
- Add CI/CD workflows in .forgejo/workflows/
- Add AGENTS.md and PROD.md documentation
- Add dependency management scripts (DEPENDENCIES.sh/ps1)
- Remove legacy src/ structure and migrations
- Clean up temporary and backup files
2026-04-19 08:14:25 -03:00

25 lines
801 B
HTML

{% for session in sessions %}
<div class="session-item{% if session.active %} active{% endif %}"
id="session-{{ session.id }}"
hx-post="/api/chat/sessions/{{ session.id }}"
hx-target="#messages"
hx-swap="innerHTML">
<div class="session-info">
<div class="session-name">{{ session.name }}</div>
<div class="session-preview">{{ session.last_message }}</div>
</div>
<div class="session-meta">
<span class="session-time">{{ session.timestamp }}</span>
</div>
</div>
{% endfor %}
{% if sessions.is_empty() %}
<div class="empty-state">
<p>No conversations yet</p>
<button hx-post="/api/chat/sessions/new"
hx-target="#session-list"
hx-swap="afterbegin">
Start a conversation
</button>
</div>
{% endif %}