[PR #5741] Modal component #5553

Open
opened 2026-06-05 15:21:43 -04:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Mintplex-Labs/anything-llm/pull/5741
Author: @shatfield4
Created: 6/1/2026
Status: 🔄 Open

Base: masterHead: feat/uniform-modal-component


📝 Commits (3)

  • 393b1d5 add reusable Modal component, migrate all modals off ModalWrapper, drop duplicate dark overlays
  • 0698179 migrate all modals to uniform Modal component with normalized light/dark styles
  • 34ac15b fix modal light-mode focus, content styles, spacing, scroll, and save-bar overlap

📊 Changes

70 files changed (+2805 additions, -3438 deletions)

View changed files

📝 frontend/src/components/ChangeWarning/index.jsx (+36 -48)
📝 frontend/src/components/CommunityHub/PublishEntityModal/AgentFlows/index.jsx (+65 -74)
📝 frontend/src/components/CommunityHub/PublishEntityModal/SlashCommands/index.jsx (+81 -86)
📝 frontend/src/components/CommunityHub/PublishEntityModal/SystemPrompts/index.jsx (+72 -81)
📝 frontend/src/components/CommunityHub/PublishEntityModal/index.jsx (+7 -6)
📝 frontend/src/components/CommunityHub/UnauthenticatedHubModal/index.jsx (+18 -27)
📝 frontend/src/components/KeyboardShortcutsHelp/index.jsx (+12 -22)
frontend/src/components/ModalWrapper/index.jsx (+0 -35)
📝 frontend/src/components/Modals/DisplayRecoveryCodeModal/index.jsx (+48 -52)
📝 frontend/src/components/Modals/ManageWorkspace/Documents/Directory/NewFolderModal/index.jsx (+35 -57)
📝 frontend/src/components/Modals/ManageWorkspace/Documents/Directory/index.jsx (+8 -9)
📝 frontend/src/components/Modals/ManageWorkspace/Documents/WorkspaceDirectory/index.jsx (+75 -84)
📝 frontend/src/components/Modals/ManageWorkspace/index.jsx (+33 -49)
📝 frontend/src/components/Modals/NewWorkspace.jsx (+32 -60)
📝 frontend/src/components/Modals/Password/MultiUserAuth.jsx (+7 -3)
📝 frontend/src/components/Modals/Password/SingleUserAuth.jsx (+7 -3)
📝 frontend/src/components/UserMenu/AccountModal/index.jsx (+107 -155)
📝 frontend/src/components/WorkspaceChat/ChatContainer/ChatHistory/Citation/index.jsx (+54 -81)
📝 frontend/src/components/WorkspaceChat/ChatContainer/DnDWrapper/FileUploadWarningModal/index.jsx (+58 -70)
📝 frontend/src/components/WorkspaceChat/ChatContainer/MemoriesSidebar/MemoryModal/index.jsx (+37 -57)

...and 50 more files

📄 Description

Pull Request Type

  • feat (New feature)
  • 🐛 fix (Bug fix)
  • ♻️ refactor (Code refactoring without changing behavior)
  • 💄 style (UI style changes)
  • 🔨 chore (Build, CI, maintenance)
  • 📝 docs (Documentation updates)

Relevant Issues

resolves #

Description

Visuals (if applicable)

Additional Information

Developer Validations

  • I ran yarn lint from the root of the repo & committed changes
  • Relevant documentation has been updated (if applicable)
  • I have tested my code functionality
  • Docker build succeeds locally

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Mintplex-Labs/anything-llm/pull/5741 **Author:** [@shatfield4](https://github.com/shatfield4) **Created:** 6/1/2026 **Status:** 🔄 Open **Base:** `master` ← **Head:** `feat/uniform-modal-component` --- ### 📝 Commits (3) - [`393b1d5`](https://github.com/Mintplex-Labs/anything-llm/commit/393b1d57f47da66c12fb5f8fbc10c2234a8ac3d8) add reusable Modal component, migrate all modals off ModalWrapper, drop duplicate dark overlays - [`0698179`](https://github.com/Mintplex-Labs/anything-llm/commit/0698179bfc1cdce512e9c4e853b0a44606b2293d) migrate all modals to uniform Modal component with normalized light/dark styles - [`34ac15b`](https://github.com/Mintplex-Labs/anything-llm/commit/34ac15bccdecddec54836a0147ee9a9edbebd471) fix modal light-mode focus, content styles, spacing, scroll, and save-bar overlap ### 📊 Changes **70 files changed** (+2805 additions, -3438 deletions) <details> <summary>View changed files</summary> 📝 `frontend/src/components/ChangeWarning/index.jsx` (+36 -48) 📝 `frontend/src/components/CommunityHub/PublishEntityModal/AgentFlows/index.jsx` (+65 -74) 📝 `frontend/src/components/CommunityHub/PublishEntityModal/SlashCommands/index.jsx` (+81 -86) 📝 `frontend/src/components/CommunityHub/PublishEntityModal/SystemPrompts/index.jsx` (+72 -81) 📝 `frontend/src/components/CommunityHub/PublishEntityModal/index.jsx` (+7 -6) 📝 `frontend/src/components/CommunityHub/UnauthenticatedHubModal/index.jsx` (+18 -27) 📝 `frontend/src/components/KeyboardShortcutsHelp/index.jsx` (+12 -22) ➖ `frontend/src/components/ModalWrapper/index.jsx` (+0 -35) 📝 `frontend/src/components/Modals/DisplayRecoveryCodeModal/index.jsx` (+48 -52) 📝 `frontend/src/components/Modals/ManageWorkspace/Documents/Directory/NewFolderModal/index.jsx` (+35 -57) 📝 `frontend/src/components/Modals/ManageWorkspace/Documents/Directory/index.jsx` (+8 -9) 📝 `frontend/src/components/Modals/ManageWorkspace/Documents/WorkspaceDirectory/index.jsx` (+75 -84) 📝 `frontend/src/components/Modals/ManageWorkspace/index.jsx` (+33 -49) 📝 `frontend/src/components/Modals/NewWorkspace.jsx` (+32 -60) 📝 `frontend/src/components/Modals/Password/MultiUserAuth.jsx` (+7 -3) 📝 `frontend/src/components/Modals/Password/SingleUserAuth.jsx` (+7 -3) 📝 `frontend/src/components/UserMenu/AccountModal/index.jsx` (+107 -155) 📝 `frontend/src/components/WorkspaceChat/ChatContainer/ChatHistory/Citation/index.jsx` (+54 -81) 📝 `frontend/src/components/WorkspaceChat/ChatContainer/DnDWrapper/FileUploadWarningModal/index.jsx` (+58 -70) 📝 `frontend/src/components/WorkspaceChat/ChatContainer/MemoriesSidebar/MemoryModal/index.jsx` (+37 -57) _...and 50 more files_ </details> ### 📄 Description ### Pull Request Type <!-- For change type, change [ ] to [x]. --> - [x] ✨ feat (New feature) - [ ] 🐛 fix (Bug fix) - [ ] ♻️ refactor (Code refactoring without changing behavior) - [ ] 💄 style (UI style changes) - [ ] 🔨 chore (Build, CI, maintenance) - [ ] 📝 docs (Documentation updates) ### Relevant Issues <!-- Use "resolves #xxx" to auto resolve on merge. Otherwise, please use "connect #xxx" --> resolves # ### Description <!-- Describe the changes in this PR that are impactful to the repo. What problem does it solve? --> ### Visuals (if applicable) <!-- Add screenshots or screen recordings to demonstrate the changes, especially for UI updates. --> ### Additional Information <!-- Add any other context about the Pull Request here that was not captured above. --> ### Developer Validations <!-- All of the applicable items should be checked. --> - [ ] I ran `yarn lint` from the root of the repo & committed changes - [ ] Relevant documentation has been updated (if applicable) - [ ] I have tested my code functionality - [ ] Docker build succeeds locally --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-06-05 15:21:43 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#5553