Skip to content

Feat/fdsg UI#4

Merged
harshith-v-fyers merged 30 commits into
insti-web-view-integrationfrom
feat/fdsg_ui
Apr 22, 2026
Merged

Feat/fdsg UI#4
harshith-v-fyers merged 30 commits into
insti-web-view-integrationfrom
feat/fdsg_ui

Conversation

@Hiren-fyers
Copy link
Copy Markdown

Pull Request Template

⚠️ Before Submitting a PR, Please Review:

  • Please ensure that you have thoroughly read and understood the Contributing Docs before submitting your Pull Request.

⚠️ Documentation Updates Notice:

  • Kindly note that documentation updates are managed in this repository: librechat.ai

Summary

Please provide a brief summary of your changes and the related issue. Include any motivation and context that is relevant to your changes. If there are any dependencies necessary for your changes, please list them here.

Change Type

Please delete any irrelevant options.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update
  • Translation update

Testing

Please describe your test process and include instructions so that we can reproduce your test. If there are any important variables for your testing configuration, list them here.

Test Configuration:

Checklist

Please delete any irrelevant options.

  • My code adheres to this project's style guidelines
  • I have performed a self-review of my own code
  • I have commented in any complex areas of my code
  • I have made pertinent documentation changes
  • My changes do not introduce new warnings
  • I have written tests demonstrating that my changes are effective or that my feature works
  • Local unit tests pass with my changes
  • Any changes dependent on mine have been merged and published in downstream modules.
  • A pull request for updating the documentation has been submitted.

harshith-v-fyers and others added 26 commits April 9, 2026 16:42
- proxyJwtStrategy: accept lc_access_token cookie as JWT fallback
- AuthContext: detect embedded=true cookie, suppress /login redirects

Made-with: Cursor
…dling in embedded WebView. This change retrieves the access and refresh tokens from cookies and stores them in localStorage, enhancing session management.
…L parameter. Updated initial state for navVisible to false for improved user experience.
…ate management. The Root component now conditionally renders the TopNavBar based on URL parameters, and the initial state for navVisible has been set to false.
- Added functionality to set the color theme based on URL query parameters, allowing users to switch between light and dark modes.
- Integrated theme initialization in the App component, prioritizing environment variables and URL parameters for theme settings.
- Introduced ThemeFromQueryParam component to manage theme state across routes, enhancing user experience with consistent theming.
…ive tab to Chat

- Removed the General tab from the Settings component, simplifying the navigation.
- Updated the default active tab to Chat, reflecting the new focus on chat settings.
- Adjusted related tests to ensure visibility of the Chat tab instead of the removed General tab.
…hat features

- Removed the General tab from the Settings component to streamline navigation.
- Set the default active tab to Chat, aligning with the updated focus on chat settings.
- Updated related tests to ensure the visibility of the Chat tab following the removal of the General tab.
…guration

- Updated usage instructions for clarity, emphasizing root execution.
- Added automatic installation of nginx if not present, with improved logging for package installations.
- Enhanced master key management by creating a predefined key and updating related logging.
- Adjusted environment variable defaults to favor nginx configuration, improving setup experience.
- Introduced a function to retrieve the base href from the document, ensuring the API base URL is correctly formed regardless of the deployment context.
- Updated both document-service.ts and saasApi.ts to utilize the new base href logic.
…th research subdirectory structure

- Modified asset links in index.html to include the '/research' prefix for correct resource loading.
- Refactored image source paths in TemplatesView to utilize the asset utility function for improved path management.
…omponents

- Modified image source paths in various components to include the '/research' prefix, ensuring correct resource loading.
- Utilized the asset utility function for improved path management in components such as Login, OTP, and others.
…ot layout padding

- Adjusted border styles in ChatForm for a cleaner appearance.
- Updated SendButton background colors for better visual consistency.
- Modified Root component layout padding and gap to align with design specifications.
Refactor ChatForm and SendButton styles for consistency and update Root layout padding
- Updated the Spinner component to use a GIF loader that adapts to the current theme (dark or light).
- Added CSS for a loading container in index.html to support the new loading spinner design.
- Removed the previous SVG spinner implementation for a more visually appealing loading experience.
- Refactored the Spinner component to utilize import.meta.env.BASE_URL for constructing the loader GIF path, ensuring compatibility with Vite configuration.
- This change allows for a more flexible asset loading strategy based on the environment setup.
…files

- Replaced custom loading animations with the new Spinner component in DocumentSelector, DocumentUpload, SharePointPickerDialog, ResourcesRoute, and ScreenerRoute for a consistent loading experience.
- Updated the size and styling of the Spinner to align with design specifications.
- Modified handlePreviewFile to open a new window synchronously, preventing popup blockers.
- Added error handling with a toast notification for better user feedback when file preview fails.
- Updated the method to set the new window's location instead of opening a new window directly, improving user experience.
- Enhanced the handlePreviewFile function to build the file URL before attempting to open a new window.
- Implemented a fallback mechanism to open the file in the parent or top window if the current window fails, improving usability in iframe contexts.
- Retained error handling with a toast notification for users when popups are blocked.
- Enhanced the handlePreviewFile function to retrieve the base path from the meta tag or default to '/research/'.
- Updated file URL construction to incorporate the dynamic base path, ensuring correct resource loading and avoiding React Router interception.
- Improved fallback mechanism for file ID route to maintain consistency with the new base path.
- Updated border-radius for dialog components to 4px for better visual distinction.
- Changed background color in ChatForm to transparent for a cleaner look.
- Adjusted CSS variable definitions for colors to ensure consistency across light and dark themes.
- Modified Root component to use a class for background color instead of inline styles, enhancing maintainability.
…arity

- Removed unused OpenSidebar component from Chat Header.
- Simplified layout and styling in Chat Header for better readability.
- Added SidebarEdgeTabs export in Nav index for enhanced navigation options.
- Integrated SidebarEdgeTabs into Root component for improved UI consistency.
- Added specific border-radius styles for sidebar edge tab buttons to improve visual coherence.
- Updated main layout styles in Presentation and TemplatesView components for a cleaner appearance.
- Adjusted background color in Root component for better integration with the overall theme.
- Refined Nav and SidePanelGroup components by removing unnecessary styles for a more streamlined look.
@github-actions
Copy link
Copy Markdown

🚨 Unused i18next Keys Detected

The following translation keys are defined in translation.json but are not used in the codebase:

  • com_auth_error_oauth_failed
  • com_auth_no_account
  • com_auth_sign_up
  • com_endpoint_message_new
  • com_nav_auto_scroll
  • com_nav_center_chat_input
  • com_nav_commands
  • com_nav_enter_to_send
  • com_nav_hide_panel
  • com_nav_info_enter_to_send
  • com_nav_info_latex_parsing
  • com_nav_info_save_draft
  • com_nav_keep_screen_awake
  • com_nav_latex_parsing
  • com_nav_modular_chat
  • com_nav_save_drafts
  • com_nav_setting_account
  • com_nav_setting_data
  • com_nav_setting_general
  • com_nav_setting_personalization
  • com_nav_setting_speech
  • com_nav_show_code
  • com_nav_user_msg_markdown
  • com_sidepanel_conversation_tags
  • com_ui_archive_error
  • com_ui_happy_birthday
  • com_ui_redirecting_to_provider

⚠️ Please remove these unused keys to keep the translation files clean.

@github-actions
Copy link
Copy Markdown

🚨 Unused NPM Packages Detected

The following unused dependencies were found:

📂 Root package.json

  • 18
  • @opentelemetry/exporter-trace-otlp-http

📂 Client client/package.json

  • winston-daily-rotate-file

📂 API api/package.json

  • compressible
  • oauth4webapi

⚠️ Please remove these unused dependencies to keep your project clean.

…ing and structure

- Updated UploadButton styles for better visual consistency, changing border-radius and background properties.
- Adjusted asset paths in UploadButton for correct resource loading.
- Reorganized imports in ResourcesRoute for clarity and consistency.
- Enhanced state management in ResourcesRoute, ensuring better readability and maintainability.
- Cleaned up whitespace and formatting for improved code quality.
@github-actions
Copy link
Copy Markdown

🚨 Unused i18next Keys Detected

The following translation keys are defined in translation.json but are not used in the codebase:

  • com_auth_error_oauth_failed
  • com_auth_no_account
  • com_auth_sign_up
  • com_endpoint_message_new
  • com_nav_auto_scroll
  • com_nav_center_chat_input
  • com_nav_commands
  • com_nav_enter_to_send
  • com_nav_hide_panel
  • com_nav_info_enter_to_send
  • com_nav_info_latex_parsing
  • com_nav_info_save_draft
  • com_nav_keep_screen_awake
  • com_nav_latex_parsing
  • com_nav_modular_chat
  • com_nav_save_drafts
  • com_nav_setting_account
  • com_nav_setting_data
  • com_nav_setting_general
  • com_nav_setting_personalization
  • com_nav_setting_speech
  • com_nav_show_code
  • com_nav_user_msg_markdown
  • com_sidepanel_conversation_tags
  • com_ui_archive_error
  • com_ui_happy_birthday
  • com_ui_redirecting_to_provider

⚠️ Please remove these unused keys to keep the translation files clean.

@github-actions
Copy link
Copy Markdown

🚨 Unused NPM Packages Detected

The following unused dependencies were found:

📂 Root package.json

  • 18
  • @opentelemetry/exporter-trace-otlp-http

📂 Client client/package.json

  • winston-daily-rotate-file

📂 API api/package.json

  • compressible
  • oauth4webapi

⚠️ Please remove these unused dependencies to keep your project clean.

…stency

- Updated folder and file icons to use a consistent wrapper for better alignment and visual appeal.
- Adjusted icon sizes and classes to enhance responsiveness and maintain design coherence across the component.
@github-actions
Copy link
Copy Markdown

🚨 Unused i18next Keys Detected

The following translation keys are defined in translation.json but are not used in the codebase:

  • com_auth_error_oauth_failed
  • com_auth_no_account
  • com_auth_sign_up
  • com_endpoint_message_new
  • com_nav_auto_scroll
  • com_nav_center_chat_input
  • com_nav_commands
  • com_nav_enter_to_send
  • com_nav_hide_panel
  • com_nav_info_enter_to_send
  • com_nav_info_latex_parsing
  • com_nav_info_save_draft
  • com_nav_keep_screen_awake
  • com_nav_latex_parsing
  • com_nav_modular_chat
  • com_nav_save_drafts
  • com_nav_setting_account
  • com_nav_setting_data
  • com_nav_setting_general
  • com_nav_setting_personalization
  • com_nav_setting_speech
  • com_nav_show_code
  • com_nav_user_msg_markdown
  • com_sidepanel_conversation_tags
  • com_ui_archive_error
  • com_ui_happy_birthday
  • com_ui_redirecting_to_provider

⚠️ Please remove these unused keys to keep the translation files clean.

@github-actions
Copy link
Copy Markdown

🚨 Unused NPM Packages Detected

The following unused dependencies were found:

📂 Root package.json

  • 18
  • @opentelemetry/exporter-trace-otlp-http

📂 Client client/package.json

  • winston-daily-rotate-file

📂 API api/package.json

  • compressible
  • oauth4webapi

⚠️ Please remove these unused dependencies to keep your project clean.

- Reorganized import statements for better clarity and consistency.
- Enhanced state initialization formatting for improved readability.
- Cleaned up whitespace and formatting throughout the component for a more polished codebase.
- Adjusted error handling messages for better user feedback.
@github-actions
Copy link
Copy Markdown

🚨 Unused i18next Keys Detected

The following translation keys are defined in translation.json but are not used in the codebase:

  • com_auth_error_oauth_failed
  • com_auth_no_account
  • com_auth_sign_up
  • com_endpoint_message_new
  • com_nav_auto_scroll
  • com_nav_center_chat_input
  • com_nav_commands
  • com_nav_enter_to_send
  • com_nav_hide_panel
  • com_nav_info_enter_to_send
  • com_nav_info_latex_parsing
  • com_nav_info_save_draft
  • com_nav_keep_screen_awake
  • com_nav_latex_parsing
  • com_nav_modular_chat
  • com_nav_save_drafts
  • com_nav_setting_account
  • com_nav_setting_data
  • com_nav_setting_general
  • com_nav_setting_personalization
  • com_nav_setting_speech
  • com_nav_show_code
  • com_nav_user_msg_markdown
  • com_sidepanel_conversation_tags
  • com_ui_archive_error
  • com_ui_happy_birthday
  • com_ui_redirecting_to_provider

⚠️ Please remove these unused keys to keep the translation files clean.

@github-actions
Copy link
Copy Markdown

🚨 Unused NPM Packages Detected

The following unused dependencies were found:

📂 Root package.json

  • 18
  • @opentelemetry/exporter-trace-otlp-http

📂 Client client/package.json

  • winston-daily-rotate-file

📂 API api/package.json

  • compressible
  • oauth4webapi

⚠️ Please remove these unused dependencies to keep your project clean.

- Refined search input styles for better alignment and visual consistency, including adjustments to height and border colors.
- Modified search icon size for enhanced visual coherence with the updated input design.
- Improved button styling for a more polished user experience.
@github-actions
Copy link
Copy Markdown

🚨 Unused i18next Keys Detected

The following translation keys are defined in translation.json but are not used in the codebase:

  • com_auth_error_oauth_failed
  • com_auth_no_account
  • com_auth_sign_up
  • com_endpoint_message_new
  • com_nav_auto_scroll
  • com_nav_center_chat_input
  • com_nav_commands
  • com_nav_enter_to_send
  • com_nav_hide_panel
  • com_nav_info_enter_to_send
  • com_nav_info_latex_parsing
  • com_nav_info_save_draft
  • com_nav_keep_screen_awake
  • com_nav_latex_parsing
  • com_nav_modular_chat
  • com_nav_save_drafts
  • com_nav_setting_account
  • com_nav_setting_data
  • com_nav_setting_general
  • com_nav_setting_personalization
  • com_nav_setting_speech
  • com_nav_show_code
  • com_nav_user_msg_markdown
  • com_sidepanel_conversation_tags
  • com_ui_archive_error
  • com_ui_happy_birthday
  • com_ui_redirecting_to_provider

⚠️ Please remove these unused keys to keep the translation files clean.

@github-actions
Copy link
Copy Markdown

🚨 Unused NPM Packages Detected

The following unused dependencies were found:

📂 Root package.json

  • 18
  • @opentelemetry/exporter-trace-otlp-http

📂 Client client/package.json

  • winston-daily-rotate-file

📂 API api/package.json

  • compressible
  • oauth4webapi

⚠️ Please remove these unused dependencies to keep your project clean.

@harshith-v-fyers harshith-v-fyers merged commit dcfa6fd into insti-web-view-integration Apr 22, 2026
1 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants