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

chore: remove homeFolder option #10122

Merged
merged 1 commit into from
Jan 8, 2024
Merged

chore: remove homeFolder option #10122

merged 1 commit into from
Jan 8, 2024

Conversation

dschmidt
Copy link
Member

@dschmidt dschmidt commented Dec 6, 2023

Description

Removes homeFolder option.

Related Issue

  • Fixes <issue_link>

Motivation and Context

CERN is implementing space apis now. If they want to show a full path, we need to handle it in breadcrumbs but not like this.

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

Checklist:

  • Code changes
  • Unit tests added
  • Acceptance tests added
  • Documentation ticket raised:

Copy link

update-docs bot commented Dec 6, 2023

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.

@dschmidt dschmidt force-pushed the remove-home-folder-option branch from ec0dd4a to bdac992 Compare December 6, 2023 01:29
@dschmidt dschmidt requested a review from diocas December 6, 2023 01:29
@JammingBen JammingBen force-pushed the remove-home-folder-option branch from bdac992 to 1486f41 Compare January 5, 2024 12:08
@JammingBen JammingBen mentioned this pull request Jan 5, 2024
@JammingBen JammingBen force-pushed the remove-home-folder-option branch 4 times, most recently from f843c58 to 74db069 Compare January 5, 2024 13:54
import { createFileRouteOptions } from '@ownclouders/web-pkg'
import { createLocationSpaces } from '@ownclouders/web-pkg'

// 'personal/home' is used as personal drive alias from static contexts
// (i.e. places where we can't load the actual personal space)
const fakePersonalDriveAlias = 'personal/home'
Copy link
Contributor

Choose a reason for hiding this comment

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

This is still needed for the nightwatch acceptance tests, see

As soon as we remove the nightwatch acceptance tests from this repo, those two routes and the fakePersonalDriveAlias handling here can be removed. personal/home has nothing to do with the CERN homeFolder feature.

if (!props.appendHomeFolder) {
return ''
}
const item = props.driveAliasAndItem.startsWith(fakePersonalDriveAlias)
Copy link
Contributor

Choose a reason for hiding this comment

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

This part is still needed. For reasoning see other comment on the variable declaration.

@JammingBen JammingBen force-pushed the remove-home-folder-option branch from 74db069 to 493c884 Compare January 8, 2024 12:45
Copy link

sonarqubecloud bot commented Jan 8, 2024

Quality Gate Passed Quality Gate passed

The SonarCloud Quality Gate passed, but some issues were introduced.

1 New issue
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud

@JammingBen JammingBen requested a review from kulmann January 8, 2024 13:18
Copy link
Contributor

@kulmann kulmann left a comment

Choose a reason for hiding this comment

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

🚀

@kulmann kulmann merged commit 6bc9ad7 into master Jan 8, 2024
3 checks passed
@delete-merged-branch delete-merged-branch bot deleted the remove-home-folder-option branch January 8, 2024 15:14
ownclouders pushed a commit that referenced this pull request Jan 8, 2024
@micbar micbar mentioned this pull request Jun 19, 2024
24 tasks
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.

2 participants