Skip to content
This repository was archived by the owner on Nov 23, 2026. It is now read-only.

Upstream 6b774f2dfad7f8097b80539db30cfa27a355d299 - #9383

Merged
dschmidt merged 3 commits into
owncloud:masterfrom
pascalwengerter:feature/9377
Jul 12, 2023
Merged

dschmidt merged 3 commits into
owncloud:masterfrom
pascalwengerter:feature/9377

Conversation

@pascalwengerter

Copy link
Copy Markdown
Contributor


return {
title: $gettext('Blocked pop-ups and redirects'),
timeout: 20,

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@elizavetaRa 10s felt too short, so I doubled it. Still quite a lot of text to digest for the average user though

@pascalwengerter

Copy link
Copy Markdown
Contributor Author

Random CI failures..

@dschmidt dschmidt left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We were somehow not talking about the same thing... I meant, we should put the whole window open and message code into the composable - not just the message...

const { $gettext } = useGettext()

return {
title: $gettext('Blocked pop-ups and redirects'),

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use a slightly different title to make clear, that blocking is not a feature but that the app detected, that pop ups are getting blocked:
"Pop-up and redirect block detected"

timeout: 20,
status: 'warning',
desc: $gettext(
'Some features might not work correctly. Please enable pop-ups and redirects in Settings > Privacy & Security > Site Settings > Permissions'

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use a more generic message that applies to all browsers:
"Please turn on pop-ups and redirects in your browser settings to make sure everything works right."

@pascalwengerter
pascalwengerter requested a review from dschmidt July 12, 2023 06:42
@dschmidt
dschmidt enabled auto-merge (squash) July 12, 2023 06:53
@sonarqubecloud

Copy link
Copy Markdown

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

33.3% 33.3% Coverage
0.0% 0.0% Duplication

idea Catch issues before they fail your Quality Gate with our IDE extension sonarlint SonarLint

@dschmidt
dschmidt merged commit e83c42a into owncloud:master Jul 12, 2023
@pascalwengerter
pascalwengerter deleted the feature/9377 branch July 13, 2023 16:14
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Warning of disabled popups by window.open actions

3 participants