cpssd-students/steely

Fix .clap

Closed this issue ยท 10 comments

is broken

byxor commented

Get ๐Ÿ‘ this ๐Ÿ‘ fixed ๐Ÿ‘ ASAP! ๐Ÿ‘

We ๐Ÿ‘ are ๐Ÿ‘ going ๐Ÿ‘ to ๐Ÿ‘ build ๐Ÿ‘ a ๐Ÿ‘ wall ๐Ÿ‘ and ๐Ÿ‘ make ๐Ÿ‘ them ๐Ÿ‘ pay ๐Ÿ‘ for ๐Ÿ‘ it!

byxor commented

@sentriz Is this fixed? It seems to be working in the chat.

it doesn't work for things like:
. .

What's the desired output for a__b (ie, multiple spaces between things). Is it:

  1. a_๐Ÿ‘_b (ie. spaces are joined together)
  2. a_๐Ÿ‘_๐Ÿ‘_b (ie. each space gets its own clap)
  3. a_๐Ÿ‘__b (ie. the extra space is kept but there's a clap too)

IMO (1) above looks best, and also has an easy implementation of just splitting the input string by _, then joining up all parts of len > 0 with a _๐Ÿ‘_. No dorty regular expressions.

byxor commented
  1. a_๐Ÿ‘_b ๐Ÿ‘

Haha

seriously though

byxor commented

I am serious. I think the claps should at least be mapped to each word, if not each syllable. Having to subtract 1 feels unnatural to me.

Hahaha

Back in the real world, though

That's a different issue, tbh, but it seems it can be solved with a complicated per-user clap preference file that I'd be happy to implement.