feat: Add TagRemovalZone component and refactor drag-drop for tag management

This commit is contained in:
2025-12-09 01:30:31 +01:00
parent aaa4a9b577
commit 1d127e2122
6 changed files with 118 additions and 84 deletions
@@ -5,6 +5,7 @@ import React, {
useRef,
useEffect,
} from 'react';
import TagRemovalZone from '../components/TagRemovalZone';
import { DocumentsList, DocumentsGrid } from '../DocumentsView';
import type { ReactNode } from 'react';
import type {
@@ -307,6 +308,7 @@ const DocumentsPanelInner: React.FC<DocumentsPanelInnerProps> = (props) => {
onBreadcrumbClick={onBreadcrumbNavigate}
/>
<div className="documents-panel-wrapper">
<TagRemovalZone />
<section
ref={scrollRef}
className={`documents-panel documents-panel--view-${panelVariant}`}