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

fix(screensharing): picker performance and UI improvements #1003

Merged
merged 10 commits into from
Jan 31, 2025
Prev Previous commit
Next Next commit
refactor(screensharing): add singe export module
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
  • Loading branch information
ShGKme committed Jan 31, 2025
commit 478adf192460b2e29ba1e63666c3640a35893eaf
4 changes: 3 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
@@ -52,8 +52,10 @@ module.exports = {
// It works fine on server because by default in @nextcloud/eslint-config .vue files are not inspected via eslint-plugin-import thus import/extensions doesn't include .vue
// See: https://github.com/import-js/eslint-plugin-import/blob/main/README.md#importextensions
'import/default': 'off',
// import/namespace is not compatible with TS/JS mix
// Not compatible with TS/JS mix
'import/namespace': 'off',
// Not compatible with TS/JS mix or reexports
'import/named': 'off',
/**
* ESLint
*/
2 changes: 1 addition & 1 deletion src/shared/globals/globals.js
Original file line number Diff line number Diff line change
@@ -9,7 +9,7 @@ import { translate, translatePlural } from '@nextcloud/l10n'
import { appData } from '../../app/AppData.js'
import { dialogs } from './OC/dialogs.js'
import { MimeTypeList } from './OC/mimetype.js'
import { getDesktopMediaSource } from '../../talk/renderer/screensharing/getDesktopMediaSource.ts'
import { getDesktopMediaSource } from '../../talk/renderer/screensharing/screensharing.module.ts'

let enabledAbsoluteWebroot = false

6 changes: 6 additions & 0 deletions src/talk/renderer/screensharing/screensharing.module.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
/**
* SPDX-FileCopyrightText: 2025 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/

export { getDesktopMediaSource } from './getDesktopMediaSource.ts'