Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-54308

Ability to 'Expand All' or 'Collapse All' for Expand Macros on a page

    • Icon: Suggestion Suggestion
    • Resolution: Duplicate
    • None
    • Macros - Other Macros
    • None
    • We collect Confluence feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      Problem Definition

      Currently Expand Macros need to be expanded individually. Search function such as CTRL+F or CMD+F doesn't search within collapsed Expand Macros.

      Suggested Solution

      Provide ability to Expand All (or inversely, Collapse All) with one click so they can be searched.

      Why this is important

      It prevents the user having to expand all individually which can take a lot of time.

            [CONFSERVER-54308] Ability to 'Expand All' or 'Collapse All' for Expand Macros on a page

            David Yohler added a comment - - edited

            FYI - Posting workaround for Chrome browser here.  I have to give credit to @Timothy Cameron

            His page here:

             https://medium.com/@timcameron/expanding-all-in-confluence-db0d3cd711f0

             

            Needed to "tweak" his script since the class name changed:

             

            Edited the script slightly for the expand class:

            javascript:(function()%7B%24(%22.css-15263az%22).each(function()%7B%20%24(this).trigger(%22click%22)%3B%7D)%7D)()

            Bold for emphasis.  Not sure if / how long that will work, but it is working for me because the "inspect" shows that as the expand class.

            David Yohler added a comment - - edited FYI - Posting workaround for Chrome browser here.  I have to give credit to @Timothy Cameron His page here:   https://medium.com/@timcameron/expanding-all-in-confluence-db0d3cd711f0   Needed to "tweak" his script since the class name changed:   Edited the script slightly for the expand class: javascript:(function()%7B%24(%22. css-15263az %22).each(function()%7B%20%24(this).trigger(%22click%22)%3B%7D)%7D)() Bold for emphasis.  Not sure if / how long that will work, but it is working for me because the "inspect" shows that as the expand class.

            I would love to know this feature is being actively developed somehow and will be released in the next major release of confluence. Pretty please?

            Victor Westmann added a comment - I would love to know this feature is being actively developed somehow and will be released in the next major release of confluence. Pretty please?
            Sen Geronimo made changes -
            Workflow Original: JAC Suggestion Workflow 4 [ 3575819 ] New: JAC Suggestion Workflow 3 [ 4340665 ]

            This seems like low-hanging fruit - low effort with high payoff value.  If it can be done in a browser shortcut in a one-liner javascript, please consider adding this as a config option for this native macro or as a related macro that can be added ad-hoc to any page with Expand macros.    Defaulting open/closed in addition to "add Expand/Collapse All" button would be very useful to many.

            Mike Grosshandler added a comment - This seems like low-hanging fruit - low effort with high payoff value.  If it can be done in a browser shortcut in a one-liner javascript, please consider adding this as a config option for this native macro or as a related macro that can be added ad-hoc to any page with Expand macros.    Defaulting open/closed in addition to "add Expand/Collapse All" button would be very useful to many.

            "Largely covered by" doesn't necessarily mean covered by. The scope of CONFSERVER-27077 is the default behaviour upon page load.

            Craig Senior added a comment - "Largely covered by" doesn't necessarily mean covered by. The scope of CONFSERVER-27077 is the default behaviour upon page load.
            Katherine Yabut made changes -
            Workflow Original: JAC Suggestion Workflow 2 [ 3168154 ] New: JAC Suggestion Workflow 4 [ 3575819 ]
            Status Original: RESOLVED [ 5 ] New: Closed [ 6 ]
            Katherine Yabut made changes -
            Workflow Original: JAC Suggestion Workflow [ 3038734 ] New: JAC Suggestion Workflow 2 [ 3168154 ]
            Owen made changes -
            Workflow Original: Confluence Workflow - Public Facing v4 [ 2537999 ] New: JAC Suggestion Workflow [ 3038734 ]
            Rachel Lin (Inactive) made changes -
            Workflow Original: Confluence Workflow - Public Facing v3 [ 2482027 ] New: Confluence Workflow - Public Facing v4 [ 2537999 ]

            This problem statement (searching inside expand macros) is largely covered by CONFSERVER-27077: Option to display expand macro expanded/collapsed on page load

            Adam Barnes (Inactive) added a comment - This problem statement (searching inside expand macros) is largely covered by CONFSERVER-27077: Option to display expand macro expanded/collapsed on page load

              Unassigned Unassigned
              smackie@atlassian.com Shannon S
              Votes:
              1 Vote for this issue
              Watchers:
              12 Start watching this issue

                Created:
                Updated:
                Resolved: