プロジェクト

全般

プロフィール

Vote #80088

完了

Incorrect position of the "Associated revisions" block when comments are displayed in reverse chronological order

Admin Redmine さんが3年以上前に追加. 3年以上前に更新.

ステータス:
Closed
優先度:
通常
担当者:
-
カテゴリ:
UI_10
対象バージョン:
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
10
version_id:
151
issue_org_id:
31438
author_id:
334424
assigned_to_id:
332
comments:
11
status_id:
5
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
148
ステータス-->[Closed]

説明

Hi all,

I noticed that the associated revisions block is not places next to the comments section as it used to be. This happens when a user selects to display comments - In reverse chronological order option in /my/account. If it is set up to be displayed in chronological order everything looks just fine. I've attached a screenshot with shows the issue (this is the Purplemine theme here but it happen with the original one too).

mrliptontea from the Purplemine project found the root cause for this and wrote the following:

Aha! I found the cause - this happens when a user selects Display comments - In reverse chronological order option in /my/account.
The same layout issue then happens with the default theme. This is because with reversed order the contextual menu is also displayed above the comment history, as defined in the template.

Sorry but I'm afraid I can't fix this.

He marked the possible issue inside the redmine source code "here":https://github.com/redmine/redmine/blob/d646ec22cfd9b905688be010bf16c429bf31718f/app/views/issues/show.html.erb#L130-L139.

!Wrong_location_assisiated_revisions.png!


journals

Since the problem occurs only in the third-party theme, there is nothing we can do.

I hope the theme developer suggests how to update the Redmine's code to fix their issue.

--------------------------------------------------------------------------------
Hi,

thanks for the quick replay.

As I've wrote in the description is happens also with the default Redmine theme. See attached screenshot.

Mathias Buder wrote:
> Hi all,
>
> I noticed that the associated revisions block is not places next to the comments section as it used to be. This happens when a user selects to display comments - In reverse chronological order option in /my/account. If it is set up to be displayed in chronological order everything looks just fine. I've attached a screenshot with shows the issue (this is the Purplemine theme here but *it happen with the original one too*).

!https://www.redmine.org/attachments/download/23179/2019-05-26%2014_59_33-Window.png!

--------------------------------------------------------------------------------
I think it will be fixed if #3058 is merged to the trunk.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
I think the attached patch fixes the issue.

*[Before]*
!{width: 764px; border: 1px solid #ccc;}.31438-before@2x.png!

*[After]*
!{width: 764px; border: 1px solid #ccc;}.31438-after@2x.png!

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Committed the fix. Thank you for reporting this issue.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
I am using Redmine 4.0.5 and I am still facing this issue.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------


related_issues

relates,Closed,3058,Show issue history using tabs
relates,Closed,23518,Move action links and edit form above the history when displaying comments in reverse order
relates,New,32370,Action menu on issues details should not flip with the history order

Admin Redmine さんが3年以上前に更新

  • カテゴリUI_10 にセット
  • 対象バージョン4.0.4_151 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0