Skip to content

feat: attachment size limit in workspace settings (#196)#212

Merged
careck merged 1 commit into
developmentfrom
feat/196-attachment-size-limit
Jun 10, 2026
Merged

feat: attachment size limit in workspace settings (#196)#212
careck merged 1 commit into
developmentfrom
feat/196-attachment-size-limit

Conversation

@careck

@careck careck commented Jun 10, 2026

Copy link
Copy Markdown
Member

Summary

  • Adds get_attachment_max_size_mb / set_attachment_max_size_mb Tauri commands wrapping existing core methods
  • Adds "Settings" section to WorkspacePropertiesDialog with attachment size limit number input
  • Default 10 MB, enforced range 1–500 MB, always required (no "unlimited" option)
  • i18n across all 7 locales
  • Mobile-ready: inputMode="numeric" for touch keyboard, responsive layout via existing 640px media query

Closes #196

Test plan

  • Open Workspace Properties → "Settings" section visible above "Properties"
  • Default 10 MB shown for workspaces with no stored value
  • Change to 25 MB, save, reopen → value persists
  • Enter 0 → red error, save button disabled
  • Enter 501 → red error, save button disabled
  • Non-owner sees disabled/read-only field
  • Attach file exceeding limit → error from core layer
  • Responsive layout works at narrow widths (mobile)

- Add get/set_attachment_max_size_mb Tauri commands (default 10 MB, range 1-500)
- Add "Settings" section to WorkspacePropertiesDialog above existing "Properties"
- Number input with validation, disabled for non-owners
- i18n keys across all 7 locales (en, de, es, fr, ja, ko, zh)
@careck careck merged commit 77ad05b into development Jun 10, 2026
2 checks passed
@careck careck deleted the feat/196-attachment-size-limit branch June 10, 2026 03:41
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.

1 participant