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(files): Fix some ESLint and Typescript issues in FilesList #45394

Merged
merged 5 commits into from
May 23, 2024

Conversation

susnux
Copy link
Contributor

@susnux susnux commented May 17, 2024

Summary

  • Do not use names with _ prefix on Vue instances (reserved by Vue)
  • Make translation function calls more consistent by directly use the t function instead of calling it on the instance
  • Fix typing of this.promise

Checklist

@susnux susnux added bug 3. to review Waiting for reviews labels May 17, 2024
@susnux susnux added this to the Nextcloud 30 milestone May 17, 2024
@susnux susnux requested review from artonge, nfebe, skjnldsv and ShGKme May 17, 2024 11:59
apps/files/src/views/FilesList.vue Outdated Show resolved Hide resolved
apps/files/src/views/FilesList.vue Outdated Show resolved Hide resolved
@susnux susnux force-pushed the fix/files-cleanup-list branch from 409b2ba to 335b74f Compare May 22, 2024 14:16
@susnux susnux requested a review from ShGKme May 22, 2024 14:17
susnux added 4 commits May 23, 2024 07:19
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
…instance method

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
…as computed

This also fixes hacky solution to `this` access

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
@susnux susnux force-pushed the fix/files-cleanup-list branch from 335b74f to dfd0fa6 Compare May 23, 2024 05:19
@susnux
Copy link
Contributor Author

susnux commented May 23, 2024

/compile

@susnux susnux enabled auto-merge May 23, 2024 05:19
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
@susnux susnux merged commit 474cbda into master May 23, 2024
104 checks passed
@susnux susnux deleted the fix/files-cleanup-list branch May 23, 2024 06:01
@blizzz blizzz mentioned this pull request Jul 24, 2024
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 bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants