Draft
Conversation
- Updated `@heroui/react` to version 2.8.9. - Added `@tailwindcss/postcss` and `@tailwindcss/vite` to dependencies. - Modified PostCSS configuration to use `@tailwindcss/postcss`. - Updated Vite configuration to include Tailwind CSS plugin. - Adjusted various CSS classes for consistency and improved styling. - Introduced a new `hero.ts` file for Heroui integration. - Enhanced component styles and accessibility across multiple files.
- Upgraded various dependencies including `@bufbuild/protobuf`, `@grafana/faro-web-sdk`, and `@tanstack/react-query`. - Updated development dependencies such as `@codemirror/state`, `@eslint/js`, and `typescript`. - Enhanced overall package stability and performance by aligning versions across multiple libraries.
- Added `tw-shimmer` dependency to enhance loading animations in the application. - Updated CSS imports to include `tw-shimmer` for improved visual effects. - Refactored loading indicators across components to utilize the new shimmer effect, enhancing user experience during loading states. - Removed redundant custom shimmer styles to streamline code and improve maintainability.
- Changed fallback model details to reflect the new GPT-5.1 version, including updated slug, name, context, and pricing. - Updated last used model slug in conversation UI store to GPT-5.1. - Modified devtools to utilize the new model slug for assistant messages.
- Updated `immer` version in `bun.lock` and `package.json` to remove caret (^) for consistency. - Changed `@types/chrome` version to a more specific version. - Downgraded `eslint` and related plugins to align with project requirements. - Updated TypeScript configuration to target ES2022 for improved compatibility. - Refactored Vite configuration to remove unnecessary imports and streamline the setup. - Enhanced selection store types for better state management.
- Introduced path aliases in `tsconfig.app.json` for easier imports: `@` for `./src/*` and `@gen` for `./src/pkg/gen/*`. - Updated Vite configuration to resolve these aliases, enhancing module resolution. - Refactored multiple components and hooks to utilize the new import paths, improving code readability and maintainability. - Removed the `converters.ts` file as it was no longer needed, streamlining the codebase.
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.
This pull request focuses on modernizing the UI codebase and updating dependencies for improved stability and consistency. The most significant changes include upgrading various dependencies in
package.json, standardizing the usage of utility class syntax (notably the placement of!for Tailwind overrides), and refactoring shimmer/loading indicator styles to use a shared CSS class. These updates collectively enhance maintainability, visual consistency, and compatibility with newer tooling.Dependency upgrades and tooling modernization:
package.jsonto newer versions, including major upgrades forreact,react-dom,axios,immer,streamdown,uuid, and several dev tools. Added@tailwindcss/postcss,@tailwindcss/vite,tailwindcss, andtw-shimmerfor improved styling and loading effects.postcss.config.jsto use@tailwindcss/postcssinstead of the generictailwindcssandautoprefixerplugins, aligning with the new dependency setup.UI styling and class syntax standardization:
!modifier to the end of each class for consistency and to match modern conventions. This affects components likecell-wrapper,message-card,message-entry-container,attachment-popover,add-comments-button, andcomment-item. [1] [2] [3] [4] [5] [6] [7] [8]Shimmer/loading indicator improvements:
shimmerCSS class for loading indicators and tool cards, simplifying code and ensuring consistent loading effects. This change impactsloading-indicator.tsx,toolcall-prepare.tsx, andtools/general.tsx. [1] [2] [3] [4] [5] [6]Minor UI and accessibility tweaks:
Removal of unused code:
These changes collectively improve the project's maintainability, visual consistency, and readiness for future updates.