Add a "Copy link" button to resultset headers - #99
Open
audiodude wants to merge 3 commits into
Open
Conversation
audiodude
force-pushed
the
copy-result-link
branch
from
August 13, 2026 13:31
e83b323 to
d14f8fd
Compare
audiodude
force-pushed
the
copy-result-link
branch
2 times, most recently
from
August 13, 2026 13:38
43bd9a7 to
c7dd119
Compare
audiodude
force-pushed
the
fix-ci-black
branch
from
August 13, 2026 13:43
48b8e7d to
acb5bd9
Compare
audiodude
force-pushed
the
copy-result-link
branch
2 times, most recently
from
August 13, 2026 13:48
59ed8e7 to
460ff1a
Compare
The result output URLs (/run/<id>/output/<resultset>/<format>) are already unauthenticated and serve Access-Control-Allow-Origin: *, so they can be consumed from outside Quarry - a spreadsheet's import-from-URL, a bot, a notebook. Until now the only way to get one was to right-click a "Download data" entry and copy the link address. Add a "Copy link" dropdown beside "Download data", offering the same six formats. It copies the absolute URL to the clipboard and shows a transient "Copied to clipboard" confirmation in the resultset header. The download links are unchanged. The confirmation appears immediately and fades over 1.5s via a CSS transition; jQuery's .fadeOut() is disallowed by eslint (no-jquery/no-fade). compiled.js is regenerated with `npm run build`. This patch was written with AI assistance (Claude Code). It has been reviewed and tested by hand: eslint passes, and the button was verified in a browser against a local docker-compose instance, including a query with multiple resultsets. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Bug: T434787
Downloading is the primary action for most people looking at a resultset, so it keeps btn-info and the rightmost position. "Copy link" is the secondary action and moves to its left as btn-default. The right-alignment on the dropdown menu moves with it, so it is the rightmost menu that stays inside the column. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Bug: T434787
audiodude
force-pushed
the
copy-result-link
branch
from
August 13, 2026 13:50
ae738e4 to
b6bc40e
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a Copy link dropdown next to Download data in each resultset header, offering the same formats as download. Clicking a format copies the absolute result URL to the clipboard and shows a confirmation link.
This is a frontend change only and uses the same public links as "download data", simply exposing them in the UI.
🤖 Generated with Claude Code
Manually reviewed by @audiodude
The
py3-blackcheck fails on this branch. It fails onmaintoo, for every open PR, and is unrelated to this change: the tox black environment is unpinned, so a new black release reformatted code nobody touched. Tracked in T434789 with a fix in #100 — that PR is independent of this one and can merge in either order.