Bug where attributes set in Tree are not displayed in the dashboard
Closed this issue · 1 comments
hackerwins commented
Description:
There is a bug where attributes set in Tree are not displayed in the dashboard.
Dashboard retrieves detailed information about a document by calling the GetDocument
API from the server. It is suspected that attributes might be missing in the snapshot generated by the server.
Dashboard:
dashboard/src/features/documents/DocumentDetail.tsx
Lines 36 to 39 in d32345e
Why:
krapie commented
I think this is because codes for marshalling tree attributes are missing in Marshal()
in crdt.Tree.
(And GetDocummentSummary()
uses Marshal()
for creating snapshot).