Skip to content

Extract mobile troubleshoot screen styles - #17146

Merged
nwparker merged 15 commits into
mainfrom
ra/max-lines-bottom-6-mobile-troubleshoot
Aug 30, 2026
Merged

nwparker merged 15 commits into
mainfrom
ra/max-lines-bottom-6-mobile-troubleshoot

Conversation

@nwparker

@nwparker nwparker commented Aug 29, 2026 •

Copy link
Copy Markdown
Contributor
Files Added Deleted Net
Test 0 0 0 0
Prod 4 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​137 $\color{#cf222e}{\Huge{\mathbf{−}}}$​149 $\color{#cf222e}{\Huge{\mathbf{−}}}$​12

Stacked on #17145.

Summary

  • move the troubleshoot screen StyleSheet into a focused diagnostics style module
  • preserve the existing React Native layout and mobile theme tokens
  • bring mobile/app/troubleshoot.tsx to 276 lines and remove its max-lines override

Testing

  • cd mobile && pnpm typecheck && pnpm test
  • pnpm tc
  • pnpm run check:code-quality:changed
  • pnpm check:max-lines-ratchet

@greptile-apps

greptile-apps Bot commented Aug 29, 2026 •

Copy link
Copy Markdown

Greptile Summary

The PR extracts the troubleshoot screen’s unchanged React Native styles into a focused diagnostics module.

  • Imports the extracted stylesheet from mobile/app/troubleshoot.tsx.
  • Removes the screen’s obsolete max-lines exemptions.
  • Preserves the existing style values and theme tokens.

Confidence Score: 5/5

The PR appears safe to merge.

No blocking failure remains.

Important Files Changed

Filename Overview
mobile/app/troubleshoot.tsx Replaces the local StyleSheet definition with an import of the equivalent extracted styles.
mobile/src/diagnostics/troubleshoot-screen-styles.ts Contains the styles moved unchanged from the troubleshoot screen.
mobile/.oxlintrc.json Removes the now-unnecessary max-lines override for the shortened screen.
config/max-lines-baseline.txt Removes the troubleshoot screen from the max-lines baseline after the extraction.

Reviews (3): Last reviewed commit: "Merge remote-tracking branch 'origin/mai..." | Re-trigger Greptile

@nwparker
nwparker changed the base branch from ra/max-lines-bottom-5-pane-tree-ops to main August 30, 2026 03:07
@nwparker
nwparker merged commit 5f75b24 into main Aug 30, 2026
6 of 22 checks passed
@coderabbitai

coderabbitai Bot commented Aug 30, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro Plus

Run ID: c2ca2ecb-6b74-4047-b90d-d06ea5dbc81b

📥 Commits

Reviewing files that changed from the base of the PR and between 11a0deb and 0168a46.

📒 Files selected for processing (4)
  • config/max-lines-baseline.txt
  • mobile/.oxlintrc.json
  • mobile/app/troubleshoot.tsx
  • mobile/src/diagnostics/troubleshoot-screen-styles.ts

📝 Walkthrough

Walkthrough

The troubleshooting screen now imports styles from troubleshoot-screen-styles instead of defining them inline. The new stylesheet uses shared theme tokens for layout, typography, colors, spacing, and interaction states. Unused StyleSheet and typography imports were removed from the route. The Oxlint max-lines exception for the route was also removed.

✨ Finishing Touches 💡 1
🛠️ Fix failing CI checks 💡
  • Create stacked PR
  • Commit on current branch
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

enrick-dev pushed a commit to enrick-dev/orca that referenced this pull request Oct 15, 2026
* Split speech session lifecycle

* Split terminal output scheduler pipeline

* Split mobile browser pane modules

* Prune resolved max-lines suppressions

* Split pane tree equalization logic

* Extract mobile troubleshoot screen styles

* Fix F3-speech for stablyai#17123

* Fix F1-cycle for stablyai#17131
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