feat(admin): add team folder management endpoints and UI integration - #2794
Open
Fin-c wants to merge 1 commit into
Open
feat(admin): add team folder management endpoints and UI integration#2794Fin-c wants to merge 1 commit into
Fin-c wants to merge 1 commit into
Conversation
Co-authored-by: Copilot <copilot@github.com> GPT-5.6 Terra Signed-off-by: Fin Clausen <Fin.Clausen@dataport.de>
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
artonge
reviewed
Aug 21, 2026
Comment on lines
+353
to
+354
| * Fetch existing team folders directly available to a team that can become | ||
| * its exclusive team folder. |
Contributor
There was a problem hiding this comment.
Suggested change
| * Fetch existing team folders directly available to a team that can become | |
| * its exclusive team folder. | |
| * Fetch team folders that are not yet linked to a team. |
| const { data } = await axios.post<OcsResponse<{ folderId: number, folder: TeamFolder }>>( | ||
| generateOcsUrl('apps/circles/teams/{circleId}/folder', { circleId: teamId }), | ||
| {}, | ||
| { name }, | ||
| { headers: HEADERS }, |
Contributor
There was a problem hiding this comment.
OCS-APIRequest should not be needed in this context. Can you double check-that and remove it?
Contributor
There was a problem hiding this comment.
Same would apply to all other requests.
| } | ||
|
|
||
| /** | ||
| * Make an eligible existing team folder the exclusive team folder. |
Contributor
There was a problem hiding this comment.
Suggested change
| * Make an eligible existing team folder the exclusive team folder. | |
| * Link a team to a team folder. |
| */ | ||
| export async function updateTeamFolderQuota(folderId: number, quota: number): Promise<void> { | ||
| await axios.post( | ||
| generateUrl(`/apps/groupfolders/folders/${folderId}/quota`), |
Contributor
There was a problem hiding this comment.
We should not reach a groupfolder API from circles.
|
|
||
| try { | ||
| const { data: groupFoldersData } = await axios.get<OcsResponse<GroupFolderForCircle[]>>( | ||
| generateUrl(`/apps/groupfolders/circles/${encodeURIComponent(teamFolder.teamId)}/folders`), |
Contributor
There was a problem hiding this comment.
We should not reach a groupfolder API from circles.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
moves team folder management into the Teams administration settings and adds a central overview of all teams and their linked team folders. Task #2781
TODO
Checklist
3. to review, feature component)stable32)AI (if applicable)