← Back to Pull requests

0.2.0 (15/17): React restructured, and the 0.2.0 decisions #64

Merged
ramiz-rahman merged 242 files (9953 lines) on Nov 30, 2026 17:44 UTC
View on GitHub
ramiz-rahman ramiz-rahman commented on Nov 29, 2026 04:44 UTC
Author

React by its architecture review (framework-free helpers to core, Panes and the shelf by concept), and the decisions for 0.2.0: a preset shows all its panes; useHydrated/<ClientOnly>; an app command with a Jali id replaces Jali's; short tab titles and --jali-tab-min; header buttons on the focused pane only on touch; a configurable activity mark (data-activity, parts.activity); usePaused(). Core's follow-up: PageBase (with ProfileBase deprecated), the page engine in files, report maps derived on write.

35 commits. Part of the 0.2.0 stack: merge in order, each after the one it is based on.

Checks

  • pnpm verify passes (the full run at the top of the stack; verify --quick at this PR's own tip)

  • A change people will notice is in CHANGELOG.md (0.2.0's section, in 17/17) and in docs/MIGRATION.md where code must change

  • A changed page is in packages/jali/docs too
  • Diff: 9953 lines (+5649 / -4304) across 242 files Reviewer: ramiz-rahman Review duration: 2220m
    All Vouch review confidence checks passed
    Residual risk 0.28 = Change Risk (0.86) × (1 − Review Confidence (0.68)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.86 · 9953 lines diff across 242 files
    0.86
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.50 · 4 substantive comment(s)
    0.50
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 50%
    67%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.400
    Self Review self_review
    0.140
    Mass File Touch mass_file_touch
    0.080
    Real PR Conversation Timeline
    6 items
    chatgpt-codex-connector[bot] chatgpt-codex-connector[bot] commented on Nov 29, 2026 04:44 UTC
    Bot

    <!-- codex-pull-request-review-summary -->
    <!-- codex-review-state:v1 {"code_review":{"commit_sha":"735e4489a75047c4a08cc196164adb9a65983c56","has_any_findings":true,"has_unresolved_findings":true,"status":"completed"},"security_review":{"commit_sha":null,"has_any_findings":null,"has_unresolved_findings":null,"status":null}} -->

    <details>
    <summary><strong>Codex Review Summary</strong>: ✅ Completed</summary>

    This comment shows the latest Codex review activity on this pull request.

    | Review | Status | Commit | Review trigger |
    | --- | --- | --- | --- |
    | 📝 Code Review | ✅ Completed <relative-time datetime="2026-11-29T04:46:58.822983Z">2026-11-29T04:46:58.822983Z</relative-time> | 735e448 | PR opened |

    <details> <summary>ℹ️ About Codex in GitHub</summary>
    <br/>

    Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review

  • Mark a draft as ready

  • Comment "@codex review" or "@codex security review".
  • Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

    </details>

    </details>

    chatgpt-codex-connector[bot] chatgpt-codex-connector[bot] commented on code on Nov 29, 2026 04:46 UTC
    Code Review
    packages/react/src/tabs/TabStrip.tsx:1
    @@ -87,15 +64,19 @@ function keepShownRoom(el: HTMLElement, shown: HTMLElement | null): number {
       return want;
     }
     
    -/** Out of view: tabs past either edge, the shown tab too once you scroll it away. */
    -function outOfView(el: HTMLElement): number {
    -  const box = el.getBoundingClientRect();
    -  let n = 0;
    -  el.querySelectorAll<HTMLElement>("[data-tab]").forEach((t) => {
    -    const r = t.getBoundingClientRect();
    -    if (r.left < box.left - 1 || r.right > box.right + 1) n++;
    -  });
    -  return n;
    +/** A tab squeezed below its whole title shows its short one, where its pane gave one (tabs.css, `data-short`). */
    +function markShort(bar: HTMLElement) {
    +  for (const tab of bar.querySelectorAll<HTMLElement>('.jali-tablist [role="tab"]')) {
    +    const whole = tab.querySelector<HTMLElement>(".jali-tab-title");
    +    const short = tab.querySelector<HTMLElement>(".jali-tab-short");
    +    if (!whole || !short) continue;

    <sub><sub>!P2 Badge</sub></sub> Restore the full title when a short title is removed

    If a squeezed tab has displayed its short title and its content later removes options.short or clears useTitle, TabFace removes .jali-tab-short, but this early return leaves the full title's previously assigned visibility: hidden intact. The tab consequently displays no title, even after widening the pane, because subsequent measurements keep skipping it. Reset the full title's visibility and remove data-short when the short-title element is absent.

    Useful? React with 👍 / 👎.

    <!-- codex-code-review-finding:v1 -->

    chatgpt-codex-connector[bot] chatgpt-codex-connector[bot] commented on Nov 29, 2026 04:46 UTC
    Reviewer

    <!-- codex-review-receipt:v1 -->

    💡 Codex Review

    Here are some automated review suggestions for this pull request.

    Reviewed commit: 735e4489a7

    <details> <summary>ℹ️ About Codex in GitHub</summary>
    <br/>

    Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review

  • Mark a draft as ready

  • Comment "@codex review".
  • If Codex has suggestions, it will comment; otherwise it will react with 👍.

    Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

    </details>

    ramiz-rahman ramiz-rahman commented on code on Nov 30, 2026 12:21 UTC
    Code Review
    packages/react/src/tabs/TabStrip.tsx:1
    @@ -87,15 +64,19 @@ function keepShownRoom(el: HTMLElement, shown: HTMLElement | null): number {
       return want;
     }
     
    -/** Out of view: tabs past either edge, the shown tab too once you scroll it away. */
    -function outOfView(el: HTMLElement): number {
    -  const box = el.getBoundingClientRect();
    -  let n = 0;
    -  el.querySelectorAll<HTMLElement>("[data-tab]").forEach((t) => {
    -    const r = t.getBoundingClientRect();
    -    if (r.left < box.left - 1 || r.right > box.right + 1) n++;
    -  });
    -  return n;
    +/** A tab squeezed below its whole title shows its short one, where its pane gave one (tabs.css, `data-short`). */
    +function markShort(bar: HTMLElement) {
    +  for (const tab of bar.querySelectorAll<HTMLElement>('.jali-tablist [role="tab"]')) {
    +    const whole = tab.querySelector<HTMLElement>(".jali-tab-title");
    +    const short = tab.querySelector<HTMLElement>(".jali-tab-short");
    +    if (!whole || !short) continue;

    Fixed in 27f682b6 (#69). When a tab has no short title (any more), the strip clears data-short and the whole title's visibility. Unit test: a pane drops its short title after it was shown.

    netlify[bot] netlify[bot] commented on Nov 30, 2026 17:29 UTC
    Bot

    <span aria-hidden="true">✅</span> Deploy Preview for jali-layout ready!

    | Name | Link |
    |:-:|------------------------|
    |<span aria-hidden="true">🔨</span> Latest commit | fdf807192d64a7f222e458fec8c05930621cf0d9 |
    |<span aria-hidden="true">🔍</span> Latest deploy log | https://app.netlify.com/projects/jali-layout/deploys/6b0db2525c065a0f3e0e58f6 |
    |<span aria-hidden="true">😎</span> Deploy Preview | https://deploy-preview-64--jali-layout.netlify.app |
    |<span aria-hidden="true">📱</span> Preview on mobile | <details><summary> Toggle QR Code... </summary><br /><br />!QR Code<br /><br />_Use your smartphone camera to open QR code link._</details> |
    ---
    <!-- jali-layout Preview -->
    _To edit notification comments on pull requests, go to your Netlify project configuration._

    Reviewers
    Assignees
    ramiz-rahman ramiz-rahman
    Labels
    risk: low confidence: 67.6% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 85.5% (HIGH) · Higher = larger blast radius
    85.5%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 67.6% · Lower = rushed or shallow review
    67.6%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 27.7% · Safe to merge
    27.7%