Skip to content

ui update#1871

Closed
gary149 wants to merge 31 commits intohuggingface:mainfrom
gary149:ui-update
Closed

ui update#1871
gary149 wants to merge 31 commits intohuggingface:mainfrom
gary149:ui-update

Conversation

@gary149
Copy link
Collaborator

@gary149 gary149 commented Aug 28, 2025

  • refactor: remove tokenizer-related functionality and dependencies
  • Remove web search functionality and related components
  • Remove Assistants feature and related code
  • refactor: remove AWS endpoint files and update related configurations
  • feat: enhance API client to include origin handling and add debug routes
  • refactor: prioritize HF_TOKEN for authentication in OpenAI endpoints and update related configurations
  • Remove tool management pages and components
  • Refactor codebase to remove tool-related features and improve formatting
  • refactor: update README to reflect removal of web search and embedding features, and clarify model configuration
  • chore: remove search chat feature (UI and /conversations/search API)
  • refactor(metrics): remove Prometheus metrics server and usages\n\n- Delete metrics server implementation and all references\n- Drop /metrics endpoint and Prometheus counters\n- Clean Helm templates (ports, ServiceMonitor) and env\n- Remove metrics docs and TOC entry\n- Adjust .env defaults and server hooks
  • feat(ui): keep New Chat visible, fix toggles, and polish settings UI\n\n- Always show New Chat in desktop and mobile nav\n- Fix Switch component to toggle on click/keyboard\n- Simplify modal animation and allow disableFly for settings\n- Update settings layouts and styles
  • chore(deps): remove prom-client and update lockfile
  • chore(dev): allow ngrok host via server.allowedHosts
  • refactor(metrics): remove monitoring values from Helm chart
  • types: add ambient types for web search sources and stream outputs
  • ui(settings): consolidate model actions into card and chip-style links
  • ui(chat): tidy message actions and send button styles
  • server(conversation): clean up endpoints and message handling
  • server(models): load models from OPENAI_BASE_URL (OpenAI-compatible)
  • server(settings): persist settings fields; minor cleanup
  • utils: message updates iterator and smoothing — minor tidy up
  • server(models-thumbnail): fix image response typing and return type
  • ui(layout): minor grid/transition tidy and error toast flow
  • dev: allow dynamic ngrok subdomains in Vite server.allowedHosts
  • ui: polish nav icon sizing and share icon contrast
  • ui(share): implement two-step share conversation modal; keep footer wording; remove legacy share flow and dark styles; disable duplicate copy tooltip; include leafId on copied URL
  • ui(nav): remove skeleton placeholders from conversation list and InfiniteScroll loader
  • ui(modal): ensure Escape closes all modals by listening on window and backdrop
  • chore: revert unrelated changes from previous commit; keep only Modal Escape behavior
  • chore: remove unused dependencies and playwright installation from Dockerfile and package.json

gary149 added 30 commits August 28, 2025 10:04
- Removed tokenizer dependencies from package.json.
- Deleted TokensCounter component and its usages across the application.
- Updated model configurations to exclude tokenizer properties.
- Refactored model processing logic to support only OpenAI-compatible endpoints.
- Adjusted API responses to omit tokenizer information.
- Cleaned up related utility functions and imports.
- Deleted endpoints for various web search APIs (serpApi, serpStack, serper, webLocal, youApi).
- Removed generateQuery function and its usage in search.
- Eliminated web search related types and interfaces from the codebase.
- Updated Assistant and Conversation types to remove references to web search and embedding models.
- Cleaned up related utility functions and message updates for web search.
- Adjusted API routes and components to reflect the removal of web search features.
- Updated Vite configuration to exclude web search dependencies.
- Deleted the assistants page and its load function.
- Removed assistantId from conversation handling in server routes.
- Cleaned up conversation page and server routes to eliminate assistant references.
- Removed assistant-related imports and UI components from settings navigation.
- Deleted assistant-specific pages for editing, creating, and displaying avatars.
- Updated tools pages to reflect changes in imports and types.
- Deleted the ToolEdit component and its associated logic for editing tools.
- Removed the tool search functionality from the tools page.
- Eliminated the tool input component used for handling various input types.
- Removed the layout and page files for individual tool views and editing.
- Cleaned up the new tool creation page by removing the modal and ToolEdit component.
- Removed all references to tools in metrics, models, and text generation modules.
- Updated various interfaces and types to reflect the removal of tool functionalities.
- Cleaned up code formatting for better readability and consistency.
- Adjusted API responses and request handling to align with the new structure.
- Ensured all related tests and specifications are updated accordingly.
…elete metrics server implementation and all references\n- Drop /metrics endpoint and Prometheus counters\n- Clean Helm templates (ports, ServiceMonitor) and env\n- Remove metrics docs and TOC entry\n- Adjust .env defaults and server hooks
…n\n- Always show New Chat in desktop and mobile nav\n- Fix Switch component to toggle on click/keyboard\n- Simplify modal animation and allow disableFly for settings\n- Update settings layouts and styles
- Add  and  ambient types
- Unblocks TS where older code references these without imports
- Group actions into a subtle bordered container
- Promote “New chat” as primary action
- Convert external links and copy action to consistent chips
- Improve wrapping/alignment; adjust modal height and nav behaviors
- Remove stale comments and unused disabled classes
- Keep send CTA styling consistent across themes
- Normalize POST/GET handling and error responses
- Simplify retry/continue branches and update storage writes
- Keep rate limiting and guest checks; minor typing tweaks
- Consistent vote/share handlers
- Prefer `OPENAI_BASE_URL` (or `OPENAI_MODEL_LIST_URL`) to fetch model list
- Support optional Authorization via HF_TOKEN/OPENAI_API_KEY
- Provide clearer errors when not configured
- Keep ethicsModalAccepted optional; set timestamp when provided
- Upsert with createdAt/updatedAt
- Keep parsing and smoothing logic intact
- No behavioral changes
- Avoid React type noise by casting result from satori-html
- Return Uint8Array for BodyInit clarity
- Keep layout responsive without behavior changes
- Use .ngrok-free.app wildcard so fresh tunnels work without edits
- Use square size for sidebar icon button and center content
- Ensure share icon has consistent contrast in light/dark modes
…ording; remove legacy share flow and dark styles; disable duplicate copy tooltip; include leafId on copied URL
@gary149
Copy link
Collaborator Author

gary149 commented Aug 29, 2025

Closing per request; will reopen later if needed.

@gary149 gary149 closed this Aug 29, 2025
@gary149 gary149 deleted the ui-update branch August 29, 2025 15:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant