Skip to content

[FEAT] Sync: propagate updated attachments #1057

Description

@ltguillaume

✅ Before submitting

  • I searched existing issues and discussions
  • This is one request (not multiple unrelated features)

💻 Target Platform

  • Desktop
  • Mobile
  • Cloud / Sync / MCP
  • Cross-platform

🧭 Area

  • Inbox / review workflow
  • Projects / areas / sections
  • Search / filter
  • Notifications / recurrence / calendar
  • Sync / attachments
  • UI / accessibility / i18n
  • Release / distribution
  • Other

🤔 Is your feature request related to a problem?

Currently, Mindwtr considers attaching files a one-off operation: even if you link to an external file, which is then synced, any updates to the original file get ignored.

💡 Proposed Solution

If the original file, either a linked attachment or a regular one, gets updated locally, propagate the changed file via sync.

  • Save the modification timestamp as reference
  • It might be good to save a hash of the file, too. At least after having opened the document via Mindwtr, it could check for changes, even if the modification timestamp hasn't changed.
  • If the file has changed, up the revision number of the record and if sync is enabled, re-upload the file
  • If a synced device sees the revision number of an attachment is upped, re-download the file

Metadata

Metadata

Assignees

Labels

area:attachmentsAttachment upload/download and lifecyclearea:syncSync engine and conflict resolutionenhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions