Skip to content

Mac UI fixes#14

Merged
iLevyTate merged 6 commits intomainfrom
MACUIFixes
Feb 15, 2026
Merged

Mac UI fixes#14
iLevyTate merged 6 commits intomainfrom
MACUIFixes

Conversation

@iLevyTate
Copy link
Owner

This pull request introduces several improvements focused on user experience and diagnostics, particularly for macOS users and the application's vector search capabilities. The most significant changes include enhanced macOS branding (dock label, icon, and app name), improved fallback logic and diagnostics for vector search, and user interface refinements for navigation.

macOS Branding and UX Enhancements:

  • Set the application name explicitly to "StratoSort Core" for consistent branding across the dock, Activity Monitor, and app menu on macOS, both in development and production. This includes updating package.json, assigning app.name early in Electron, and patching the Electron.app's Info.plist during development to ensure the correct name and bundle identifier are shown. A new script (scripts/patch-electron-mac.js) is added and invoked during postinstall. The macOS dock icon is also set programmatically to the StratoSort logo in development mode. [1] [2] [3] [4] [5]

Vector Search Fallbacks and Diagnostics:

  • Improved fallback logic in OramaVectorService for file-level vector search: now prioritizes in-memory sidecar vectors for fast retrieval and only fetches metadata for top candidates, with a robust fallback to slower methods when needed. [1] [2] [3]
  • Added a getFileVectorDiagnostics method to provide detailed diagnostics when vector search returns no results, including eligibility breakdowns and sample ineligible documents.
  • Enhanced SearchService to log detailed diagnostics (throttled to avoid noise) whenever a vector search yields zero results, aiding debugging and user support. [1] [2] [3]

User Interface and Navigation Improvements:

  • Refined the navigation bar's appearance and behavior: replaced hardcoded class strings with semantic CSS classes for tab states, adjusted layout for macOS, and improved the navigation container's styling for a more polished look. [1] [2] [3] [4]

Integration and Dependency Updates:

  • Ensured the llamaService is resolved (if available) in the main service integration, supporting future extensibility.

…s for vector retrieval

- Improved the fallback mechanism in OramaVectorService to utilize in-memory sidecar vectors for faster retrieval, with a more robust scoring system.
- Introduced a new method, getFileVectorDiagnostics, to diagnose eligibility for primary vector search and provide insights into vector retrieval issues.
- Added logging for zero vector results in SearchService to capture diagnostics and prevent silent failures.
- Updated default settings to enable auto-generating chunk embeddings during file analysis for improved retrieval depth.
Fixes #10, Fixes #11

- Add productName to package.json and set app.name early in main process
- Set macOS dock icon programmatically via app.dock.setIcon
- Add postinstall script to patch Electron.app Info.plist on macOS
- Add left margin on macOS nav bar to avoid traffic light button overlap
- Refine phase navigation tab styling with platform-aware CSS
- Add productName and set app.name early; set dock icon via app.dock.setIcon
- Patch Electron Info.plist on macOS via postinstall
- Add left margin on nav bar to avoid traffic light button overlap
- Refine phase navigation tab styling with platform-aware CSS
- Add productName and set app.name early; set dock icon via app.dock.setIcon
- Patch Electron Info.plist on macOS via postinstall
- Add left margin on nav bar to avoid traffic light button overlap
- Refine phase navigation tab styling with platform-aware CSS
@iLevyTate iLevyTate merged commit c479d07 into main Feb 15, 2026
2 checks passed
@iLevyTate iLevyTate deleted the MACUIFixes branch February 15, 2026 03:19
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