Skip to content

Release 2026.26 - #318

Merged
novoj merged 2 commits into
mainfrom
dev
Oct 31, 2026
Merged

novoj merged 2 commits into
mainfrom
dev

Conversation

@novoj

@novoj novoj commented Oct 31, 2026

Copy link
Copy Markdown
Contributor

No description provided.

JNO and others added 2 commits October 31, 2026 19:51
…ithout extra filing

An owner could invite a colleague directly to an item the colleague already
saw through a shared folder, because the share dialog and the copy-link
popover counted direct invitations only. Accepting that invitation required
filing it into one of the receiver's own folders, so the item showed up
twice in the receiver's tree.

Owner side:
- GET /api/items/[id]/shares also returns the folder audience: the folder
  owner and pending or accepted folder receivers, labelled with the item
  owner's own folder or attachment name.
- The share dialog groups people by folder, labels them in search, offers no
  direct invite for them and links to the folder's sharing (folder owner
  only). inviteToItem skips them.
- Copy link is never blocked. The popover and the header count distinct
  people across direct and folder access.

Receiver side:
- Invitations list the receiver's own accepted folder paths to the item.
- Accept without a folder is allowed only when such a path exists, rechecked
  inside the share transaction. The same rule lets the receiver remove an
  extra filing again.
- Ordinary invitations still require filing, and the dialog says why.
- One ReceivedItemDialog body serves acceptance and later filing for
  recordings and mail. Folders created in it reach the dashboard state.
- Removing a direct share says where the item stays visible and keeps the
  row.

No schema change. Decision record:
2026-10-31-share-acceptance-with-existing-folder-access.
fix(sharing): show folder access when sharing an item and accept it without extra filing
@novoj
novoj merged commit fb6962d into main Oct 31, 2026
16 checks passed
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