* feat(tracking): measure Motion editor exports, manual edits and feature usage
Add Studio-owned events for the MVP editor so export success and manual
editing can be read per installation and per project, and each phase-one
feature has one signal.
- studio_export_request_result / studio_export_result: one request result
per start attempt and one terminal result per accepted UI render, joined
by a browser-minted export_id. UI renders use the editor pipeline and do
not reach the worker export_result, which is unchanged.
- studio_edit_result: one event per committed history entry, emitted where
Studio claims the entry, with closed edit_kind and surface. Coalesced
claims report once; in-page Agent tool writes are skipped. Project rename,
asset rename/delete and save failures report from their own owners.
- studio_history_step_result, studio_asset_import_result and
studio_notice_shown for undo/redo, UI imports and shown notices.
- ui_click gains studio areas/elements and a closed option field.
- Editor events carry project_scope; project_id only when it is a UUID.
Editor modules report through an installed sender, so an editor mounted
without the Motion host reports nothing and never imports the transport.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
* feat(tracking): add video length, project scale and template attribution to editor events
- studio_export_request_result / studio_export_result gain
video_duration_bucket for the composition being rendered.
- studio_load_result and the export request gain clip, asset and
composition count buckets, read from memory only and reported as
unknown when not yet loaded.
- The editor's template library (the shared gallery) now reports copy
click and actual copy result, preview, use, category change and one
search per query through an optional listener; the gallery itself owns
no tracking code.
- template_id is accepted only by a new bounded slug validator; ids that
do not match are omitted. The id of the template a project was created
from is added to the load and UI export events when the workspace
catalogue already holds it.
No host field is added to studio_load_result: the Studio page does not
know which host product opened it.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
* fix(tracking): report reconciled export outcomes and the default frame rate
A cancel is optimistic, so the terminal export event could record a render the
server had already finished as cancelled. Hold the report until the cancel
route answers and use the status it returns. An omitted frame rate renders at
30 fps and is now classified as such instead of other.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
* fix(tracking): withhold export outcomes for unconfirmed cancels
When the cancel request fails the render may still be running, so the optimistic
cancelled row is not a terminal state. Skip the terminal event in that case and
document the gap.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
* fix(tracking): report the unreachable-project notice only once it renders
The banner returns nothing until the served-project list arrives, so tie the
notice event to that state instead of the mount.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
* test(tracking): use fixture paths the release scan accepts
The source scan rejects personal-path shaped strings, including the private-path
fixtures these tests feed to the sanitizers.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
* fix(tracking): derive editor closed sets from the tracking registry
editorTracking restated the studio event enums as local literals: the
ui_click option list, the template copy host list, and the export
format/quality/fps acceptance checks. A value added to the registry alone
left those copies stale, and the affected series silently reported `other`,
`mp4` or `standard` with no failing test.
Build the runtime sets from the exported registry that already validates
every event, keep the resolution preset mapping as it is, and cover the
derivation by asserting every registered option, format, quality, host and
frame rate is reported as itself.
Generated-By: looper 0.16.2 (runner=fixer, agent=pi)
* fix(readme): align Codex and Claude Code agent badges (#287)
Co-authored-by: joeylee12629-star <236967869+joeylee12629-star@users.noreply.github.com>
* fix(tracking): report the new template library, side rail and layer opacity
feature/motion replaced the MVP template library, added a collapsed side rail
and saves animated-layer opacity as a multiplier. Report preview, facet, search,
copy and open from the new library through the shared template reporter, report
rail icons as the tab click they stand for, and classify the opacity multiplier
as an opacity edit.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
* fix(tracking): drop duplicate import after merge and cover the settings area
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: zhanghuihua <zhanghuihua@huihuideMacBook-Pro.local>
Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
Co-authored-by: luogao <luogao@refly.ai>
Co-authored-by: Joey-nexu <joeylee12629@gmail.com>
Co-authored-by: joeylee12629-star <236967869+joeylee12629-star@users.noreply.github.com>
Co-authored-by: huihui-crypto <huihuazhanghuihua@gmail.com>