プロジェクト

全般

プロフィール

Vote #77113

完了

Field "Done" from issue subtasks table overlaps the layout in responsive mode, width 400

Admin Redmine さんが約4年前に追加. 約4年前に更新.

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

0%

予定工数:
category_id:
57
version_id:
112
issue_org_id:
21775
author_id:
107353
assigned_to_id:
1
comments:
10
status_id:
5
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
102
ステータス-->[Closed]

説明

Steps to reproduce:

Open an issue with subtasks

Resize the browser to the minimum width (400px in my case, Chrome, latest version)

Observe the field Done that overlaps the layout.

!before.png!

I checked also the issues listing (project/issues) and there the problem doesn't reproduce because of the div "autoscroll" that makes that block scrollable also on horizontal.

Attached is a patch that adds that div for issue subtasks and relations.

After I applied the patch:
!after.png!


journals

Attached the patch.
--------------------------------------------------------------------------------
Thanks for reporting this and providing a patch.

I am not sure scrolling is the best approach here. Ideally, we'd rearrange the elements so they all fit on the screen without scrolling.
--------------------------------------------------------------------------------
I've also added a new category for responsive issues as I would expect to see a few more of those in the future. Using a different category will hopefully make it easier for Felix and me to address them quickly.
--------------------------------------------------------------------------------
Jan from Planio www.plan.io wrote:
> I am not sure scrolling is the best approach here. Ideally, we'd rearrange the elements so they all fit on the screen without scrolling.

I added the autoscroll div from two reasons:
# this is the behavior used in the issues page
# is a quick fix

I totally agree with you that is not the best approach and I think that the new responsive approach should apply in all pages where the issues are listed (Issues, issue show, my page)
--------------------------------------------------------------------------------
I have been working on a solution which avoids scrollbars and lets the columns stack so that each issue displays in two rows :

!after-patch.png!

The screenshot shows how it looks on an iPhone 4 with 320px width (what I consider the minimum resolution width). It looks well for subtasks and related issues. The subject spans over the full width, whereas status, asignee, progress, start_date and end_date use one-third of the available width. I also added text-overflow:ellipsis to the table cells in case the content exceeds the table cell's space.

--------------------------------------------------------------------------------
It looks very good.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Setting target version to 3.2.1.
Felix, thanks for working on many UI issues.
--------------------------------------------------------------------------------
Patch committed, thanks.
--------------------------------------------------------------------------------

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


related_issues

relates,Closed,32889,Responsive layout for issue tree and issue relation on issue page is broken

Admin Redmine さんが約4年前に更新

  • カテゴリUI - Responsive_57 にセット
  • 対象バージョン3.2.1_112 にセット

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

いいね!0
いいね!0