Skip to content

Refresh portal gallery cards and thumbnails against what is deployed - #47

Open
dauglyon wants to merge 3 commits into
mainfrom
portal-cards-refresh
Open

Refresh portal gallery cards and thumbnails against what is deployed#47
dauglyon wants to merge 3 commits into
mainfrom
portal-cards-refresh

Conversation

@dauglyon

@dauglyon dauglyon commented Sep 8, 2026

Copy link
Copy Markdown
Collaborator

Every field re-derived per the rules in the card comment block, checked against the live portals at gen2.kbase.us and the newest tag in each kbaseincubator repo (tag commit dates via the GitHub API, 2026-09-08). Four project portals turned out to sit behind a new shared team-password gate ("Project-scoped preview — soft access gate for the test phase"); team passwords let us behind three of them.

Versions and dates

Portal Card said Now How derived
Function Junction v0.2.0 v0.3.0 · 2026-08-31 printed by the deployed portal (behind its v0.3.1 tag)
genKnown v0.1.3 v0.1.7 · 2026-09-07 prints no version anywhere on the page → newest tag (comment added)
Fungal Jungle v0.6.0 v0.7.5 · 2026-09-01 printed by the deployed portal
Plant Terra v0.2.2 v0.2.3 · 2026-08-29 printed by the deployed portal
Diaspora v0.2.0 v0.4.1 · 2026-09-07 printed by the deployed portal
ENIGMA Strata v0.4.0 v0.5.0 · 2026-08-31 printed by the deployed portal, read from behind its gate
PMI Understory v0.2.2 v0.3.2 · 2026-09-01 prints no version behind its gate → newest tag; existing thumbnail verified current (same view and counts inside)
Phagecast v0.46.0 v0.48.0 · 2026-09-04 password-gated (password changed) → newest tag
PROTECT ASMA v0.1.0-review v0.3.0 · 2026-09-07 prints no version behind its gate → newest tag
IDEAS Portal v0.1.4 v0.1.7 · 2026-09-01 prints no app version → newest tag

Whether gated portals should stay in the public gallery, or their cards should mention the gate, is a separate call this PR does not make.

Sources

Re-checked every card against its registry at the new tag. Two moved:

  • Fungal Jungle (src/fungal_jungle/sources.py @ v0.7.5): TCDB is no longer credited; Fungal Fitness Browser (RB-TnSeq) and Yeast HIP-HOP chemical genomics are new. Card now mirrors registry membership and order.
  • Diaspora (src/diaspora/attribution.py @ v0.4.1): the registry grew annotation (GTDB, eggNOG, KEGG, NCBI, ENVO), trait (Madin · BactoTraits · metaTraits · FAPROTAX), and environment (EarthEnv, CHELSA, Copernicus DEM, GEE rasters) layers, and no longer credits KE-pangenome. (The KIND manifest blurb still says "pangenome-resolved function", so the blurb stands.)

Unchanged after checking: function-junction, genknown (citations.py), enigma-strata, pmi-understory (sources.py), plant-terra and asma (DATA_SOURCES.md live rows), ideas (enrichment providers), phagecast (no registry).

Thumbnails — before / after

Seven recaptured at 1280×800 from the live portals driven to their prior views. Tile CDNs 403 non-browser UAs, so the capture presented a browser UA to tile hosts only. Phagecast keeps its pre-gate capture; the IDEAS landing is unchanged so its thumbnail is untouched.

Before (main) After (this PR)
Function Junction — P61889 dossier; header printed the stale v0.2.0
genKnown — Escherichia claim card
Fungal Jungle — Laccaria bicolor organism page; header printed v0.6.0
Plant Terra — landing; header printed v0.1.3
Diaspora — atlas landing; header printed v0.1.4, skin toggle has since gained a kbase option
ENIGMA Strata — Welcome tab, behind the gate; header printed v0.4.0
PROTECT ASMA — arc walk, behind the gate; the guide is now hidden by default, reopened for the capture

Checks: vitest run src/routes/portals.test.tsx 10/10 passed; eslint and tsc --noEmit clean.

…w it

Versions and updated dates re-derived per the card rules: the printed
version where the portal is readable (function-junction v0.3.0 is behind
its v0.3.1 tag), the newest tag where it prints none (genknown, ideas) or
where a team-password gate now hides it (enigma-strata, pmi-understory,
phagecast, asma). Sources re-copied from the registries that moved:
fungal-jungle (TCDB out; fitness + HIP-HOP in) and diaspora (annotation,
trait, and environment layers in; KE-pangenome no longer credited).
Thumbnails recaptured from the live portals on their driven views; the
four gated portals keep their pre-gate captures.
…ethumbed

ENIGMA Strata prints v0.5.0 inside its gate — the deployed version, not a
tag guess — and ASMA prints none, so its newest-tag comment now says that
from behind the gate. Thumbnails recaptured on the post-gate views:
Strata's Welcome tab, ASMA's arc walk with the guide reopened (the app
now hides it by default). Phagecast's shared password was rejected, so
its card and thumbnail stand as before.
@dauglyon

dauglyon commented Sep 9, 2026

Copy link
Copy Markdown
Collaborator Author

Team passwords arrived for three of the four gated portals, so a second commit tightens them up:

  • ENIGMA Strata — behind the gate the portal prints v0.5.0, so the card's version is now the deployed one (it happens to equal the newest tag). Thumbnail recaptured on the Welcome tab.
  • PROTECT ASMA — prints no version inside either; stays at newest tag v0.3.0 with the comment updated to say so. Thumbnail recaptured on the arc walk with the guide reopened (the app now hides it by default).
  • Phagecast — the password has changed (the shared one no longer works), so its card and pre-gate thumbnail stand.
  • PMI Understory — no password shared; unchanged.

Table in the description still accurate except Strata's "password-gated → newest tag" derivation, which is now "printed by the deployed portal".

…l current

The Collection view inside the gate shows the same counts the existing
thumbnail does (3,207 isolates · 548 genomes), so the capture stands;
the version comment now states the portal prints none rather than that
the gate made it unreadable.
@dauglyon

dauglyon commented Sep 9, 2026

Copy link
Copy Markdown
Collaborator Author

PMI Understory's password arrived too. Behind the gate it prints no version (card stays at newest tag v0.3.2, comment updated in 8411e0e), and the post-gate Collection view shows exactly what the existing thumbnail already shows — same counts, same genera bars — so the thumbnail binary is untouched. That closes out every portal except Phagecast, whose password has changed.

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