Skip to content

Conversation

heavy-d
Copy link
Collaborator

@heavy-d heavy-d commented Aug 16, 2025

image

heavy-d added 15 commits August 15, 2025 23:01
- 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.
- 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.
Copy link

claude bot commented Aug 16, 2025

Claude encountered an error —— View job


I'll analyze this and get back to you.

@heavy-d heavy-d requested a review from georgi August 16, 2025 01:59
Copy link

cloudflare-workers-and-pages bot commented Aug 16, 2025

Deploying nodetool with  Cloudflare Pages  Cloudflare Pages

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

View logs

Copy link

cloudflare-workers-and-pages bot commented Aug 16, 2025

Deploying nodetool-staging with  Cloudflare Pages  Cloudflare Pages

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

View logs

- 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.
Copy link

claude bot commented Aug 16, 2025

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.
Copy link

claude bot commented Aug 19, 2025

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
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant