Merged
Conversation
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
extension-preview | d4ac62a | Commit Preview URL Branch Preview URL |
Jan 31 2026, 06:04 PM |
There was a problem hiding this comment.
Pull request overview
This pull request adds the @trivago/prettier-plugin-sort-imports plugin to automatically sort and organize imports across the codebase, matching the configuration used in the alveusgg/alveusgg repository.
Changes:
- Added
@trivago/prettier-plugin-sort-importsv6.0.2 as a dev dependency - Configured Prettier with import ordering rules that separate built-in modules, third-party packages, @alveusgg/data imports, and local imports by category (utils, hooks, components, styles, assets)
- Reformatted all import statements across 25+ files to follow the new import ordering convention
Reviewed changes
Copilot reviewed 24 out of 25 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| package.json | Added plugin dependency and configured import ordering rules with separation and sorting options |
| pnpm-lock.yaml | Updated lock file with new plugin dependencies and transitive dependencies |
| webpack.config.ts | Sorted imports alphabetically within third-party modules group, preserved side-effect import at end |
| src/pages/panel/components/Nav.tsx | Reorganized imports to group components before assets |
| src/pages/panel/components/Ambassadors.tsx | Sorted imports into utils, hooks, and components groups with proper separation |
| src/pages/panel/App.tsx | Sorted local component imports alphabetically |
| src/pages/overlay/index.tsx | Reorganized imports by category, preserved CSS side-effect import at end |
| src/pages/overlay/hooks/useSleeping.tsx | Sorted React imports with type imports first |
| src/pages/overlay/hooks/useSettings.tsx | Organized imports into utils and local component groups with type imports sorted first |
| src/pages/overlay/components/overlay/Settings.tsx | Added blank line separation between component imports |
| src/pages/overlay/components/overlay/Overlay.tsx | Reorganized imports into utils, hooks, components, and local imports groups |
| src/pages/overlay/components/overlay/Ambassadors.tsx | Sorted imports by category with proper grouping and separation |
| src/pages/overlay/components/Toggle.tsx | Sorted React imports with type imports first |
| src/pages/overlay/components/Select.tsx | Sorted React imports with type imports first |
| src/pages/overlay/components/Buttons.tsx | Reorganized imports into utils and components groups |
| src/pages/overlay/App.tsx | Sorted React imports and added separation before hooks imports |
| src/hooks/useChatCommand.ts | Removed extra blank line between local imports |
| src/hooks/useAmbassadors.tsx | Reorganized @alveusgg/data imports and sorted utils/assets imports |
| src/components/icons/BaseIcon.tsx | Sorted React type imports alphabetically |
| src/components/Welcome.tsx | Reorganized imports into hooks, components, and icon groups |
| src/components/Tooltip.tsx | Sorted React imports with types and functions properly ordered |
| src/components/TiltCard.tsx | Sorted React imports and added separation before utils |
| src/components/AmbassadorCard.tsx | Reorganized imports into utils, hooks, assets, and components groups |
| src/components/AmbassadorButton.tsx | Added separation between utils and hooks imports |
| eslint.config.mjs | Sorted third-party imports alphabetically |
Files not reviewed (1)
- pnpm-lock.yaml: Language not supported
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
f6739d3 to
d4ac62a
Compare
pjeweb
approved these changes
Jan 31, 2026
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.
Same plugin that we use in alveusgg/alveusgg