Conversation
…bel, scroll area, select, separator, sheet, switch, and textarea - Implemented Accordion component with items, triggers, and content. - Created Button component with variants and sizes. - Added Collapsible component for expandable sections. - Developed Input and Textarea components for user input. - Introduced Label component for form labeling. - Built ScrollArea component for scrollable content. - Created Select component with options, triggers, and content. - Added Separator component for visual separation. - Implemented Sheet component for modal-like overlays. - Developed Switch component for toggle functionality. - Updated styles and utility functions for consistent design. feat: implement generation actions and bootstrap hooks - Added useGenerationActions hook for handling image generation and settings management. - Implemented useGenerationBootstrap hook for loading models and control nets on app initialization. feat: add media query hook for responsive design - Created useMediaQuery hook to handle media query changes. style: update global styles and integrate Tailwind CSS - Refactored global styles to use Tailwind CSS with custom theme variables. - Added animations and utility classes for improved UI experience. fix: remove MantineProvider and adjust main entry point - Simplified main.tsx by removing MantineProvider and directly rendering App component. chore: update Vite configuration to include Tailwind CSS plugin - Integrated Tailwind CSS into Vite configuration for styling support.
- Updated the GenerationSettings component to include new options for model autotune and VAE autotune. - Added new API calls to fetch and post settings preferences related to autotune. - Introduced feedback mechanisms for performance settings changes. - Enhanced state management in the store to accommodate new settings. - Updated types to include new settings preferences for better type safety.
- Introduced API endpoints for managing server-wide generation preferences (`/api/settings/preferences`). - Added `torch_compile` and `vae_autotune` options to `GenerateRequest` and `SettingsPreferencesRequest`. - Implemented preference persistence in `SettingsStore` with defaults for `torch_compile` and `vae_autotune`. - Enhanced `VAE` class to support autotuning with a new method to enable/disable it. - Updated `AbstractModel` and `Pipeline` to apply VAE autotune settings during model loading. - Modified `GenerationBuffer` to respect batch size semantics and handle image requests appropriately. - Added unit tests for settings API, VAE autotune functionality, and request handling.
…d UX style: adjust Accordion and Sheet components for consistency in design style: enhance global styles with new gradients and background adjustments fix: reset default prompt and negative prompt values in store
… fixture and update tests to use ASGI transport
… in Pipeline; update test paths for consistency
… improved concurrency
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 makes significant updates to the frontend, primarily replacing the Mantine UI library with Radix UI and Tailwind CSS, and refactoring the UI components and styles accordingly. It also introduces new API endpoints for user preferences and updates the gallery and generation workflow for a more modern and streamlined user experience.
Key changes include:
UI Framework Migration and Styling:
package.json,postcss.config.cjs,App.tsx,App.css). [1] [2] [3] [4] [5]Component Refactors and Improvements:
Gallerycomponent to use a horizontal scroll area, Radix UI, and Tailwind for a more modern look and improved usability, replacing Mantine's grid and paper components.GenerationComposercomponent for prompt and model selection, using Radix UI and Tailwind, with improved UX for prompt entry and model selection.API and State Management Enhancements:
getSettingsPreferences,postSettingsPreferences) and improves type safety for telemetry responses. [1] [2] [3]General Improvements:
These changes collectively modernize the frontend, improve maintainability, and set the stage for further feature development.