Skip to content

Add customizable appearance for unknown file statuses in File Explorer and Status Bar#37

Merged
soler1212 merged 1 commit intomasterfrom
feature/status-bar-unknown-customization
Jul 20, 2025
Merged

Add customizable appearance for unknown file statuses in File Explorer and Status Bar#37
soler1212 merged 1 commit intomasterfrom
feature/status-bar-unknown-customization

Conversation

@soler1212
Copy link
Copy Markdown
Member

@soler1212 soler1212 commented Jul 20, 2025

This PR introduces configurable display options for unknown file statuses, improving clarity and personalization across the File Explorer and Status Bar components.

Features Added

  • New Plugin Settings:

    • unknownStatusIcon: Custom icon (default: ❓)
    • unknownStatusColor: Custom hex color (default: #8b949e)
    • statusBarNoStatusText: Text shown in status bar when no status (default: "No status")
    • statusBarShowNoStatusIcon: Toggle for icon display in status bar
    • statusBarShowNoStatusText: Toggle for text display in status bar
  • File Explorer:

    • Displays custom icon and color for unknown statuses using unknownStatusConfig.
  • Status Bar:

    • Displays user-defined icon and/or text when no statuses are present.
    • Controlled via noStatusConfig derived from plugin settings.
  • Settings UI:

    • New section to configure unknown status icon, color, and status bar behavior.

🛠 Other Changes

  • defaultSettings.ts updated with sensible defaults.
  • Integration layers (file-explorer, status-bar) updated to react to changes in relevant settings keys.

This allows users to better personalize and visually distinguish files with unknown statuses, especially when excludeUnknownStatus is disabled.

@soler1212 soler1212 changed the title feat: add settings to customize the status bar when unknown status; c… Add customizable appearance for unknown file statuses in File Explorer and Status Bar Jul 20, 2025
@soler1212 soler1212 self-assigned this Jul 20, 2025
@soler1212 soler1212 added the enhancement New feature or request label Jul 20, 2025
@soler1212 soler1212 added this to the v2.0.0 milestone Jul 20, 2025
@soler1212 soler1212 marked this pull request as ready for review July 20, 2025 18:06
@soler1212 soler1212 merged commit e1a52a3 into master Jul 20, 2025
@soler1212 soler1212 deleted the feature/status-bar-unknown-customization branch July 20, 2025 18:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature request] Customisation for "unknown" status icon, hide for the note status in right, or do not display empty status.

1 participant