-
Notifications
You must be signed in to change notification settings - Fork 156
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
Conversation
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. |
ec0dd4a
to
bdac992
Compare
bdac992
to
1486f41
Compare
f843c58
to
74db069
Compare
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' |
There was a problem hiding this comment.
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
params: { ...to.params, driveAliasAndItem: 'personal/home' } driveAliasAndItem: urlJoin('personal/home', to.params.item, { leadingSlash: false })
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) |
There was a problem hiding this comment.
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.
74db069
to
493c884
Compare
Quality Gate passedThe SonarCloud Quality Gate passed, but some issues were introduced. 1 New issue |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀
chore: remove homeFolder option
Description
Removes
homeFolder
option.Related Issue
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?
Screenshots (if appropriate):
Types of changes
Checklist: