Vote #79372
未完了Option to collapse/expand issue sections
0%
説明
In #29027, I've proposed to add an collapse/expand feature to issue sections.
Below there are 2 proposals:
Collapse/expand only for the following sections: Description, Attachments (#29033), Subtasks and Relations.
!{width:50%; border: 1px solid grey;}expand_collapse.png!Collapse/expand also for the Attributes section (this one requires more UI changes):
!{width:50%; border: 1px solid grey;}with_attributes.png!
journals
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
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.
!small_screen.jpg!
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
--------------------------------------------------------------------------------
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.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
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.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Thanks for the patches Marius!
The patches from #29033 and #29263 applied flawlessly and look good to me.
Somehow the patch attachment: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?
--------------------------------------------------------------------------------
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 ...
--------------------------------------------------------------------------------
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.
--------------------------------------------------------------------------------
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.
!issues_collapsible_category.png!
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Space savers are definitely welcome.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Setting the target version to 4.1.0.
--------------------------------------------------------------------------------
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?
--------------------------------------------------------------------------------
related_issues
relates,New,29027,Add more structure to the issues view by using tabs
relates,New,29321,Move the watchers list to issue section
relates,Closed,11988,Display additional attachments in the issue history only
relates,New,25925,Fold away "Change properties" when adding an issue note
blocks,Closed,29033,Move attachments to their own section in issue page
blocks,New,29263,Move issue attributes to their own section in issue page
Admin Redmine さんが3年以上前に更新
- カテゴリ を UI_10 にセット
- 対象バージョン を Candidate for next minor release_33 にセット