Uploaded image for project: 'Crucible'
  1. Crucible
  2. CRUC-4119

Create an advanced branch selector

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Fixed
    • 2.4-M5, 2.4.0
    • None
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      • Panel above file tree affects all content below this point (both left and right panes)
      • The statistics tab will remain there on the left for now, and will also be filtered by the branch selector
      • NOTE: If FE cannot determine the trunk of a repo, the admin system will need to prompt the user to tell it which directory is the trunk when first adding the repo. For customers who are already set up and upgrade, but for some reason it's not picking up trunk, we should display a message where the tree is supposed to appear. Something like: "FishEye cannot determine the main branch of your repository. Please log into the admin system and select this project's main branch"
      • FE attempts to select a "home branch" for the "branches" selector. This will be done by detecting which branch, other than trunk, the user has last committed to. If the user has never committed to a branch on this repo, then the branch selector simply says "Branch: select... ▾"
      • Once the user sets their "home branch" this control will become sticky (via a cookie pref)
      • The branch selector will be a combined type-ahead and pull-down control
      • The branch selector will need to show some sort of path in case you have more than one branch with the same name in different locations
      • Q: Should we also include tags in this selector, or should we move them to within the cog tool menu?
      • Once a branch is indicated in this selector, it will only show the branch name, not the path
      • A pencil icon will appear to the right of a branch selector with a branch name in it indicating to the user the selector is editable.
      • Clicking on the pencil should clear the selection and activate the type-ahead control, but have an "x" escape route if the user does not wish to change the branch
      • Clicking on the "x" will return the selection to it's former state
      • If the branch is currently selected, clicking on the branch selector (not the pencil) will do nothing
      • If the trunk is currently selected, clicking on the branch selector (not the pencil) refreshes the page, filtering all views to the selected branch

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              sruiz Seb Ruiz (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 16h Original Estimate - 16h
                  16h
                  Remaining:
                  Time Spent - 15.9h Remaining Estimate - 9h
                  9h
                  Logged:
                  Time Spent - 15.9h Remaining Estimate - 9h
                  15.9h