Closed Bug 1546788 Opened 2 years ago Closed 1 year ago

Deselect bug type by default unless component-specific type is defined

Categories

(bugzilla.mozilla.org :: Bug Creation/Editing, enhancement)

Production
enhancement
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: kohei.yoshino, Assigned: kohei.yoshino)

References

Details

Attachments

(3 files)

As discussed on IRC.

On the default Enter Bug page,

  • The Type field should select nothing by default unless the component-specific default bug type is defined
  • The Type field should remain mandatory (technically it’s optional in the database schema though)
  • Let the user choose a proper type

On the guided Enter Bug page aka Bugzilla Helper:

  • Type field should be defect by default (there’s already <input type="hidden" name="bug_type" value="defect”> so no change is required)
Depends on: 1546815

Should I file a separate bug for enter_bug?bug_type=task not correctly selecting the correct type? Seems like it briefly has task selected but then quickly ends up with "defect" selected. Same thing happens for bug_type=enhancement (with task being visually selected then jumping to defect)

Attached file GitHub Pull Request

(In reply to Ed Lee :Mardak from comment #1)

Should I file a separate bug for enter_bug?bug_type=task not correctly selecting the correct type? Seems like it briefly has task selected but then quickly ends up with "defect" selected. Same thing happens for bug_type=enhancement (with task being visually selected then jumping to defect)

The issue has been fixed in Bug 1543456 (but not deployed yet).

Attached image screenshot

This goes to production today, then the other PR for code change can be shipped.

All merged to master.

Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.