プロジェクト

全般

プロフィール

Vote #78110

完了

UI inconsistencies on /enumerations/index view

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

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

0%

予定工数:
category_id:
10
version_id:
119
issue_org_id:
24776
author_id:
1565
assigned_to_id:
1
comments:
9
status_id:
5
tracker_id:
3
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

Coming out of and a follow-up to #24720. I spotted three things that could benefit improvement:

  • re-position the new enumeration links to above the item tables (in line with #24720 changes)
  • add 'icon' and 'icon-add' classes to the new enumeration links (like most, if not all, new ... links in both the front- and the back-end) to make them stand-out more
  • handle cases of none existing enumerations using the regular @no-data@ message blocks

I attach three patches implementing these changes. This patch serial, against current source:/trunk@16156, is produced using git format-patch which makes the individual patches apply-able using "@patch -p1 < 0001-...@".


journals

Some comparative screenshots.

Before:
!before.png!

After:
!after.png!

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

--------------------------------------------------------------------------------
Nice improvement.

But I think it would be better to set more margin between the table and the next heading. Please see the following screenshots.

*current patch:*
!before-add-margin.png!

*set more margin:*
!after-add-margin.png!

--------------------------------------------------------------------------------
Go MAEDA wrote:
> But I think it would be better to set more margin between the table and the next heading. Please see the following screenshots.

I totally agree. Thanks for reviewing and your feedback. I'll leave an updated, rebased patch set — against source:/trunk@16171 — adding a fourth patch containing the CSS rule you've proposed. The first three patches didn't change by content, only its metadata.

Regarding the CSS rule: while it fixes practical all cases[1], it does leave a difference between the space between the tables and the following headers ánd the space between the paragraphs and the following headers. See the following two screenshots:

* Remaining difference made visual:
!rare-case-indifferent-distance.png!

* Extreme case without any enumerations at all:
!extreme-case.png!

This cannot be fixed easily (and in a clean way) due to the current structure of the page. Though, given the rarity of the case, I think I can live with this minor drawback/trade-off. But, YMMV...

fn1. I've almost never seen Redmine instances in production without enumerations, only just installed ones where no default data was loaded yet.
--------------------------------------------------------------------------------

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

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

--------------------------------------------------------------------------------
Mischa The Evil wrote:
> Regarding the CSS rule: while it fixes practical all cases[1], it does leave a difference between the space between the tables and the following headers ánd the space between the paragraphs and the following headers. See the following two screenshots:

Looks good to me. Thanks!
I think this issue is now ready to be merged. Setting target version to 3.4.0.

> fn1. I've almost never seen Redmine instances in production without enumerations, only just installed ones where no default data was loaded yet.

Absolutely agree.
--------------------------------------------------------------------------------
Patch committed, thanks Mischa.
--------------------------------------------------------------------------------


related_issues

relates,Closed,24720,Move all 'new item' links in project settings to above the item tables

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

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

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

いいね!0
いいね!0