Update 1.6.9-beta#288
Merged
Merged
Conversation
- Added search, provider, plan type, verification status, admin status, and joined date filters to the user listing functionality. - Implemented validation to ensure 'joined_from' is not after 'joined_to'. - Updated the UI to include filter options and a clear filters button. - Improved pagination handling to accommodate new filters.
- Implemented an endpoint to update user plans by admin. - Added functionality to fetch and display user usage statistics. - Enhanced the admin user interface to support plan updates and usage visibility. - Introduced loading states for better user experience during data fetches.
- Introduced fields for user suspension: is_suspended, suspended_reason, and suspended_until. - Added functionality to update user suspension status via admin interface. - Implemented checks for suspended users in authentication and user management flows. - Enhanced admin user list to display suspension status and manage user suspension.
This change introduces a new function to generate the frontend environment file from the Docker configuration. - Validates the presence of required keys in the Docker env file. - Creates a temporary file to store the generated environment variables. - Reports any missing required keys before finalizing the generation.
- Replaced existing modal implementations with a new reusable component, UiUtilsBaseModal. - Updated various components to utilize the new modal structure, ensuring a consistent look and feel across the application. - Enhanced accessibility features by adding ARIA attributes and improving keyboard navigation. - Simplified modal logic by centralizing common functionalities such as close behavior and event handling.
- Add functionality to update a user's admin status. - Introduce a new endpoint for admin role updates. - Implement checks to prevent revoking admin access from the last admin. - Add corresponding UI elements for granting and revoking admin privileges.
- Implemented a new endpoint to reset a user's query usage for the current billing period. - Added a corresponding method in the usage_crud module to handle the reset logic. - Updated the admin_users component to include UI elements for resetting usage. - Introduced a new SVG icon for the reset action.
This commit introduces several new interfaces to enhance the admin dashboard's usage statistics capabilities. The following interfaces have been added: - AdminMediaGenerationUsage: Tracks media generation statuses. - AdminUserUsageStats: Provides insights into user activity and demographics. - AdminGraphUsageStats: Captures statistics related to graph usage. - AdminQueryUsageStats: Monitors usage of web search and link extraction features. - AdminStorageUsageStats: Details storage usage metrics. - AdminUsageDashboardResponse: Consolidates all usage statistics into a single response structure for the admin dashboard. These additions will facilitate better monitoring and reporting of usage metrics within the application.
- Added a new database table for storing generation history entries. - Created API endpoints for fetching, ensuring, and restoring generation history. - Introduced UI components for displaying and interacting with generation history. - Updated existing components to support generation history functionality. - Added settings for configuring the maximum number of saved entries and behavior on restore. - Enhanced node data handling to support generation history restoration.
…reaming path. - Updated sendMessage function to return a boolean indicating success or failure. - Added error handling for WebSocket message sending failures. - Ensured WebSocket connection is established before sending messages in startStream and regenerateTitle functions. - Improved lifecycle management in saveCron component by moving updateGraphHandler setup to onMounted hook.
- Added model icon name and position/total props for better image context. - Improved keyboard navigation with Escape and 'i' key for toggling details. - Updated the layout for better responsiveness and user experience. - Enhanced the display of image details including model, resolution, and size.
- Implemented resetFields function in composePane, editPane, and videoPane components. - Added reset buttons to the UI for both image and video generation sections. - Ensures all relevant fields are cleared and set to default values for a fresh start.
- Added support for editing messages with a new edit mode. - Implemented methods to handle message editing, including saving and canceling edits. - Updated message footer and markdown renderer to accommodate new edit features. - Improved user experience by allowing inline editing and better state management for drafts.
- Updated multiple components to use the new MaterialSymbolsDownloadRounded icon. - Ensures consistency in iconography across the application. - Enhances visual alignment with the design system.
- Added support for configuring admin user creation through environment variables. - Introduced `ADMIN_USER_CREATION` setting to control admin access for new accounts. - Updated relevant services and functions to utilize the new admin creation logic. - Enhanced documentation to reflect the new configuration options.
- Revised the structure and content of the configuration file documentation. - Improved descriptions for various configuration fields to enhance understanding. - Added examples and default values for better guidance on usage.
This release focuses on enhancing admin operations, user management, and interface improvements. Key updates include: - Advanced filtering and controls for admin user management. - New user suspension features with validation and UI support. - Introduction of an admin usage dashboard with metrics and reporting. - Generation history support for canvas nodes. - Consistent modal behavior across the interface. - Usability improvements in image and video generation workflows. - Enhanced chat message editing and WebSocket reliability. - Simplified local development setup and self-hosted configuration options.
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.
Meridian 1.6.9-beta
Meridian
1.6.9-betais focused on admin operations, saved generation state, and day-to-day interface polish. This release adds richer admin user management, a new admin usage dashboard, node generation history with restore support, shared modal foundations, image playground improvements, chat message editing, safer WebSocket sending, and smoother local/self-hosted configuration.Highlights
Admin User Management
Admins now have more direct control over users from the settings admin page.
User Suspension
Admins can now suspend user accounts directly from user management.
Admin Usage Dashboard
The admin settings area now includes a high-level usage dashboard.
Generation History
Canvas nodes can now keep a history of generated outputs and restore earlier states.
generation_historydatabase table for storing node generation snapshots.Shared Modals
Modal behavior is now more consistent across the interface.
UiUtilsBaseModalcomponent with shared overlay, panel, header, footer, sizing, and close behavior.Image Playground
Image and video generation workflows received usability improvements.
ito toggle details.Chat and Streaming Reliability
Chat interactions are easier to revise and safer during temporary chat startup.
Local Development
The local development startup flow is easier to run end to end.
./dev.shfor generating frontend environment variables..envgeneration fromdocker/config.local.tomlthrough the Docker-generated env file.Self-Hosted Configuration
Admin bootstrap behavior is now configurable for self-hosted deployments.
ADMIN_USER_CREATIONconfiguration for controlling automatic admin assignment.USERPASSuser, all configuredUSERPASSusers, or every newly created account.USERPASSaccount when unset.Self-Hosting and Upgrade Notes
Self-hosted deployments should treat
1.6.9-betaas a backend schema, admin, and frontend upgrade.e2a9b7c4d5f6addsis_suspended,suspended_reason, andsuspended_untiltousers.f3a6b7c8d9e0adds thegeneration_historytable and indexes.cd api && ./venv/bin/alembic upgrade head, before starting the upgraded app.ADMIN_USER_CREATIONis a new supported configuration value. Existing deployments can omit it to keep the defaultfirstbehavior, but should add it to their TOML config when updating from the new examples../dev.shfrom the repository root to start dependencies, run migrations, generate frontend env, and launch both app servers.