it-tools icon indicating copy to clipboard operation
it-tools copied to clipboard

feat(new tool): Smart Text Replacer and LineBreaks manager

Open sharevb opened this issue 1 year ago • 10 comments

Smart Replacer functionality taken as base from #976 by @utf26 Fixed linebreaking display in Smart Replacer Add linebreaking options

Fix #1279 #1194 #616 #1090

sharevb avatar Sep 11 '24 21:09 sharevb

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
it-tools ✅ Ready (Inspect) Visit Preview Sep 21, 2024 0:07am

vercel[bot] avatar Sep 11 '24 21:09 vercel[bot]

Hi @sharevb thanks for the tool! I did some basic testing and have a few findings:

  • You can't search for a space. I searched for " a" and it only found "a".
  • Title and description are not displayed. The texts in the English translation file are missing.
  • I'm not sure what the placeholder text in "replace with" means. Maybe needs some explanation?
Bildschirmfoto 2024-09-12 um 07 42 09

steffenrapp avatar Sep 12 '24 05:09 steffenrapp

Hi @steffenrapp , thanks for this reporting

  • You can't search for a space. I searched for " a" and it only found "a".

=> spaces where trimmed from find regex

  • Title and description are not displayed. The texts in the English translation file are missing.

=> should be ok now

  • I'm not sure what the placeholder text in "replace with" means. Maybe needs some explanation?

=> changed to a simplier version, probably need to make a regex memo/cheatsheet

sharevb avatar Sep 13 '24 07:09 sharevb

Hi @sharevb thanks a lot! Works a expected now 🪩

steffenrapp avatar Sep 13 '24 13:09 steffenrapp

Hi @sharevb I have used the tool some times and have two new things:

  • Is it possible to add a copy button to the output so it can be copied easily? EDIT: I just saw that there is a copy button but if the field is too wide then the button is outside the screen and therefore cannot be used.
  • The output field doesn't break lines if a line is too long for the box and I also cannot scroll to the side. Would be nice to either break the line in the display field or enable scrolling.

steffenrapp avatar Sep 16 '24 12:09 steffenrapp

=

  • Is it possible to add a copy button to the output so it can be copied easily? EDIT: I just saw that there is a copy button but if the field is too wide then the button is outside the screen and therefore cannot be used.
  • The output field doesn't break lines if a line is too long for the box and I also cannot scroll to the side. Would be nice to either break the line in the display field or enable scrolling.

Hi @steffenrapp, should be ok now

sharevb avatar Sep 21 '24 08:09 sharevb

Hi @sharevb great! Works fine now. Just found another thing that can be optimized - sorry 😅 On the phone "match case" and "keep linebreaks" are displayed really bad. Maybe move both to a separate line?

image

steffenrapp avatar Sep 21 '24 08:09 steffenrapp

Hi @sharevb great! Works fine now. Just found another thing that can be optimized - sorry 😅 On the phone "match case" and "keep linebreaks" are displayed really bad. Maybe move both to a separate line?

Hi @steffenrapp, héhé ;) should be ok now

sharevb avatar Sep 21 '24 12:09 sharevb

@sharevb Yes, perfect! 😃 Thank you

steffenrapp avatar Sep 21 '24 12:09 steffenrapp

Hi, for people interested in up to date version of it-tools, I made kind of a fork here : https://github.com/sharevb/it-tools (https://sharevb-it-tools.vercel.app/ and docker images https://github.com/sharevb/it-tools/pkgs/container/it-tools)

sharevb avatar Nov 24 '24 20:11 sharevb