Skip to content

Enhancement: allow files inside user-created Documentation folders #795

Closed

Description

@cmt-t

Summary

First of all, thank you for the recent Drive-style file management work in #784. That feature already provides an excellent foundation for browsing, previewing, downloading and organizing project files.

This request is a focused follow-up: allow files to be stored and displayed directly inside the user-created folders of a project's Documentation area, while continuing to use the existing file-management system as the single storage and permission layer.

Problem

Project documentation is commonly organized by users into meaningful folders such as:

  • Documentation / Governance
  • Documentation / Research
  • Documentation / Methodology
  • Documentation / Suppliers

In real projects, these folders often need to contain both Markdown documents and original binary artifacts, for example:

  • DOCX process guides;
  • PDF proposals;
  • XLSX evaluation workbooks;
  • presentation decks;
  • screenshots and diagrams;
  • exported evidence files;
  • recordings or other project artifacts.

At the moment, a user may have to keep the Markdown document in the documentation tree and the related binary file somewhere else, such as a task attachment or a generic file-management folder. A Markdown document can mention the binary file, but the file is not necessarily visible or downloadable from the same documentation folder.

This creates a discoverability and continuity problem. A future user may know that an original file exists but still need to know which task or technical attachment ID contains it. The file is stored, but its relationship to the documentation structure is indirect.

Proposed enhancement

Build on the existing file-management implementation and allow a project file to be associated with a user-created Documentation folder.

For example:

Documentation
├── Governance
│   ├── Checkpoints
│   │   ├── checkpoint-2026-11-19.md
│   │   └── meeting-evidence.docx
│   └── Risks
├── Research
│   └── Methodology
│       ├── evaluation-criteria.md
│       └── original-process-guide.docx
└── Suppliers

The Documentation tree would display Markdown documents and file items together, while the existing project Files view would remain the aggregated view of all files.

Important design constraint

This should not create independent copies of the same binary file.

A file should remain a single managed entity in the existing file-management system, with relationships to one or more contextual locations, such as:

  • a project;
  • a Documentation folder;
  • a Markdown document;
  • a task;
  • an annotation or other supported source.

The Documentation folder should be a location or relationship for the existing file, not a second physical storage area.

Suggested behavior

Upload

From a user-created Documentation folder, the user should be able to:

  • upload a new file directly into that folder;
  • choose an existing project file from the file manager;
  • optionally associate the file with a Markdown document in the same folder.

Browse and download

Inside the Documentation folder, the user should see:

  • Markdown documents;
  • binary file items;
  • file type and extension;
  • size;
  • last modified or uploaded date;
  • author, when available;
  • relationship/source information;
  • preview or download actions according to the file type and permissions.

Relationships

If a file is also attached to a task, the UI should make that relationship visible and allow navigation back to the task. If a file is referenced by a Markdown document, the relationship should also be discoverable.

Move and remove

Subject to permissions, users should be able to:

  • move a file between user-created Documentation folders;
  • remove its Documentation-folder relationship without deleting the underlying file;
  • explicitly delete the file through the existing file-management rules;
  • see a warning when deletion would affect a task attachment or another source relationship.

Permissions and integrity

  • Reuse the existing file-management permissions and project scope.
  • Do not expose a file through a Documentation folder if the user cannot read the file.
  • Do not duplicate storage objects when a file is linked from multiple places.
  • Preserve the original binary on download.
  • Preserve existing task-attachment and document-file behavior.
  • Keep the existing global/project Files view as the canonical aggregated inventory.
  • Make the relationship between a file and its Documentation folder explicit in the data model and API.

Suggested acceptance criteria

  1. A project user can upload a DOCX, PDF, XLSX or image directly into a user-created Documentation folder.
  2. The uploaded file appears in that folder alongside Markdown documents.
  3. The same file appears in the project's existing Files view without being physically duplicated.
  4. A user can open a file preview or download the original binary, subject to permissions.
  5. A user can associate an existing project file with a Documentation folder.
  6. The UI shows the file's source and related task/document relationships when available.
  7. Removing a file from a Documentation folder does not silently delete the underlying file if other relationships still exist.
  8. Deleting a file follows the existing file-management confirmation and trash/permanent-delete rules.
  9. Moving a file between user-created Documentation folders updates its location without creating a second file.
  10. Existing Markdown document behavior remains unchanged.
  11. Existing task attachments remain accessible from their tasks and from the project Files view.
  12. Project and file permissions are enforced consistently across Documentation and Files views.

User value

This would make the Documentation area a reliable project knowledge space rather than a Markdown-only tree with binary evidence stored elsewhere. It would improve:

  • discoverability of original source files;
  • auditability and provenance;
  • continuity when project ownership changes;
  • retrieval by humans and AI agents;
  • consistency between documentation and evidence;
  • reduced duplication and fewer broken references.

Scope boundaries

This request does not require browser-based editing of DOCX, XLSX, PDF or other binary formats. Direct in-browser editing, collaborative editing, locking, conflict resolution and advanced version history could be considered as separate future work.

The immediate goal is simply to make existing project files first-class, navigable items inside user-created Documentation folders while reusing the file manager's storage, permissions and lifecycle rules.

Thank you for the excellent file-management foundation and for considering this documentation-focused enhancement.

Activity

  1. pullfrog commented on Nov 19, 2026

    @pullfrog
    Contributor
  2. self-assigned this
    on Nov 20, 2026
  3. added
    enhancement
    on Nov 20, 2026
  4. linked a pull request that will close this issuefeat: unify documentation and file management #801on Nov 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancement

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions