Skip to content

[Feature] No way to bypass the IGNORED_NAMES / IGNORED_SUFFIXES in Explorer on the right sidebar UI #377

Closed

Description

@SleepinDevil

Problem / motivation
I am working on an Android project and I have successfully built the the app to /app/build/ folder. The source is at /app/src/ and I can see that folder in the side by Explorer without any issues.

Environment:

Things tested:

  • Instructed omp/LLM to move the the debug-app.apk from the build folder to the root folder for testing, and the APK was then visible in the Explorer sidebar
  • Made sure /app/build/ is not git ignored, the Explorer sidebar still did not show that path
  • Instructed omp/LLM to create some probe points to see if this is hardcoded behaviour in the Explorer
    • It created /probe/builddir/, /probe/plain/, and /probe/build/
    • Can confirm that only /probe/build/ was hidden in the UI, other two paths are visible
  • Searched through the way route.ts works and found that there is a hardcoded list of ignored paths to not show in the explorer

Understand the reason why this is the case, but there are scenarios when the user should be allowed to bypass this hardcoded list so they can access the files as generated on the computer from the other device they are working on without having to SSH/FTP otherwise.

Proposed solution
A toggle icon button next to the Search button which allows this list to be bypassed / enabled. Quick, easy and intuitive for the user to play with and realise that the /app/build/* path was hidden so clicking the eye symbol makes it visible again.

Alternatives considered
Software level setting on the settings pages, thought that might be a cumbersome way to include something basic and straightforward like this.

Additional context
I have a working solution that I have been testing and nothing broke from what I can tell. Please refactor my code as required. I'll put the pull request through shortly.

Happy to include screenshots if it helps analyse this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions