Skip to content

18.0 Add DMS workspace UI#482

Open
windweaver828 wants to merge 2 commits into
OCA:18.0from
windweaver828:18.0-add-dms-workspace-ui
Open

18.0 Add DMS workspace UI#482
windweaver828 wants to merge 2 commits into
OCA:18.0from
windweaver828:18.0-add-dms-workspace-ui

Conversation

@windweaver828

@windweaver828 windweaver828 commented Jun 10, 2026

Copy link
Copy Markdown

Summary

This PR adds dms_workspace_ui, an optional modern workspace interface for OCA DMS.

The addon keeps the existing DMS models, permissions, routes, menus, and classic views intact. It adds a new workspace-style Documents action with:

  • card/grid file browsing
  • persistent folder tree/sidebar
  • file/folder selection
  • context menu actions
  • inspector/details panel
  • upload/new folder/rename/delete flows
  • responsive layout support

The goal is to improve first-use usability of OCA DMS without replacing or rewriting the existing backend behavior.

Screenshots

Existing DMS UI

image image

New Workspace UI

image

Inspector / Preview Pane / Details

image

Context Menu

image image

Responsive Layout

image

Settings Added

image

Scope

This PR only adds the optional dms_workspace_ui addon.

It does not:

  • change DMS models
  • change DMS security
  • change existing DMS routes
  • remove existing DMS views

Validation

Locally validated with:

  • Python compile checks
  • XML parse checks
  • Odoo module install/update
  • Manual checks for behavior such as folder navigation, file selection, context menu, dialogs, upload cancel, archive/restore, and responsive layout

Notes

The addon is new UI surface area, and I’d appreciate maintainer feedback on naming, placement, and whether this belongs in OCA/dms as an optional addon. Any feedback is taken to heart and greatly appreciated. Thank you.

Installing the addon hides the original DMS Files/Directories and DMS Field Documents pages by default, toggleable in the general settings of the app.

Also not seen, keyboard navigation is included.

  • Tab swaps between filetree and files pane.
  • Typeahead jumping, type and it jumps to matching locations
  • Arrow keys navigate
  • Ctrl + Left click multi selects
  • Spacebar also multi selects
  • Shift + Arrow keys also multi selects
  • Alt hotkeys overlay works with Add File and New Folder buttons
  • In filetree Left/Right arrow and Spacebar expands/collapses folders
  • Delete key to delete
  • F2 for rename

Extras seen in pictures that are not included

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants