Project

General

Profile

Actions

Feature #29034

open

Option to collapse/expand issue sections

Added by Marius BĂLTEANU over 6 years ago. Updated 6 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
UI
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:

Description

In #29027, I've proposed to add an collapse/expand feature to issue sections.

Below there are 2 proposals:

1. Collapse/expand only for the following sections: Description, Attachments (#29033), Subtasks and Relations.

2. Collapse/expand also for the Attributes section (this one requires more UI changes):


Files


Related issues

Related to Redmine - Feature #29027: Add more structure to the issues view by using tabsNew

Actions
Related to Redmine - Feature #29321: Move the watchers list to issue sectionNew

Actions
Related to Redmine - Feature #11988: Display additional attachments in the issue history onlyClosed

Actions
Related to Redmine - Feature #25925: Fold away "Change properties" when adding an issue noteNew

Actions
Blocked by Redmine - Patch #29033: Move attachments to their own section in issue pageClosedGo MAEDA

Actions
Blocked by Redmine - Patch #29263: Move issue attributes to their own section in issue pageNew

Actions
Actions #1

Updated by Marius BĂLTEANU over 6 years ago

  • Related to Patch #29033: Move attachments to their own section in issue page added
Actions #2

Updated by Marius BĂLTEANU over 6 years ago

  • Related to Feature #29027: Add more structure to the issues view by using tabs added
Actions #3

Updated by Bernhard Rohloff over 6 years ago

First of all, this is overall a nice feature and I would be glad to have at least one option accepted.
If I could choose I would be in favor of the second option even if it leads to more changes. Like in #29033 the 'Attributes' heading gives the view more structure and divides the issue in logical sections. I think it gives the issue a nice looking header bar on top, too. The second advantage is that if the attributes page is collapsed it would release space to look at the other sections and don't have to scroll up and down to get to my information, especially on issues with many attributes. This could make a huge difference for people like me who are sitting in front of a Chromebook or small laptop with a lower resolution.

As you can see the attributes section takes around 30% of the space dedicated to the issues information.

So plus one for the proposal and plus one for option 2.
+1

Actions #4

Updated by Marius BĂLTEANU over 6 years ago

Here is a patch that can be applied on top of #29033 and can be used to test this expand/collapse feature. If the feedback is positive, I'll add another patch that moves the attributes to their own section (like in the second proposal) and another one to memorise the state of the section using local storage.

Actions #5

Updated by Marius BĂLTEANU over 6 years ago

  • Related to Patch #29263: Move issue attributes to their own section in issue page added
Actions #6

Updated by Marius BĂLTEANU over 6 years ago

The attached patches:
- add the expand/collapse also for the issue attributes section
- add a 15x padding

With these 2 patches, my second proposal is almost ready.

Still on my to do list:
  • memorise the state of the section using local storage
  • add an option to expand/collapse all sections. Here I'll be happy to receive some UI proposals.

Please be aware that these patches base on #29263.

Actions #7

Updated by Marius BĂLTEANU over 6 years ago

  • Related to deleted (Patch #29033: Move attachments to their own section in issue page)
Actions #8

Updated by Marius BĂLTEANU over 6 years ago

  • Blocked by Patch #29033: Move attachments to their own section in issue page added
Actions #9

Updated by Marius BĂLTEANU over 6 years ago

  • Related to deleted (Patch #29263: Move issue attributes to their own section in issue page)
Actions #10

Updated by Marius BĂLTEANU over 6 years ago

  • Blocked by Patch #29263: Move issue attributes to their own section in issue page added
Actions #11

Updated by Bernhard Rohloff over 6 years ago

Thanks for the patches Marius!

The patches from #29033 and #29263 applied flawlessly and look good to me.
Somehow the patch 0002-adds-some-padding-to-issue-section-content.patch refuses to apply in my environment.
Could you please check if its applying cleanly on your side?

Actions #12

Updated by Bernhard Rohloff over 6 years ago

I also think there's some additional JavaScript magic necessary, isn't it?
Something like in source:trunk/app/views/versions/index.html.erb#L89 ...

Actions #13

Updated by Marius BĂLTEANU over 6 years ago

Bernhard Rohloff wrote:

Could you please check if its applying cleanly on your side?

Thanks for testing it. Yes, I'll take a look these days.

I also think there's some additional JavaScript magic necessary, isn't it?
Something like in source:trunk/app/views/versions/index.html.erb#L89 ...

I'm not sure for why do you think that we need some additional JS magic. My fist patch (0001-option-to-collapse-expand-issue-description-files-fu.patch) already adds a new JS function to manage the toggles.

Actions #14

Updated by Bernhard Rohloff over 6 years ago

Oh my, I shouldn't test patches after a hot summer day at work.
I totally oversaw the first patch. If it's applied everything else applies properly,too.
And so far it works great!

On the collapse/expand all subject it's perhaps a good idea to make it similar to the existing feature in the issues list where you can expand/collapse all categories at once. I think this would be a very consistent experience.

Actions #15

Updated by Go MAEDA over 6 years ago

  • Related to Feature #29321: Move the watchers list to issue section added
Actions #16

Updated by Go MAEDA about 6 years ago

  • Related to Feature #11988: Display additional attachments in the issue history only added
Actions #17

Updated by Edgars Batna over 5 years ago

Space savers are definitely welcome.

Actions #18

Updated by Go MAEDA over 5 years ago

  • Target version set to Candidate for next major release
Actions #19

Updated by Go MAEDA over 5 years ago

  • Related to Feature #25925: Fold away "Change properties" when adding an issue note added
Actions #20

Updated by Go MAEDA over 5 years ago

  • Target version changed from Candidate for next major release to 4.1.0

Setting the target version to 4.1.0.

Actions #21

Updated by Jean-Philippe Lang over 5 years ago

  • Target version changed from 4.1.0 to Candidate for next minor release

I think we actually save space when we can collapse some sections by default. Having to collpase sections manually to save space each time we display an issue doesn't sound so much usefull to me.
Can we have more feedback on this proposed change?

Actions #22

Updated by Dmitry Beloglazov about 1 year ago

+1 for this feature, would be really nice to have.

I think we actually save space when we can collapse some sections by default

It probably makes sense to collapse the files section by default. Usually the user downloads the files when they start working on the issue and they don't need to see the full list after that.

Actions #23

Updated by Dmitry Nekrasov 7 months ago

+1

is it possible to add folding button at section name?

Actions #24

Updated by Ricky Morse 6 months ago

Please! This would make adding comments much more obvious...

Actions

Also available in: Atom PDF