プロジェクト

全般

プロフィール

Vote #80578

完了

Make form validation errors more obvious for users

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

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

0%

予定工数:
category_id:
10
version_id:
152
issue_org_id:
32764
author_id:
107353
assigned_to_id:
332
comments:
7
status_id:
5
tracker_id:
2
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

Currently, the validation errors are shown only on top of the page:

!validation_errors.png!

which makes very hard for the user to find those fields with errors, especially when there are multiple fields (how is in the case of an issue).

What do you think if we make those fields with errors more obvious?

!highlight_fields.png!


journals

--------------------------------------------------------------------------------
Marius BALTEANU wrote:
> What do you think if we make those fields with errors more obvious?

+1
It is a very common interface. And the issue form tends to have many fields, so Redmine should definitely have this feature.
--------------------------------------------------------------------------------
Marius BALTEANU wrote:
> What do you think if we make those fields with errors more obvious?

I think that would be a nice improvement indeed. Though I'm not sure if the field label should be changed too or if the highlighting of the actual field (border) itself is sufficient. We might want to get some feedback on that as some users may have patched/changed the core in such a way that it has custom field styling which may conflict with such a change (however, such shouldn't block a change like proposed here).
--------------------------------------------------------------------------------
Here is the patch.

Mischa The Evil wrote:
> I think that would be a nice improvement indeed. Though I'm not sure if the field label should be changed too or if the highlighting of the actual field (border) itself is sufficient. We might want to get some feedback on that as some users may have patched/changed the core in such a way that it has custom field styling which may conflict with such a change (however, such shouldn't block a change like proposed here).

Initially, I tried only the field (border), but because all labels are bold, it wasn't obvious enough for me. Anyway, any option works for me.

--------------------------------------------------------------------------------
This is a nice UI improvement!

Setting the target version to 4.2.0.
--------------------------------------------------------------------------------
Committed the patch. Thank you for improving Redmine.
--------------------------------------------------------------------------------

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


related_issues

relates,Closed,34580,Custom field labels do not contain class "error" when the field value is invalid

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

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

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

いいね!0
いいね!0