feat(teams): add ITeamFileResourceProvider for cross-provider file lookups - #63444
Open
pringelmann wants to merge 1 commit into
Open
feat(teams): add ITeamFileResourceProvider for cross-provider file lookups#63444pringelmann wants to merge 1 commit into
pringelmann wants to merge 1 commit into
Conversation
pringelmann
force-pushed
the
feat/teams-file-resource-provider
branch
2 times, most recently
from
August 21, 2026 09:26
898e0a8 to
b4cf1d3
Compare
Signed-off-by: Peter Ringelmann <peter.ringelmann@nextcloud.com>
pringelmann
force-pushed
the
feat/teams-file-resource-provider
branch
from
August 21, 2026 09:27
b4cf1d3 to
be46509
Compare
pringelmann
marked this pull request as ready for review
August 21, 2026 09:32
pringelmann
requested review from
Altahrim,
artonge,
come-nc,
provokateurin and
salmart-dev
and removed request for
a team
August 21, 2026 09:32
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
The teams lookup asks a single provider, picked by the providerId in the route. For a file that is always
files, which circles owns and answers fromoc_share. A team folder is mounted rather than shared, so there is no share row, the answer comes back empty, and the sidebar card hides itself.This adds
ITeamFileResolver, one interface with one method. When the lookup was addressed by file id,TeamManageralso asks every provider implementing it and merges the result. groupfolders does the answering in nextcloud/groupfolders#5035.Tested on a team space, a folder shared with a team, files two levels deep, and a file belonging to no team. A Deck board on the same team lands in the same card:
Checklist
3. to review, feature component)stable32)AI (if applicable)