Skip to content

Add sortable Docker tag columns - #286

Merged
ericmj merged 4 commits into
mainfrom
sort-docker-tags-by-version
Aug 15, 2026
Merged

ericmj merged 4 commits into
mainfrom
sort-docker-tags-by-version

Conversation

@ericmj

@ericmj ericmj commented Aug 15, 2026 •

Copy link
Copy Markdown
Member

Add clickable, ordered multi-column sorting to the Docker tags page and the public /api/docker endpoint. Elixir, Erlang, OS, OS version, and build time sort newest first, with build time and ID breaking remaining ties.

Use numeric-aware sort keys for version fields and back them with concurrent expression indexes. Existing prefix indexes continue to serve filters. Tags can be copied from the table, and the new columns fit within desktop viewports.

Update Tidewave to version 0.8.2 from the current head of tidewave_phoenix#266, which was used to verify the LiveView behavior.

Closes #266

image

@ericmj
ericmj marked this pull request as ready for review August 15, 2026 15:53
@ericmj
ericmj merged commit 2c287e9 into main Aug 15, 2026
4 checks passed
@ericmj
ericmj deleted the sort-docker-tags-by-version branch August 15, 2026 16:17
@rhcarvalho

Copy link
Copy Markdown
Contributor

Thanks @ericmj! This will make exploring the (latest) images much easier! 💜
Looking forward to it going live!

ericmj added a commit that referenced this pull request Aug 20, 2026
…288)

A LiveView client that reconnects across a deploy remounts against the
new server code while still running the CSS and JS it loaded before the
deploy, so new markup renders unstyled and new hooks are missing. The
docker tags page showed this after #286: overlapping columns and bare
copy-feedback icons. The asset tags already carry phx-track-static, but
nothing acted on it.

Enable cache_static_manifest in prod so assets are served under digested
paths and static_changed?/1 has a manifest to compare against, and add a
StaticReload on_mount hook to both live sessions that issues a full
redirect to the current URL when the client's tracked assets are stale.

Digested paths also fix asset caching itself: without the manifest, prod
served /assets/app.css?vsn=d, which Plug.Static marks cacheable for a
year even though its content changes every deploy. The favicon needs
only_matching because ~p"/favicon.ico" now resolves to its digested
filename, which the exact-match only: list would reject.
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.

Sort Docker tags by Elixir/Erlang/OS version (latest first)

2 participants