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

bugfix: show correct window title when opening a public link #12225

Merged
merged 1 commit into from
Feb 27, 2025

Conversation

mzner
Copy link
Contributor

@mzner mzner commented Feb 27, 2025

Description

Currently, the window title is incorrectly shown when user opens a public link.

Related Issue

Motivation and Context

How Has This Been Tested?

  • test environment:
  • test case 1:
  • test case 2:
  • ...

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Technical debt
  • Tests
  • Documentation
  • Maintenance (e.g. dependency updates or tooling)

Open tasks:

  • ...

Sorry, something went wrong.

@mzner mzner requested a review from LukasHirt February 27, 2025 08:33
Copy link

update-docs bot commented Feb 27, 2025

Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes.

@mzner mzner force-pushed the bugfix/broken-title-for-public-files-link branch from 821f439 to 0c981fa Compare February 27, 2025 08:33
@@ -282,9 +282,16 @@ export default defineComponent({
const isCurrentFolderEmpty = computed(
() => unref(resourcesViewDefaults.paginatedResources).length < 1
)
const isPublicFile = (spaceData: SpaceResource) => unref(spaceData).driveType === 'public'
Copy link
Collaborator

Choose a reason for hiding this comment

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

There is already function in web-client for this:

export const isPublicSpaceResource = (resource: Resource): resource is PublicSpaceResource => {

@mzner mzner force-pushed the bugfix/broken-title-for-public-files-link branch from 0c981fa to 9731ef1 Compare February 27, 2025 08:45

Verified

This commit was signed with the committer’s verified signature.
almeidx Almeida
@mzner mzner force-pushed the bugfix/broken-title-for-public-files-link branch from 9731ef1 to c8d6a49 Compare February 27, 2025 08:48
@LukasHirt LukasHirt mentioned this pull request Feb 25, 2025
16 tasks
@mzner mzner merged commit 891965c into master Feb 27, 2025
4 checks passed
@mzner mzner deleted the bugfix/broken-title-for-public-files-link branch February 27, 2025 09:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Broken Title tags for folder public links
2 participants