[PR #3446] [MERGED] Add ability to reordering workspaces #4284

Closed
opened 2026-02-22 18:35:31 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Mintplex-Labs/anything-llm/pull/3446
Author: @MrMarans
Created: 3/12/2025
Status: Merged
Merged: 3/18/2025
Merged by: @timothycarambat

Base: masterHead: reordering


📝 Commits (6)

  • e28ece1 added reordering of workspaces
  • f7ab72f smooth ui updates on dnd + ui bug fixes
  • 3fc2aa8 pin react-beautiful-dnd version
  • 5292efd Merge branch 'master' into workspace-reordering
  • 476d611 Move to localstorage solution to support single and multi-user
  • 4f81483 Merge branch 'master' into reordering

📊 Changes

5 files changed (+297 additions, -100 deletions)

View changed files

📝 frontend/package.json (+1 -0)
📝 frontend/src/components/Sidebar/ActiveWorkspaces/ThreadContainer/ThreadItem/index.jsx (+2 -2)
📝 frontend/src/components/Sidebar/ActiveWorkspaces/index.jsx (+160 -94)
📝 frontend/src/models/workspace.js (+40 -1)
📝 frontend/yarn.lock (+94 -3)

📄 Description

Pull Request Type

  • feat
  • 🐛 fix
  • ♻️ refactor
  • 💄 style
  • 🔨 chore
  • 📝 docs

Relevant Issues

No issue created
resolves #1438

What is in this change?

This change add the ability to reorder workspaces when logged in as admin or manager.

Additional Information

With the usage of the react-beautiful-dnd I created code to make workspaces drag and dropable. This creates changes within the DB for workspaces

image

And it did work for me with old workspaces. The update made no change to the current ordering and workspaces were usable as much as before.

Developer Validations

  • I ran yarn lint from the root of the repo & committed changes
  • Relevant documentation has been updated
  • 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/3446 **Author:** [@MrMarans](https://github.com/MrMarans) **Created:** 3/12/2025 **Status:** ✅ Merged **Merged:** 3/18/2025 **Merged by:** [@timothycarambat](https://github.com/timothycarambat) **Base:** `master` ← **Head:** `reordering` --- ### 📝 Commits (6) - [`e28ece1`](https://github.com/Mintplex-Labs/anything-llm/commit/e28ece149ece51807915540675e3c82c8cfeeba7) added reordering of workspaces - [`f7ab72f`](https://github.com/Mintplex-Labs/anything-llm/commit/f7ab72f892c6e14c8b4e6f20fe6804dd0aaa7019) smooth ui updates on dnd + ui bug fixes - [`3fc2aa8`](https://github.com/Mintplex-Labs/anything-llm/commit/3fc2aa8d24adf3f17a6dc3f8dc4834f933135e83) pin react-beautiful-dnd version - [`5292efd`](https://github.com/Mintplex-Labs/anything-llm/commit/5292efde06dc1a4c9c5e24dfa19c8d0460b28e85) Merge branch 'master' into workspace-reordering - [`476d611`](https://github.com/Mintplex-Labs/anything-llm/commit/476d6114b82567136367ff2526b8d9772e2ace5d) Move to localstorage solution to support single and multi-user - [`4f81483`](https://github.com/Mintplex-Labs/anything-llm/commit/4f814839589546bfab72af2ba2f20226a01559e8) Merge branch 'master' into reordering ### 📊 Changes **5 files changed** (+297 additions, -100 deletions) <details> <summary>View changed files</summary> 📝 `frontend/package.json` (+1 -0) 📝 `frontend/src/components/Sidebar/ActiveWorkspaces/ThreadContainer/ThreadItem/index.jsx` (+2 -2) 📝 `frontend/src/components/Sidebar/ActiveWorkspaces/index.jsx` (+160 -94) 📝 `frontend/src/models/workspace.js` (+40 -1) 📝 `frontend/yarn.lock` (+94 -3) </details> ### 📄 Description ### Pull Request Type <!-- For change type, change [ ] to [x]. --> - [X] ✨ feat - [ ] 🐛 fix - [ ] ♻️ refactor - [ ] 💄 style - [ ] 🔨 chore - [ ] 📝 docs ### Relevant Issues No issue created resolves #1438 ### What is in this change? This change add the ability to reorder workspaces when logged in as admin or manager. ### Additional Information With the usage of the react-beautiful-dnd I created code to make workspaces drag and dropable. This creates changes within the DB for workspaces ![image](https://github.com/user-attachments/assets/eda0ce80-b0c2-4069-b709-d7ff826d07cc) And it did work for me with old workspaces. The update made no change to the current ordering and workspaces were usable as much as before. ### Developer Validations <!-- All of the applicable items should be checked. --> - [X] I ran `yarn lint` from the root of the repo & committed changes - [x] Relevant documentation has been updated - [X] I have tested my code functionality - [X] 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-02-22 18:35:31 -05:00
yindo closed this issue 2026-02-22 18:35:31 -05:00
yindo changed title from [PR #3446] Add ability to reordering workspaces to [PR #3446] [MERGED] Add ability to reordering workspaces 2026-06-05 15:17:46 -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#4284