v1.1.0:6 — exercise history popup scrolls further
The clock-icon popup in the workout editor was capped at max-h-80 (~320px = ~5 history rows). Users with multi-year history saw older sessions hidden behind a tiny inner scrollbar. Bumped to 70vh so it scales with the viewport — ~15+ rows on a normal display, more on a large monitor. The IntersectionObserver pagination already loaded more rows on demand; the old cap just kept them off-screen. Pure CSS-class change. No schema, no API, no data. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -112,7 +112,12 @@ function ExerciseHistoryPopup({
|
|||||||
return (
|
return (
|
||||||
<div
|
<div
|
||||||
ref={popupRef}
|
ref={popupRef}
|
||||||
className="absolute left-0 right-0 top-full mt-1 z-50 bg-zinc-900 border border-zinc-700 rounded-lg shadow-xl max-h-80 overflow-y-auto"
|
/* v1.1.0:6 — bump from max-h-80 (~320px, ~5 rows) to 70vh so
|
||||||
|
power users with multi-year history can scroll through ~15+
|
||||||
|
sessions without the popup feeling cramped. The
|
||||||
|
IntersectionObserver already loads more on demand; the old cap
|
||||||
|
just hid pages of data behind a tiny scrollbar. */
|
||||||
|
className="absolute left-0 right-0 top-full mt-1 z-50 bg-zinc-900 border border-zinc-700 rounded-lg shadow-xl max-h-[70vh] overflow-y-auto"
|
||||||
>
|
>
|
||||||
<div className="flex items-center justify-between px-3 py-2 border-b border-zinc-800 sticky top-0 bg-zinc-900 z-10">
|
<div className="flex items-center justify-between px-3 py-2 border-b border-zinc-800 sticky top-0 bg-zinc-900 z-10">
|
||||||
<span className="text-xs font-semibold text-zinc-400 uppercase tracking-wider">
|
<span className="text-xs font-semibold text-zinc-400 uppercase tracking-wider">
|
||||||
|
|||||||
@@ -11,6 +11,7 @@ import { v_1_1_0_2 } from './v1.1.0.2'
|
|||||||
import { v_1_1_0_3 } from './v1.1.0.3'
|
import { v_1_1_0_3 } from './v1.1.0.3'
|
||||||
import { v_1_1_0_4 } from './v1.1.0.4'
|
import { v_1_1_0_4 } from './v1.1.0.4'
|
||||||
import { v_1_1_0_5 } from './v1.1.0.5'
|
import { v_1_1_0_5 } from './v1.1.0.5'
|
||||||
|
import { v_1_1_0_6 } from './v1.1.0.6'
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Version graph for the `proof-of-work` package.
|
* Version graph for the `proof-of-work` package.
|
||||||
@@ -40,9 +41,12 @@ import { v_1_1_0_5 } from './v1.1.0.5'
|
|||||||
* v1.1.0:5 — Gemini menu correctness: adds gemini-3.1-pro (short),
|
* v1.1.0:5 — Gemini menu correctness: adds gemini-3.1-pro (short),
|
||||||
* gemini-3.1-flash, gemini-3.1-flash-lite, gemini-3-pro,
|
* gemini-3.1-flash, gemini-3.1-flash-lite, gemini-3-pro,
|
||||||
* gemini-3-flash + pricing entries.
|
* gemini-3-flash + pricing entries.
|
||||||
|
* v1.1.0:6 — Exercise-history popup max-height bumped from ~320px
|
||||||
|
* (5 rows) to 70vh (~15+ rows). Users with deep history
|
||||||
|
* can scroll without fighting a tiny inner scrollbar.
|
||||||
*/
|
*/
|
||||||
export const versionGraph = VersionGraph.of({
|
export const versionGraph = VersionGraph.of({
|
||||||
current: v_1_1_0_5,
|
current: v_1_1_0_6,
|
||||||
other: [
|
other: [
|
||||||
v_1_0_0_1,
|
v_1_0_0_1,
|
||||||
v_1_0_0_2,
|
v_1_0_0_2,
|
||||||
@@ -55,5 +59,6 @@ export const versionGraph = VersionGraph.of({
|
|||||||
v_1_1_0_2,
|
v_1_1_0_2,
|
||||||
v_1_1_0_3,
|
v_1_1_0_3,
|
||||||
v_1_1_0_4,
|
v_1_1_0_4,
|
||||||
|
v_1_1_0_5,
|
||||||
],
|
],
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -0,0 +1,25 @@
|
|||||||
|
import { IMPOSSIBLE, VersionInfo } from '@start9labs/start-sdk'
|
||||||
|
|
||||||
|
/**
|
||||||
|
* v1.1.0:6 — Exercise history popup scrolls further.
|
||||||
|
*
|
||||||
|
* The clock-icon popup in the workout editor was capped at max-h-80
|
||||||
|
* (~320px, ~5 history rows). Anyone with multi-year history saw their
|
||||||
|
* older sessions hidden behind a tiny inner scrollbar. Bumped to
|
||||||
|
* 70vh so it scales with the viewport (~15+ rows on a normal display,
|
||||||
|
* more on a large monitor). The IntersectionObserver pagination
|
||||||
|
* already loaded more on demand — the cap just hid them.
|
||||||
|
*
|
||||||
|
* Pure CSS-class change. No schema, no API, no data.
|
||||||
|
*/
|
||||||
|
export const v_1_1_0_6 = VersionInfo.of({
|
||||||
|
version: '1.1.0:6',
|
||||||
|
releaseNotes: {
|
||||||
|
en_US:
|
||||||
|
'Exercise-history popup (the clock icon while logging or editing a workout) now scales to 70% of viewport height instead of the previous ~320px cap. Users with multi-year history can scroll through ~15+ sessions without fighting a tiny inner scrollbar. Pure UI fix.',
|
||||||
|
},
|
||||||
|
migrations: {
|
||||||
|
up: async () => {},
|
||||||
|
down: IMPOSSIBLE,
|
||||||
|
},
|
||||||
|
})
|
||||||
Reference in New Issue
Block a user