feat(KB-227): allow viewing binary files as read-only in file browser

- Remove binary file restrictions from file service backend

- Add visual read-only indicator for binary files in FileBrowserModal

- Add CSS styles for binary file indicators

- Update tests to expect binary files to be readable
This commit is contained in:
gsxdsm
2026-03-30 18:55:57 -07:00
parent a253bb56af
commit 99f99ca401
4 changed files with 43 additions and 39 deletions

View File

@@ -6560,6 +6560,17 @@ html .column.drag-over * {
color: var(--text-muted);
}
.file-browser-binary-indicator {
display: inline-flex;
align-items: center;
gap: 4px;
font-size: 11px;
color: var(--text-muted);
background: var(--bg-tertiary);
padding: 2px 8px;
border-radius: 4px;
}
.file-browser-loading {
font-size: 11px;
color: var(--todo);