Skip to content

feat(AMLL TTML Tool): improve presence reliability - #11076

Open
TheX24 wants to merge 14 commits into
PreMiD:mainfrom
TheX24:feat/amll-ttml-tool-presence
Open

feat(AMLL TTML Tool): improve presence reliability#11076
TheX24 wants to merge 14 commits into
PreMiD:mainfrom
TheX24:feat/amll-ttml-tool-presence

Conversation

@TheX24

@TheX24 TheX24 commented Aug 1, 2026

Copy link
Copy Markdown

What changed

  • replaces brittle direct state guessing on the fork with a versioned presence bridge
  • keeps a guarded DOM compatibility adapter for the original AMLL TTML Tool
  • reports editor mode, project title, line progress, play/pause state, and playback-rate-aware timestamps
  • expands metadata matching to all supported AMLL TTML Tool deployments

Why

The previous activity depended on Radix selectors, icon path data, and an IndexedDB schema that can change independently of the activity. That caused incorrect metadata and playback state, particularly on the fork, while new deployment domains were not activated by the metadata matcher.

Impact

Fork deployments can publish stable, accurate presence data. The original editor remains supported through the compatibility adapter, so this does not require upstream website changes.

Validation

  • focused ESLint check for the activity and metadata
  • git diff --check
  • reconciled against current upstream/main

Screenshots

Original
image

Fork
image

TX24 and others added 12 commits April 30, 2026 22:42
Co-authored-by: Daniel Lau <32113157+theusaf@users.noreply.github.com>
Signed-off-by: TX24 <tx24@tx24.is-a.dev>
Consume the fork's stable presence bridge while retaining a guarded DOM fallback for the original editor. Show playback details and route repository buttons to the matching project.\n\nValidated with the focused ESLint check.
Extend the PreMiD URL matcher to cover every listed AMLL TTML Tool deployment, including root URLs without a trailing slash.\n\nValidated with focused ESLint and git diff checks.
…-presence

# Conflicts:
#	websites/A/AMLL TTML Tool/metadata.json
#	websites/A/AMLL TTML Tool/presence.ts
@dimerp

dimerp Bot commented Aug 1, 2026

Copy link
Copy Markdown
Contributor

🖼️ Activity asset preview

Fresh pixels, hot off the CDN — I lined them all up for inspection. 👀

AMLL TTML Tool (websites/A/AMLL TTML Tool) — update

Preview Source URL
logo https://cdn.rcd.gg/PreMiD/websites/A/AMLL%20TTML%20Tool/assets/logo.png
thumbnail https://cdn.rcd.gg/PreMiD/websites/A/AMLL%20TTML%20Tool/assets/thumbnail.png

Beep boop — I refresh this comment on every push, so no need to scroll. 🤖

@TheX24
TheX24 marked this pull request as ready for review August 1, 2026 14:30
Comment thread websites/A/AMLL TTML Tool/metadata.json Outdated
Comment thread websites/A/AMLL TTML Tool/presence.ts Outdated
TheX24 added 2 commits August 4, 2026 01:00
Remove unsupported activity buttons and normalize the configured domain matcher to the repository's accepted regex style.\n\nValidated with focused ESLint and git diff checks.
@TheX24
TheX24 requested a review from theusaf August 3, 2026 23:07

@theusaf theusaf left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add screenshots showing the changes working?

@TheX24
TheX24 requested a review from theusaf August 4, 2026 20:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

2 participants