You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 23, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Nov 23, 2026. It is now read-only.
Reusage of web components in extensions limited #8281
Background:
Developing feature rich extensions like backups extension that lists backup resources similar to web-app-files
Issue:
A lot of components from web-app-files are needed for the extension: ResourceTable, AppBar, breadcrumbs, useSort, useResourcesViewDefaults etc.
According to @dschmidt reusage of components from web can only be done from web-pkg and web-client. Moving all of these components would require also moving of their imported components, almost the whole web-app-files.
Keeping the extension inside of the web is long term also a bad solution as changes in imports would cause a lot of effort in maintainability
As responded later to you in chat (when you probably already called it a day) we need to hear more explicit use cases and what exactly you want to achieve.
If you give us more details about what exactly you want to achieve, we can help laying out an architecture.
@kulmann from a cursory read it seemed like there has been basically a re-implementation of the ResourceTable for spaces in the admin-app recently, moving ResourceTable (and potentially ResourceTiles also 😇 ) to the web-pkg could both resolve that, force the project to move away from some mixins/web-app-files-internal APIs towards more open ones and address parts of this ticket?
@dschmidt We want to be able to reuse things from web-app-files in external extensions. The extensions should be able to import from a certain web version and don't break when there are modifications of reused components.
Example: backups extension that has a logic, similar to web-app-files: reuses ResourceTable, breadcrumbs, actions, useResourcesViewDefaults etc. but it's reachable from ApplicationSwitcher and has own endpoints and loadResourcesTasks.
As I understand, the only way would be to move needed components to web-pkg, but this is a large part of web-app-files as components have their own imports from web-app-files. For now, we keep the extension internally in our web fork, but on upstream rebases it breaks and needs fixes.
Activity
dschmidt commentedon Jan 19, 2023
As responded later to you in chat (when you probably already called it a day) we need to hear more explicit use cases and what exactly you want to achieve.
If you give us more details about what exactly you want to achieve, we can help laying out an architecture.
pascalwengerter commentedon Jan 24, 2023
@kulmann from a cursory read it seemed like there has been basically a re-implementation of the ResourceTable for spaces in the admin-app recently, moving ResourceTable (and potentially ResourceTiles also 😇 ) to the
web-pkgcould both resolve that, force the project to move away from some mixins/web-app-files-internal APIs towards more open ones and address parts of this ticket?elizavetaRa commentedon Jan 25, 2023
@dschmidt We want to be able to reuse things from
web-app-filesin external extensions. The extensions should be able to import from a certain web version and don't break when there are modifications of reused components.Example: backups extension that has a logic, similar to

web-app-files: reuses ResourceTable, breadcrumbs, actions, useResourcesViewDefaults etc. but it's reachable from ApplicationSwitcher and has own endpoints and loadResourcesTasks.As I understand, the only way would be to move needed components to
web-pkg, but this is a large part ofweb-app-filesas components have their own imports fromweb-app-files. For now, we keep the extension internally in our web fork, but on upstream rebases it breaks and needs fixes.[-]Reusage of web components in extensions hardly limited[/-][+]Reusage of web components in extensions limited[/+]tbsbdr commentedon Jun 1, 2023
hardly limited= not limited ;-)changed title
tbsbdr commentedon Jun 12, 2023
realtes to: 2714602
kulmann commentedon Jun 19, 2023
Please provide a list of components and composables (as complete as possible) which you would like to use from the files app @elizavetaRa
kulmann commentedon Jun 20, 2023
@elizavetaRa @diocas can we close this issue as superseded by #9267 ? 🤔 or do you have requirements for component reusability in other cases as well?
diocas commentedon Jun 20, 2023
ping @elizavetaRa
Please re-open if there are more requirements.