f716736ad2d4a1f8832bb945e2d21ea95ba7140b max Fri Sep 18 09:03:07 2026 -0700 hgSession: fix oversized save-card inputs, move backup link into Advanced #Preview2 week - bugs introduced now will need a build patch to fix The name/description boxes on the save card used flex-basis for width inside a column flex container, where flex-basis sets height instead - they were rendering hundreds of pixels tall. Also folds "Back up custom tracks" into the Advanced panel as a single link across the top, above the load/save columns, instead of its own bar under the save card. refs #38311 diff --git src/hg/js/hgSession.js src/hg/js/hgSession.js index c5e18662372..8365635af3f 100644 --- src/hg/js/hgSession.js +++ src/hg/js/hgSession.js @@ -1,23 +1,23 @@ // hgSession.js - the experimental client-rendered "My Sessions" page. // // An opt-in modern alternative to the classic server-rendered hgSession page, applying hgBlat's // facelift strategy (#37996): hgSession.c emits the session list and page config as an inline JSON // global (hgSessionData) into an empty #sessionApp container, and this file builds the UI - a -// save-current-view card, a custom-track backup button, a searchable/sortable DataTable of saved -// sessions with inline Overwrite/Share/Edit/Delete, and an "Advanced" panel split into a load -// column and a save column. +// save-current-view card, a searchable/sortable DataTable of saved sessions with inline +// Overwrite/Share/Edit/Delete, and an "Advanced" panel split into a load column and a save +// column, with the custom-track backup link across the top of both. // // The inline table actions POST to small JSON endpoints in hgSession.c (hgS_doDeleteJson, etc.) and // update the table in place. Navigation actions (load a session, load from URL/file, save to file, // reset) are ordinary form submits/links against the existing hgSession actions. // // Styling: shared house-style components in gbModern.css (.gbPill, .gbCard, .gbModal*, .gbTable, // .gbBanner, .gbSection), session-specific layout in hgSession.css. /* global $, hgSessionData, convertTitleTagsToMouseovers, titleTagToMouseover, addMouseover */ /* global htmlEncode, commify, gbShowTimingDialog */ // Cart action variables (must match the hgs* defines in hgSession.h; hgSessionPrefix is "hgS_"). var SESS_ACT = { save: 'hgS_doSaveSessionJson', rename: 'hgS_doRenameSessionJson', @@ -611,58 +611,53 @@ var saveFile = '