[PR #126] [MERGED] Add alias frontend root #317

Closed
opened 2026-02-23 17:21:13 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Mintplex-Labs/vector-admin/pull/126
Author: @shatfield4
Created: 1/19/2024
Status: Merged
Merged: 1/24/2024
Merged by: @timothycarambat

Base: masterHead: add-alias-frontend-root


📝 Commits (3)

  • 408f2d3 add @ alias and use for all import statements
  • cf720d5 Merge branch 'master' into add-alias-frontend-root
  • 1961994 remove unneeded comment

📊 Changes

82 files changed (+433 additions, -425 deletions)

View changed files

📝 frontend/src/App.tsx (+20 -20)
📝 frontend/src/AuthContext.tsx (+1 -1)
📝 frontend/src/components/AdminRoute/index.tsx (+4 -4)
📝 frontend/src/components/DocumentPaginator/index.tsx (+1 -1)
📝 frontend/src/components/Modals/NewConnectorModal.tsx (+7 -8)
📝 frontend/src/components/Modals/SyncConnectorModal.tsx (+2 -2)
📝 frontend/src/components/Modals/UpdateConnectorModal.tsx (+6 -7)
📝 frontend/src/components/Modals/UploadDocumentModal/FileUploadProgress/index.tsx (+2 -2)
📝 frontend/src/components/Modals/UploadDocumentModal/index.tsx (+3 -3)
📝 frontend/src/components/Modals/UploadModalNoKey.tsx (+2 -2)
📝 frontend/src/components/Notifications/index.tsx (+6 -6)
📝 frontend/src/components/PrivateRoute/index.tsx (+4 -4)
📝 frontend/src/components/Sidebar/CreateOrganizationModal/index.tsx (+3 -3)
📝 frontend/src/components/Sidebar/OrganizationTab/index.tsx (+3 -3)
📝 frontend/src/components/Sidebar/WorkspaceSearch/index.tsx (+2 -2)
📝 frontend/src/components/Sidebar/index.tsx (+4 -4)
📝 frontend/src/components/UserMenu/index.tsx (+3 -3)
📝 frontend/src/hooks/useUser.tsx (+1 -1)
📝 frontend/src/layout/AppLayout.tsx (+4 -4)
📝 frontend/src/main.tsx (+2 -2)

...and 62 more files

📄 Description

Pull Request Type

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

Relevant Issues

resolves #125

What is in this change?

Describe the changes in this PR that are impactful to the repo.

  • Add @ as alias for frontend root to clean up import statements
  • Change all import statements to utilize the @ alias

Additional Information

Add any other context about the Pull Request here that was not captured above.

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/vector-admin/pull/126 **Author:** [@shatfield4](https://github.com/shatfield4) **Created:** 1/19/2024 **Status:** ✅ Merged **Merged:** 1/24/2024 **Merged by:** [@timothycarambat](https://github.com/timothycarambat) **Base:** `master` ← **Head:** `add-alias-frontend-root` --- ### 📝 Commits (3) - [`408f2d3`](https://github.com/Mintplex-Labs/vector-admin/commit/408f2d31e1a6295e54dc910bde7248ede4e409e5) add @ alias and use for all import statements - [`cf720d5`](https://github.com/Mintplex-Labs/vector-admin/commit/cf720d5d12aeadae7ca7beb4434ce11e0a39c17c) Merge branch 'master' into add-alias-frontend-root - [`1961994`](https://github.com/Mintplex-Labs/vector-admin/commit/19619941c748598b90e7eaff35a3d3d24a96661c) remove unneeded comment ### 📊 Changes **82 files changed** (+433 additions, -425 deletions) <details> <summary>View changed files</summary> 📝 `frontend/src/App.tsx` (+20 -20) 📝 `frontend/src/AuthContext.tsx` (+1 -1) 📝 `frontend/src/components/AdminRoute/index.tsx` (+4 -4) 📝 `frontend/src/components/DocumentPaginator/index.tsx` (+1 -1) 📝 `frontend/src/components/Modals/NewConnectorModal.tsx` (+7 -8) 📝 `frontend/src/components/Modals/SyncConnectorModal.tsx` (+2 -2) 📝 `frontend/src/components/Modals/UpdateConnectorModal.tsx` (+6 -7) 📝 `frontend/src/components/Modals/UploadDocumentModal/FileUploadProgress/index.tsx` (+2 -2) 📝 `frontend/src/components/Modals/UploadDocumentModal/index.tsx` (+3 -3) 📝 `frontend/src/components/Modals/UploadModalNoKey.tsx` (+2 -2) 📝 `frontend/src/components/Notifications/index.tsx` (+6 -6) 📝 `frontend/src/components/PrivateRoute/index.tsx` (+4 -4) 📝 `frontend/src/components/Sidebar/CreateOrganizationModal/index.tsx` (+3 -3) 📝 `frontend/src/components/Sidebar/OrganizationTab/index.tsx` (+3 -3) 📝 `frontend/src/components/Sidebar/WorkspaceSearch/index.tsx` (+2 -2) 📝 `frontend/src/components/Sidebar/index.tsx` (+4 -4) 📝 `frontend/src/components/UserMenu/index.tsx` (+3 -3) 📝 `frontend/src/hooks/useUser.tsx` (+1 -1) 📝 `frontend/src/layout/AppLayout.tsx` (+4 -4) 📝 `frontend/src/main.tsx` (+2 -2) _...and 62 more files_ </details> ### 📄 Description ### Pull Request Type <!-- For change type, change [ ] to [x]. --> - [ ] ✨ feat - [ ] 🐛 fix - [ ] ♻️ refactor - [ ] 💄 style - [x] 🔨 chore - [ ] 📝 docs ### Relevant Issues <!-- Use "resolves #xxx" to auto resolve on merge. Otherwise, please use "connect #xxx" --> resolves #125 ### What is in this change? Describe the changes in this PR that are impactful to the repo. - Add @ as alias for frontend root to clean up import statements - Change all import statements to utilize the @ alias ### 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. --> - [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-23 17:21:13 -05:00
yindo closed this issue 2026-02-23 17:21:13 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/vector-admin#317