Skip to content

feat(files_sharing): show Account menu on public pages - #52537

Merged
skjnldsv merged 7 commits into
masterfrom
fix/loading-account-menu
Jun 11, 2025
Merged

feat(files_sharing): show Account menu on public pages#52537
skjnldsv merged 7 commits into
masterfrom
fix/loading-account-menu

Conversation

@skjnldsv

@skjnldsvskjnldsv commented Apr 29, 2025

Copy link
Copy Markdown
Member

Context

As a guest, it's nice to be recognised on an instance, whether you join different talk rooms, answer a form or upload files to a shared folder.
As we do so, being transparent is important, and showing the user we know who they are is mandatory.
As well as some options to clear this information.

Screenshots

image

@skjnldsv
skjnldsvforce-pushed the fix/loading-account-menu branch from 1733f8f to 1527c5eCompareMay 2, 2025 14:48
@skjnldsvskjnldsv self-assigned this May 2, 2025
@skjnldsvskjnldsv added this to the Nextcloud 32 milestone May 2, 2025
@github-project-automationgithub-project-automationBot moved this to 🏗️ In progress in 📁 Files teamMay 2, 2025
@skjnldsv
skjnldsvforce-pushed the fix/loading-account-menu branch 3 times, most recently from 22d454e to 7600d21CompareMay 15, 2025 16:40
@skjnldsv

This comment was marked as resolved.

@skjnldsv
skjnldsv marked this pull request as ready for review May 16, 2025 07:36
@skjnldsv
skjnldsv requested review from a team as code ownersMay 16, 2025 07:36
@skjnldsv
skjnldsv requested review from artonge, provokateurin, sorbaugh and susnux and removed request for a teamMay 16, 2025 07:36
@skjnldsv

This comment was marked as resolved.

@nextcloud-command
nextcloud-commandforce-pushed the fix/loading-account-menu branch from 7600d21 to 6ca71cfCompareMay 16, 2025 07:40
Comment threaddist/9429-9429.js Fixed
@come-nc

Copy link
Copy Markdown
Contributor

To be clear, this is not related to guest application, right? This is for public links pages?

Comment threadapps/files_sharing/lib/Listener/LoadPublicFileRequestAuthListener.php Outdated
Comment threadapps/files_sharing/src/public-file-request.ts
Comment threadapps/files_sharing/lib/Listener/LoadPublicFileRequestAuthListener.php Outdated
@skjnldsv

This comment was marked as resolved.

@skjnldsv
skjnldsv requested review from come-nc and susnuxJune 10, 2025 19:38
Comment on lines +172 to +175
// Check that the note states the current name
// cy.get('@guestIdentificationDialog')
// .findByRole('note')
// .should('contain', 'are currently identified as Jane Doe')

@skjnldsvskjnldsvJun 10, 2025

Copy link
Copy Markdown
MemberAuthor

Choose a reason for hiding this comment

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

Needs nextcloud-libraries/nextcloud-dialogs#1841
Will adjust in followup :)

@skjnldsv

Copy link
Copy Markdown
MemberAuthor

Cypress tests added! 🚀

@skjnldsv
skjnldsv enabled auto-merge June 10, 2025 22:28
susnux
susnux previously requested changes Jun 11, 2025

@susnuxsusnux left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Generally very nice, but has invalid DOM structure breaking WCAG / BITV.

Comment threadcore/src/views/PublicPageUserMenu.vue Outdated
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
@skjnldsv
skjnldsvforce-pushed the fix/loading-account-menu branch from 0000b75 to a6fc4aaCompareJune 11, 2025 14:44
@skjnldsv

Copy link
Copy Markdown
MemberAuthor

/compile

@skjnldsv
skjnldsv requested a review from susnuxJune 11, 2025 14:44
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
@skjnldsv

Copy link
Copy Markdown
MemberAuthor

/compile

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
@skjnldsv
skjnldsv merged commit 66e5ea1 into masterJun 11, 2025
@skjnldsv
skjnldsv deleted the fix/loading-account-menu branch June 11, 2025 16:44
@skjnldsvskjnldsv moved this from 🏗️ In progress to ☑️ Done in 📁 Files teamJun 11, 2025
@skjnldsvskjnldsv mentioned this pull request Aug 19, 2025
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: ☑️ Done

Development

Successfully merging this pull request may close these issues.

7 participants

@skjnldsv@come-nc@AndyScherzinger@susnux@nfebe@github-advanced-security@nextcloud-command