Skip to content

Port controlled document changes#8

Merged
ArtyomSavchenko merged 2 commits into
developfrom
port-controlled-docs
Jul 10, 2026
Merged

Port controlled document changes#8
ArtyomSavchenko merged 2 commits into
developfrom
port-controlled-docs

Conversation

@ArtyomSavchenko

Copy link
Copy Markdown
Member

Port controlled document changes:
file attachments copied when creating a document from a template and when drafting a new version (prior attachments carried over, except those marked deleted); attachment state tracking (referenced / deleted-in-version) + file preview in the document attachment list.

Screenshot 2026-07-10 at 18 18 10

Original author: @haiodo

Cherry-picked (partial) from intabia-fusion/platform@87f1a2674
Original-Author: Andrey Sobolev <haiodo@users.noreply.github.com>

Signed-off-by: Artem Savchenko <armisav@gmail.com>
Signed-off-by: Artem Savchenko <armisav@gmail.com>
@ArtyomSavchenko ArtyomSavchenko changed the title Port controlled docs Port controlled document changes Jul 10, 2026
@ArtyomSavchenko
ArtyomSavchenko merged commit 15bdcea into develop Jul 10, 2026
23 of 24 checks passed
ArtyomSavchenko pushed a commit that referenced this pull request Jul 21, 2026
Follow-up review fixes for the office/video port:

- #5 guest-join room access (services/love guests.ts, workspaceClient.ts):
  enforce the room's live access server-side. A host who set the room to
  DND (locked) is no longer joinable via a previously shared guest link.
  Added WorkspaceClient.findRoomById and check the Room (not the meeting's
  creation-time snapshot). Knock rooms stay allowed — the shared link is
  the host's authorization.

- #7 guest-info polling (GuestMeetingApp.svelte): fetch /guestInfo once per
  guest-token change instead of on every 1s  tick, which POSTed the
  love service every second and re-ran workspace select/navigate each time.
  Also fixed the dead 'resolving' flag so the loading state and in-flight
  guard actually work.

- #8 invite state machine (invites.ts, meetings.ts):
  * incoming invites now require status==='pending', so accepted/declined
    invites stop showing the button and knock sound during their TTL
  * knock-sound stop is guarded by incoming.length===0 (was inverted:
    stopped the sound while an invite was still pending)
  * connectToMeeting resets currentMeeting/currentMeetingRoom on any
    failure (connect error or unresolved person) so the guard no longer
    permanently blocks retry

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BZnVtCWH1hTH7EisaBdT7T
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.

2 participants