Skip to content

BIDS: a launcher 20% larger and clear of the Read the Docs bar - #556

Merged
neuromechanist merged 1 commit into
developfrom
feature/issue-553-bids-launcher-place
Sep 30, 2026
Merged

neuromechanist merged 1 commit into
developfrom
feature/issue-553-bids-launcher-place

Conversation

@neuromechanist

Copy link
Copy Markdown
Member

Refs #553 (the issue's last task).
Answers the launcher part of bids-standard/bids-specification#2541.

What changes

The BIDS community's widget settings, using the fields from #555:

launcher_size: 67        # 20% larger than the 56px default; opens at 54
launcher_offset_y: 104   # up from 20px

bids-specification loads https://demo.osc.earth/osa-chat-widget.js with no settings of its own, so the widget takes its size and place from this config. That repository needs no change.

Why 104px up, and at the bottom right

Measured on the live site (bids-specification.readthedocs.io) at 1280x720, 1920x1080 and 390 wide:

  • Read the Docs fixes a version bar to the bottom right of every page, its top 89px above the window's bottom at 1280px and 93px at 1920px. The default launcher (20px up) sat on top of it on every page, and, at the foot of a page, on the footer's last social icon (YouTube) at 1280px.
  • With the released widget loaded on the live page at these values, the launcher clears the version bar by 15px (11px at 1920px), the footer icons and the copyright line at all three sizes.
  • An opened version menu (311px wide, opening upward) keeps every link and its search box uncovered; the launcher covers only blank space beside them.
  • The bottom left was ruled out: on a specification page the left navigation reaches the bottom of the window, so a launcher there covers its labels, and at 1280px it covers the start of the footer's copyright line.
  • Cost, stated plainly: any bottom-right position covers the end of a long table of contents at the bottom of a short window. Raising it to clear the bar extends that band; on the EEG page at 720p it now covers the end of the last table-of-contents entry, which the lower position did not.

When it reaches the site

The site loads the production widget (demo.osc.earth), and the production API serves this config, so it shows after the next stable release, not on merge to develop. The same values can be previewed on the dev deployment first.

Testing

  • osa validate --community bids
  • New test: BIDS's launcher is 20% larger than the default bubble, above the version bar's top (93px), and at the bottom right
  • Related Python tests (988 passed). Four failures, none from this change: the OpenNeuroPET documentation-URL check (network), and three live NEMAR contract tests, where the live service is answering D1_ERROR: Currently processing a long-running export. (the same test fails on plain develop).
  • Checked in Chrome on the live BIDS site with the released widget at these values, as above

Not in this PR

  • The color. The issue also asked for one that stands out from the spec's blue; that is a choice for the BIDS maintainers (theme_color, with theme_text_color and accent_color for contrast), and needs no code.

Sets launcher_size to 67 (20% over the 56px default) and launcher_offset_y
to 104 for the BIDS community. On bids-specification.readthedocs.io the
default launcher covered Read the Docs' fixed version bar and, at the foot
of the page, the last footer icon; raised 104px it clears both at 1280px,
1920px and phone widths, measured on the live site with the released
widget. osa validate --community bids and the related tests pass.
@neuromechanist neuromechanist added enhancement New feature or request community YAML limited changes only to the YAML files of a SINGLE community labels Sep 30, 2026
@neuromechanist
neuromechanist merged commit a68b407 into develop Sep 30, 2026
10 checks passed
@neuromechanist
neuromechanist deleted the feature/issue-553-bids-launcher-place branch September 30, 2026 01:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

community YAML limited changes only to the YAML files of a SINGLE community enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant