FluidFramework icon indicating copy to clipboard operation
FluidFramework copied to clipboard

Solution 2 Prototype where shared string talks to attributor rather than App.

Open jatgarg opened this issue 1 year ago • 1 comments

Description

Attribution means who inserted/annotated the text and at what time. Currently FF only supports attribution for the text and attribution for the props in the shared string. This means that the App can only get info about the user Id and the time at which a text is inserted/annotated like bold/italic or any other prop. We don’t allow app to store any other attribution data related to piece of text. For example,

1.) App wants to add a prop called DataSource which tells whether the source of text was from a template or not (called DataSource attribution prop on shared string).

2.) For copy paste scenario, where the user could be anyone outside the users of doc/org or even inside the doc, we need to let the app insert that custom attribution info which cannot be extracted from the op.

3.) Some copilot attribution props like “onBehalfOf” etc which tells us the user on behald of whom the text was inserted by the copilot.

Solution 1 is here: https://github.com/microsoft/FluidFramework/pull/21882

### I have not implemented Attributor as iFluidDataStoreChannel yet, as that is orthogonal to how shared string will use it. This PR is for demonstrating the changes which will be required in the shared string.

jatgarg avatar Jul 29 '24 21:07 jatgarg

⚠️ No Changeset found

Latest commit: cde58f4cbcc8caaec12a57c1c1c5bfa76b97970e

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

changeset-bot[bot] avatar Jul 29 '24 21:07 changeset-bot[bot]

This PR has been automatically marked as stale because it has had no activity for 60 days. It will be closed if no further activity occurs within 8 days of this comment. Thank you for your contributions to Fluid Framework!