feat/class-calendar #16

Merged
polez merged 11 commits from feat/class-calendar into main 2026-10-20 12:58:45 +02:00
Collaborator

some smooth implementations

some smooth implementations
In a narrow window the stacked layout now lets the page scroll and gives
Course material and My files a usable height each, instead of squeezing
them into what the chat leaves. The top bar wraps onto a second row
instead of letting the workspace actions cover each other.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
My files gets the same view switch as the course material: folders as
cards that open one at a time, with a breadcrumb back, or the list with
folders expanded in place. Uploads and drops inside an open folder land
in it. Each panel remembers its own view; thumbnails are the default.

The view switch, folder grid and file card are now shared by both panels.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
In the chat rail, chats can be dragged into a memory folder, where they
share its memory, or out of it onto "Chats" to make them private again.
Chats in a folder are marked with a dash. The "Memory folder for…" select
stays as the way to do it without dragging.

Selecting a folder highlights it and opens a new chat in it, so the
composer shows that folder's memory; selecting "Chats" opens a new
private chat. RAG already accepts only the user's own folders.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
In the thumbnail view, dragging a file inside an open folder now shows the
rest of the panel beside it: its other folders and loose files, under the
panel's name. Dropping there takes the file out of the folder; dropping on
another folder card moves it there. The breadcrumb back to the panel takes
drops as well. Works the same in Course material and My files.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
On narrow thumbnail cards the move link squeezed the folder select down to
its arrow. The card's actions now wrap, putting the links under the select.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A small round badge with the uploader's initial replaces the "Only you"
chip. A student's own files in the course material get their initial in
the accent colour ("You · only you can see this file" on hover). In a
group every shared file shows its uploader's initial, with the name on
hover and read out to screen readers; the member's own files are in the
accent colour ("You"). The teacher's view, where every file is theirs,
shows no badges.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Dropping a file on a folder inside a panel left the panel's dashed outline
on, since the folder takes the drop and the panel never hears the drag is
over. Every drop highlight, chat folders included, is now cleared when a
drag ends, wherever it ends.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
When a file dragged inside an open folder was dropped on one of the folders
shown in the drop area, nothing happened: the area was removed as soon as
the drop began, taking the folder under the pointer, and its drop handler,
with it. The area now closes only after the drop reached its target, so the
file moves into that folder (or out of every folder, on the area itself).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Memory folders in the chat rail now sit on the page's grey background
(the documents column's), with a thin border, so they read as containers
rather than as one more chat, in light and dark themes alike.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The folder's delete button is now a trash can, and deleting asks first,
counting the files that go with the folder. The backend does the cascade:
DELETE /api/knowledge-folders/{id}?documents=all|shared|private deletes
the folder's files through RAG (the file, its processed copy and its
index chunks), then the folder once no file the user can see is left in
it, and reports what it deleted and what it kept.

RAG lets only a file's uploader delete it, so in a group other members'
files stay, and the folder with them; the user is told so. Where two
panels share the folders (a teacher's course material and My files, a
group's files and My files), deleting from one panel asks whether to
delete the folder in the other panel too. A panel now lists a folder
while it holds files there, or none in the other panel, so a folder
kept for one panel no longer shows empty in the other.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
feat: deleting a chat folder deletes the chats in it
All checks were successful
ragoon-ui-ci / validate (pull_request) Successful in 9m6s
26068aee85
The chat folder's delete button is now a trash can, like the document
folders'. Deleting asks first, counting the chats in the folder, then
deletes each chat (its history and server memory) and the folder's
shared memory, instead of moving the chats out. RAG cannot list which
chats are in a folder, so the browser deletes them one by one; RAG
checks every deletion against the user's own chats. If a step fails,
the chats already deleted leave the list and the folder stays.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
polez merged commit 23cee90e3c into main 2026-10-20 12:58:45 +02:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
sergi/ragoon-ui!16
No description provided.