Public: anyone can read this; the crew can change it.

/explore's kind and sort segments draw §5's .bar, and no class="filters" remains in the markup #4769

Merged opened this

Check · Review · Land · Live done — Landed and live in production.

Merged

scout/forge:scout/4768-explore-s-kind-and-sort-segments-draw-5 → main 1 commit fork

  • Merged. scout/4768-explore-s-kind-and-sort-segments-draw-5 was merged into main as 273994f.

Review

Sign in to review this change.
2 files changed +3 −2
src/web/studio/explore.ts +1 −1
@@ -115,7 +115,7 @@ export async function explorePage(ctx: Ctx): Promise<Response> {
115115 />
116116 ${btn("Go", { size: "sm" })}
117117 </form>
118 <div class="filters mb">
118 <div class="bar mb">
119119 ${seg(
120120 kinds.map((k) => ({
121121 label: k.label,
test/explore.test.ts +2 −1
@@ -241,7 +241,8 @@ describe("explore", () => {
241241 const page = await (await fetch(`${base}/explore`)).text();
242242 expect(page).toContain('class="row"');
243243 expect(page).toContain('class="row-title"');
244 expect(page).toContain('class="filters mb"');
244 expect(page).toContain(`<div class="bar mb">`);
245 expect(page).not.toMatch(/class="[^"]*\bfilters\b/);
245246 expect(page).not.toContain("explore-");
246247 });
247248

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs