@ai-matrx/office 0.8.43 → 0.8.44
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.8.44
|
|
4
|
+
|
|
5
|
+
UNVERIFIED: this release has no Unreleased entry and the source comparison could not be made (the caller supplied no source comparison). Whether source changed is unknown; consumer action is unknown.
|
|
6
|
+
Check the package's gitHead on npm against this version's gitHead: `git diff <previous gitHead> <this gitHead> -- apps/shared/office/src`.
|
|
7
|
+
|
|
3
8
|
## 0.8.43
|
|
4
9
|
|
|
10
|
+
- Collaborator chips: `startWorkbookOtRoom` and the Docs room take an optional `avatarUrl` next to `displayName`; a seat with no name is shown as "Someone", never its user-id prefix. Consumer action: pass the signed-in person's `displayName` and `avatarUrl` (the Workbook editor now does).
|
|
5
11
|
- `Workbook` and `DocumentRow` drop `is_public`: the `workbench.udt_workbooks` / `udt_documents` column is retired; `visibility` is the one access word.
|
|
6
12
|
Consumer action: read `row.visibility === "public"` wherever `row.is_public` was read.
|
|
7
13
|
|
package/dist/univer-collab.cjs
CHANGED
|
@@ -1641,7 +1641,7 @@ function documentOtFactory(o) {
|
|
|
1641
1641
|
}
|
|
1642
1642
|
const doc = new Y2.Doc();
|
|
1643
1643
|
const awareness = new import_awareness2.Awareness(doc);
|
|
1644
|
-
awareness.setLocalState({ uid: o.uid, clientId: o.clientId, name: o.displayName
|
|
1644
|
+
awareness.setLocalState({ uid: o.uid, clientId: o.clientId, name: o.displayName || "Someone", ...o.avatarUrl ? { avatarUrl: o.avatarUrl } : {}, ts: Date.now() });
|
|
1645
1645
|
const stopColor = (0, import_collab3.claimCollaboratorColor)(awareness, { uid: o.uid, clientId: o.clientId });
|
|
1646
1646
|
const carets = new RemoteCaretBook(awareness.clientID);
|
|
1647
1647
|
const emit = () => onAwareness({ states: new Map(awareness.getStates()), selfUid: o.uid, carets: carets.list() });
|
|
@@ -4841,7 +4841,8 @@ async function startWorkbookOtRoom(port, o) {
|
|
|
4841
4841
|
awareness.setLocalState({
|
|
4842
4842
|
uid: o.uid,
|
|
4843
4843
|
clientId: o.clientId,
|
|
4844
|
-
name: o.displayName
|
|
4844
|
+
name: o.displayName || "Someone",
|
|
4845
|
+
...o.avatarUrl ? { avatarUrl: o.avatarUrl } : {},
|
|
4845
4846
|
sheetId: null,
|
|
4846
4847
|
row: null,
|
|
4847
4848
|
col: null,
|