Skip to content
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

refactor(federatedfilesharing): Replace deprecated function usage #48725

Merged
merged 3 commits into from
Oct 29, 2024

Conversation

susnux
Copy link
Contributor

@susnux susnux commented Oct 16, 2024

Summary

  • Replace deprecated OC dialogs methods
  • Replace deprecated global jQuery with axios
  • Replace deprecated jQuery event with event bus
  • Add component + unit tests for new dialog. Also add proper styles for Cypress component tests so we can properly test Vue components like they will be shown on server. This also fixes Typescript issue but requires to slightly adjust the Navigation test as the progress bar is not visible (because it is overlaid by another element).

Checklist

@susnux susnux added 3. to review Waiting for reviews ♻️ refactor Refactor code (not a bug fix, not a feature just refactoring) labels Oct 16, 2024
@susnux susnux added this to the Nextcloud 31 milestone Oct 16, 2024
@susnux susnux requested review from a team, Pytal and szaimen and removed request for a team October 16, 2024 09:30
@susnux susnux requested a review from skjnldsv as a code owner October 16, 2024 09:30
@susnux susnux requested a review from sorbaugh October 16, 2024 09:30
@szaimen szaimen removed their request for review October 16, 2024 09:43
@susnux susnux requested a review from artonge October 16, 2024 21:27
apps/federatedfilesharing/src/external.js Outdated Show resolved Hide resolved
@susnux susnux force-pushed the chore/remove-old-test branch from 465404b to 961ede8 Compare October 28, 2024 14:50
@susnux susnux enabled auto-merge October 28, 2024 14:50
@susnux susnux force-pushed the chore/remove-old-test branch from 961ede8 to 7b64bac Compare October 29, 2024 12:26
* Replace deprecated OC dialogs methods
* Replace deprecated global jQuery with axios
* Replace deprecated jQuery event with event bus
* Add component + unit tests for new dialog

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
This also fixes Typescript issue but requires to slightly
adjust the Navigation test as the progress bar is not visible (because it is overlayed by another element).

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
@skjnldsv
Copy link
Member

skjnldsv commented Oct 29, 2024

(rebasing ⌛)

edit: done ✔️

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
@skjnldsv skjnldsv force-pushed the chore/remove-old-test branch from 7b64bac to d84600a Compare October 29, 2024 13:30
@skjnldsv skjnldsv disabled auto-merge October 29, 2024 13:31
@skjnldsv skjnldsv merged commit ce2e1a0 into master Oct 29, 2024
159 checks passed
@skjnldsv skjnldsv deleted the chore/remove-old-test branch October 29, 2024 14:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews ♻️ refactor Refactor code (not a bug fix, not a feature just refactoring)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants