Skip to content

Label the decision rationale consistently and give tables the page column - #25

Merged
EiffL merged 1 commit into
mainfrom
fix/review-feedback-rendering
Sep 18, 2026
Merged

EiffL merged 1 commit into
mainfrom
fix/review-feedback-rendering

Conversation

@EiffL

@EiffL EiffL commented Sep 18, 2026

Copy link
Copy Markdown
Member

Two of the still-open items from #22.

"Narrative" vs "Rationale"

Decision blocks embedded on sub-analysis pages (:::{astra} reconstruction.decisions.algorithm …) rendered the theme's own panel with a Narrative | Options toggle, while the shared record dialog opened from an inline reference labels the same rationale field Rationale. The block's view id is now rationale, so the button reads Rationale and the two surfaces agree. The component test follows.

Tables were width-restricted

.astra-output caps every output at the 40rem editorial measure, so both tables on the DESI paper scrolled inside a 640px box while the article grid was 1905px wide. Table outputs now span the page column of the article grid, the same treatment MyST gives a col-page figure; figures keep the measure. Measured locally at a 1920px viewport:

table before after intrinsic width
tbl-bao-alpha-values 640px, scrolls 1438px, no scroll 1204px
tbl-bao-distances 640px, scrolls 1438px, scrolls slightly 1611px

The caption and the provenance drawer keep the measure so the caption stays at reading width. On small screens the page and body lines coincide, so nothing changes there.

One thing to be aware of: like any MyST wide block, a page-wide table passes under the sticky "In this article" outline while it sits at the top of the viewport on large screens. That is the stock behaviour for col-page content and not something this PR changes.

Verification

  • npm test: 16 files, 143 tests pass.
  • Rebuilt the article theme and served the DESI prototype: /reconstruction renders Rationale | Options, and both tables take the page column with 640px captions.

🤖 Generated with Claude Code

…lumn

Embedded decision blocks called their rationale view "Narrative" while the
shared record dialog labels the same field "Rationale"; the block's view id
and button now say rationale too.

Table outputs were capped at the 40rem editorial measure like figures, so a
wide registry scrolled inside a 640px box on a 1900px article. They now take
the page column of the article grid, as a MyST col-page figure does, while
their caption and provenance drawer keep the measure.

Refs #22

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

Lightcone previews: Paper · Playground — inventory, viewers, dialogs and glyphs

45ef7f6 · @astra-spec/ui 0.0.6 from 6248ae0 · Lightcone brand 0.0.3 · astra-theme 45ef7f6 · content 3735fcc · MySTRA https://github.com/LightconeResearch/MySTRA/releases/download/v0.0.8/mystra.mjs

@EiffL EiffL left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@EiffL
EiffL merged commit 9231029 into main Sep 18, 2026
1 check passed
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