Skip to content

bug(web ui): directory-picker inserts incomplete or mangled paths #288

@filipchristiansen

Description

@filipchristiansen

Web UI: Directory-picker inserts incomplete or mangled paths

The Directory Structure sidebar should let users click a file / folder and have its exact repo-relative path copied into the Pattern field (for Include/Exclude rules).

Currently it corrupts the inserted string in three ways:

❌ Bug Example click Inserts Should insert
1. Path dropped #266 frontend/package-lock.json package-lock.json frontend/package-lock.json
2. Leading dot stripped .dockerignore dockerignore .dockerignore
3. Intermediate dirs lost #284 sub-dir project_dir/docs/examples/ → examples/ examples/ docs/examples/

As a result, include/exclude patterns fail silently.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions