refactor: move MOBILE_BREAKPOINT from utils to ui package#93
Merged
adelrodriguez merged 1 commit intomainfrom Feb 19, 2026
Merged
Conversation
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
This was referenced Feb 19, 2026
Collaborator
Author
This stack of pull requests is managed by Graphite. Learn more about stacking. |
8a253ef to
058dcb0
Compare
2a87461 to
c89fe43
Compare
This was referenced Feb 19, 2026
5f50c73 to
0d0edeb
Compare
8973883 to
bf8d6d6
Compare
0d0edeb to
497317e
Compare
bf8d6d6 to
eac8e82
Compare
497317e to
ad90be1
Compare
eac8e82 to
acb844a
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Greptile Summary
Moved
MOBILE_BREAKPOINTconstant from@init/utilsto@init/uipackage for better separation of concerns.use-mobile.tshook to reference new locationbreakpoint.tsfile from utils packageThis refactor improves package boundaries by keeping UI-related constants with UI code. The migration is complete with no remaining references to the old location.
Confidence Score: 5/5
Important Files Changed
MOBILE_BREAKPOINTconstant (768) to UI package constantsMOBILE_BREAKPOINTfrom@init/ui/constantsinstead of@init/utils/constantsMOBILE_BREAKPOINThas been moved to UI packagebreakpoint.tsmoduleFlowchart
%%{init: {'theme': 'neutral'}}%% flowchart LR subgraph Before["Before (utils package)"] A["`**@init/utils** constants/breakpoint.ts MOBILE_BREAKPOINT = 768`"] end subgraph After["After (ui package)"] B["`**@init/ui** constants.ts MOBILE_BREAKPOINT = 768`"] end C["`**use-mobile.ts** (UI hook consumer)`"] A -.->|"old import"| C B -->|"new import"| C style A fill:#fee,stroke:#f66 style B fill:#efe,stroke:#6f6 style C fill:#eef,stroke:#66fLast reviewed commit: acb844a