Skip to content

Add a visible link to open original bookmarks on X - #5

Open
zanedev wants to merge 1 commit into
sytelus:mainfrom
zanedev:codex/viewer-open-original-post
Open

zanedev wants to merge 1 commit into
sytelus:mainfrom
zanedev:codex/viewer-open-original-post

Conversation

@zanedev

@zanedev zanedev commented Sep 12, 2026

Copy link
Copy Markdown

The viewer links to original posts through the date, which is easy to overlook and offers no visible text when a bookmark has no date. Add an explicit “Open on X ↗” link to every bookmark so users can open the original tweet in a new tab.

The link uses the post ID, includes noopener noreferrer and an accessible new-tab label, has a visible keyboard focus outline, and follows the existing mobile layout. Existing text, media, and folder controls remain independently interactive.

Validation: all 65 tests on the base branch plus this change pass, including viewer rendering/security and inline JavaScript syntax checks. git diff --check passes.

This PR is based directly on main and is independent of #4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant