neutral-face-emoji-tools icon indicating copy to clipboard operation
neutral-face-emoji-tools copied to clipboard

Handle duplicate names

Open Fauntleroy opened this issue 6 years ago • 2 comments

You can't have two emoji with the same name, so what do we do with conflicts?

  • Warn the user about the conflict and ask for a manual rename?
  • Automatically iterate the emoji name with a number?

Fauntleroy avatar Aug 23 '18 19:08 Fauntleroy

I suggest the 2nd option with the automatic numbering, much more convenient

vlad-roid avatar Jul 29 '21 05:07 vlad-roid

Almost done with a solution for this on my fork/branch add-name-taken-retry-logic. Just trying to figure out how to test the solution with the npm dependency issues blocking me.

It will append -# to any duplicated emoji names and increment the number to keep retrying.

CJGlitter avatar Jul 09 '24 01:07 CJGlitter