Anki-Android icon indicating copy to clipboard operation
Anki-Android copied to clipboard

Improve the "Add note type" dialog

Open ZornHadNoChoice opened this issue 8 months ago • 6 comments

The "Add note type" dialog

Image

  • Show red text if note type already exists (see reference 1).
  • Replace "OK" with "Add".
  • Add a title "Add note type".
  • Add a border to the box and move "Name" in it (see reference 2).

The following are optional, but I think they would make it more esthetically pleasing:

  • Put the type selection below the input box (see reference 3).
  • Remove "Type" since there already is "Add:" or "Clone:" in the selection.

Reference dialogs

Image

Image

Image

ZornHadNoChoice avatar Mar 14 '26 20:03 ZornHadNoChoice

@ZornHadNoChoice @david-allison Can you assign me to this task

devchaos0 avatar Mar 15 '26 01:03 devchaos0

Hi @david-allison, I'd love to work on this issue — could you please assign it to me?

qingfeng19491001 avatar Mar 15 '26 03:03 qingfeng19491001

Hello @david-allison , I'd like to take a shot at this, so there's duplicate name validation logic with error state and the UI changes listed here. I'll open a draft PR shortly if it is unassigned.

chaitanyamedidar avatar Mar 15 '26 10:03 chaitanyamedidar

@Chaos10001 Asked first to be assigned so please leave this PR to him.

lukstbit avatar Mar 15 '26 11:03 lukstbit

@lukstbit I started working on this before seeing the assignment. I've opened PR #20479 with the required changes implemented. Happy to close it if @Chaos10001 is already making progress.

qingfeng19491001 avatar Mar 15 '26 12:03 qingfeng19491001

@qingfeng19491001 Have already began working on it already, I was just waiting to be assigned to it b4 I push what I have already

devchaos0 avatar Mar 15 '26 15:03 devchaos0