-
Notifications
You must be signed in to change notification settings - Fork 509
fix(FilesSidebar): unify chat and call views in a single app #15667
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
1be164a to
aea7657
Compare
aea7657 to
38f1f29
Compare
Is it legacy/deprecated API? |
according to nextcloud/server#54337 it's a part of legacy, and with Vue3 Teleport I pretty much do not see a need for using it |
As I understand it, only the |
It works, but IMO it is a very indirect API. We use the internal layout of the sidebar (class names and HTML layout). Sidebar devs don't know we are teleporting something to a specific part of the sidebar |
|
All 5 commits are |
ShGKme
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since we have much code relying on sidebar internals like
document.querySelector('header.app-sidebar-header')using <teleport> does not make anything more risky than it is at the moment.
Other refactorings remove some of the style overrides, which is also good.
Please, follow conventional commits.
- "a commit of the type
fixpatches a bug in your codebase"- So a commit with
fixshould resolve an actual problem
- So a commit with
- We can use
refactor(orchore) for refactoring wip:can be used for intermediate commits when the application is not in a working state, and checkout out commit breaks the app/build
it makes review easier by specifying the purpose of the change.
…e app - drop usage of `registerSecondaryView` - can be implemented with lesser DOM modifications (and same risk of breaking) Signed-off-by: Maksim Sukharev <[email protected]>
- this allows to drop all redundant handling of file info Signed-off-by: Maksim Sukharev <[email protected]>
Signed-off-by: Maksim Sukharev <[email protected]>
Signed-off-by: Maksim Sukharev <[email protected]>
38f1f29 to
4e0e1ae
Compare
Signed-off-by: Maksim Sukharev <[email protected]>
4e0e1ae to
ac6f5b3
Compare
|
/backport to stable32 |
☑️ Resolves
registerSecondaryView🖌️ UI Checklist
🖼️ Screenshots / Screencasts
🚧 Tasks
🏁 Checklist