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

Display breadcrumb if rootFolder is set with no value #2811

Merged
merged 1 commit into from
Jan 7, 2020

Conversation

LukasHirt
Copy link
Contributor

Description

In case the root folder has been set with no value, keep the first item in the breadcrumbs.

Related Issue

How Has This Been Tested?

  • test environment: Manually
  1. Set the rootFolder in config.json to ""
  2. Navigate into a subfolder

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:

@LukasHirt LukasHirt added Status:Needs-Review Needs review from a maintainer bug-solved labels Jan 3, 2020
@LukasHirt LukasHirt self-assigned this Jan 3, 2020
@LukasHirt LukasHirt added this to In progress in oCIS Sprint 1 via automation Jan 3, 2020
@LukasHirt LukasHirt moved this from In progress to To review in oCIS Sprint 1 Jan 3, 2020
Given the property "rootFolder" has been set to "" in phoenix config file
And user "user1" has logged in using the webUI
When the user opens folder "simple-folder" using the webUI
# Then breadcrumb for folder "simple-folder" should be displayed on the webUI
Then there should be no breadcrumb displayed on the webUI
Then breadcrumb for folder "simple-folder" should be displayed on the webUI
When the user opens folder "simple-empty-folder" using the webUI
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@HariBhandari07 Should we still keep also the steps for "simple-empty-folder"? Or was it only temporarily until the issue is solved?

Copy link
Contributor

Choose a reason for hiding this comment

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

@LukasHirt I think we can remove steps for simple-empty-folder as the scenario is only for folder one level below the root folder

Copy link
Contributor

@dbergstrom8 dbergstrom8 left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@PVince81 PVince81 left a comment

Choose a reason for hiding this comment

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

👍

@PVince81 PVince81 merged commit 4fd86f4 into master Jan 7, 2020
oCIS Sprint 1 automation moved this from To review to Done Jan 7, 2020
@delete-merged-branch delete-merged-branch bot deleted the bugfix/root-folder-breadcrumb branch January 7, 2020 08:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status:Needs-Review Needs review from a maintainer
Projects
No open projects
oCIS Sprint 1
  
Done
Development

Successfully merging this pull request may close these issues.

breadcrumb is not seen one level below the root directory if rootFolder is set
3 participants