Skip to content

feat(filebrowser): add toggle to show/hide hidden files and .env synt…#269

Open
NeonPimpZ wants to merge 1 commit intoIceWhaleTech:mainfrom
NeonPimpZ:feat/filebrowser-hidden-files-toggle
Open

feat(filebrowser): add toggle to show/hide hidden files and .env synt…#269
NeonPimpZ wants to merge 1 commit intoIceWhaleTech:mainfrom
NeonPimpZ:feat/filebrowser-hidden-files-toggle

Conversation

@NeonPimpZ
Copy link
Copy Markdown

What does this PR do?

  • Show/hide hidden files toggle — adds an eye icon button to the file browser toolbar. When enabled, files and folders whose names begin with . are shown alongside regular files. The toggle state is stored in Vuex (showHiddenFiles) so it persists across navigation within the session. Off by default to preserve existing behaviour.
  • .env syntax highlighting — the code editor now detects files named .env or matching .env.* and applies shell (text/x-sh) syntax highlighting, making environment files easier to read and edit.

Test plan

  • Open the file browser — hidden files (e.g. .gitignore, .env) should not appear by default
  • Click the eye toggle in the toolbar — hidden files should appear; click again to hide them
  • Open a .env file in the code editor — verify syntax highlighting is applied

Related Issue

IceWhaleTech/CasaOS#1848

@sonarqubecloud
Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
B Reliability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

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