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.