-
Notifications
You must be signed in to change notification settings - Fork 14
Add system info in electron #171
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
heavy-d
wants to merge
18
commits into
main
Choose a base branch
from
add-system-info-in-electron
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
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
Collaborator
heavy-d
commented
Aug 16, 2025

- Introduced a new System tab in the Help component for additional information. - Updated tab structure to include the System tab and its corresponding content panel.
…ates - Added scrollable variant and auto scroll buttons to the Help component's tab structure. - Updated SystemTab to include additional paths for Ollama models and Hugging Face cache. - Implemented fallback fetching for missing paths in the SystemTab component. - Improved handling of undefined values in the paths display.
- Added optional properties for core and electron main log files in the SystemTab component. - Enhanced the display logic to conditionally show chat logs and main log files based on the environment (Electron or non-Electron). - Updated paths list to reflect changes in log file handling and improved overall structure for better clarity.
…ronment - Added logic to display the System tab and its content only in non-production environments. - Utilized the isProduction flag to control the visibility of the System tab and its associated panel.
- Updated the rendering structure of the SystemTab to enhance the layout and visual organization of status checks. - Introduced a flexbox layout for better alignment of status details and hints, improving readability and user experience.
- Added default color scheme to ThemeNodetool for enhanced theme management. - Updated vars.css to include additional CSS variables for ReactFlow and Providers, while marking existing variables for future removal in favor of generated CSS vars.
- Removed unused `authHeader` import and the `openInExplorer` function to simplify the code. - Added new types for Ollama and Hugging Face base path responses to improve type safety. - Updated fetch requests to include error handling for system and health info loading. - Improved path handling logic to ensure proper updates for Ollama and Hugging Face directories. - Enhanced the display logic for paths to avoid unnecessary type assertions.
- Added support for Windows environment variables in the isPathValid function to enhance path validation. - Cleaned up the SystemTab component by removing an unnecessary blank line for improved code readability.
…e for improved readability
- Introduced a new SystemDiagnostics component to fetch and display system information, including OS details, versions, server status, and key paths. - Implemented loading and error handling for system info retrieval. - Added functionality to copy system information to the clipboard. - Styled the component with new CSS for improved visual presentation.
- Added fetchBasicSystemInfo function to retrieve system diagnostics, including OS details, versions, and server status. - Integrated the new API call into IPC handlers for system information retrieval. - Updated preload script to expose getSystemInfo method for use in the renderer process. - Refactored SystemDiagnostics component to utilize the real API for fetching system information instead of mock data.
- Added a button to toggle the visibility of the SystemDiagnostics component within the BootMessage. - Implemented new CSS styles for the boot actions and system info toggle button to enhance user interaction. - Updated BootMessage component to manage the state for displaying system information.
- Updated CSS styles for the system diagnostics panel, including positioning, animation, and improved visual effects. - Refactored BootMessage component to integrate a new header for the system info toggle button, enhancing user interaction. - Adjusted layout and styling of the system info toggle button for better alignment and usability.
- Implemented functions to fetch local Python version and NodeTool package versions, providing fallbacks when backend is unavailable. - Updated fetchBasicSystemInfo to include local data in the system information response. - Modified CSS for the system diagnostics panel, adjusting positioning and animation for improved user experience.
- Implemented a function to fetch the local CUDA version using nvcc and nvidia-smi as fallbacks. - Updated the BasicSystemInfo interface to include CUDA version. - Enhanced the SystemDiagnostics component to display the CUDA version alongside other system information. - Adjusted fallback values in the system info display for improved clarity.
Claude encountered an error —— View job I'll analyze this and get back to you. |
Deploying nodetool with
|
Latest commit: |
eed347c
|
Status: | ✅ Deploy successful! |
Preview URL: | https://d1098e36.nodetool.pages.dev |
Branch Preview URL: | https://add-system-info-in-electron.nodetool.pages.dev |
Deploying nodetool-staging with
|
Latest commit: |
eed347c
|
Status: | ✅ Deploy successful! |
Preview URL: | https://8d6c7e1b.nodetool-staging.pages.dev |
Branch Preview URL: | https://add-system-info-in-electron.nodetool-staging.pages.dev |
- Added new fields for GPU name, VRAM, and driver version in the BasicSystemInfo interface. - Enhanced the SystemDiagnostics component to display GPU details if available. - Updated the SystemTab component to include GPU information in the system status output.
Claude encountered an error —— View job I'll analyze this and get back to you. |
…stem info retrieval - Replaced BASE_URL with client for API calls to enhance flexibility. - Implemented fallback logic to create basic system and health information structures when specific endpoints are unavailable. - Updated error handling to ensure fallback data is set even when API calls fail. - Adjusted CSS styles for better presentation of system information.
…mponent - Adjusted code formatting for better readability, including consistent indentation and removal of unnecessary blank lines. - Ensured clarity in the structure of API call handling and fallback data assignment.
Claude encountered an error —— View job I'll analyze this and get back to you. |
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.