Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-12423

Display the homepage of the current wiki in the breadcrumbs if needed

    XMLWordPrintable

Details

    • Unknown
    • N/A

    Description

      Currently, we are hiding the homepage from the breadcrumbs, considering that it duplicates the home icon.

      There are a couple of consistency issues:

      • Pages like Main.Welcome (terminal page) show up in the breadcrumbs like they are top level documents, which they are not
      • Main.A.B.C shows up as: home > A > B > C, but Main.A is not a top level document
      • Edit mode on Main.WebHome does not show the currently edited page in the breadcrumbs
        • Also, without the top menu (which we no longer have) we lose navigation information

      Also, considering XWIKI-12407, we are changing the meaning of the "home" icon in the breadcrumbs to not necessarily point to the current wiki's homepage, but to the main wiki's homepage, so the previous assumptions (magic) we did no longer apply (i.e. the current wiki's homepage is not necessarily the same link as the "home" icon).

      This will also be consistent with what the documents tree will display, in that children pages of the current wiki`s homepage are not top level documents. (e.g. home > Wiki Home > A insread of home > A)

      Attachments

        1. homepageInBreadcrumbs-after.png
          5 kB
          Eduard Moraru
        2. homepageInBreadcrumbs-after-homepage.png
          6 kB
          Eduard Moraru
        3. homepageInBreadcrumbs-after-terminal.png
          9 kB
          Eduard Moraru
        4. homepageInBreadcrumbs-before.png
          5 kB
          Eduard Moraru
        5. homepageInBreadcrumbs-before-terminal.png
          9 kB
          Eduard Moraru

        Issue Links

          Activity

            People

              enygma Eduard Moraru
              enygma Eduard Moraru
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 hour
                  1h