cz-customizable icon indicating copy to clipboard operation
cz-customizable copied to clipboard

Remove type prefix of the suggested subject message

Open mayconfsousa opened this issue 5 years ago • 6 comments

The function getPreparedCommit should return the suggested message without the type prefixes (fix:, feat:,...).

// questions.js
default: getPreparedCommit('subject'),

Current behavior:

  1. Previous commit subject: "fix: my message"
  2. Current commit type: "fix"
  3. Current commit subject (suggestion): "fix: my message"
  4. Current commit subject after accept the suggestion: "fix: my message"
  5. Final commit subject "fix: fix: my message"

mayconfsousa avatar Sep 08 '20 17:09 mayconfsousa

Hello! I created a pull-request which will solve this problem. https://github.com/leoforfree/cz-customizable/pull/132

storageddd avatar Sep 08 '20 19:09 storageddd

+1

Alexa905 avatar Dec 16 '20 10:12 Alexa905

@leonardoanalista Hello, can you look this problem? If you don't have time, maybe I can help.

flyerH avatar May 26 '21 10:05 flyerH

@leonardoanalista Hello, can you look this problem? If you don't have time, maybe I can help.

@flyerH +1,is there any solution?

yiqianglin avatar Mar 24 '22 09:03 yiqianglin

@leonardoanalista Hello, can you look this problem? If you don't have time, maybe I can help.

@flyerH +1,is there any solution?

fork & fix

flyerH avatar Mar 24 '22 09:03 flyerH

yes, I noticed this problem. I merge https://github.com/leoforfree/cz-customizable/pull/132 if rebased

leonardoanalista avatar Jul 02 '22 12:07 leonardoanalista