DEV Community

This is a new thing: A type of quick post that doesn't show up on your profile or in notifications. It's in beta, and we have a few adjustments and improvements in the pipeline — but if you have ideas, let me know.

Ben Halpern on November 12, 2024

Collapse
 
srbhr profile image
Saurabh Rai • Edited

Hi @ben this is a nice feature but what will you do with the URL? This looks like this:

https://dev.to/ben/this-is-a-new-thing-a-type-of-quick-post-that-doesnt-show-up-on-your-profile-or-in-notifications-its-in-beta-and-we-have-a-few-adjustments-and-improvements-in-the-pipeline-but-if-you-have-ideas-let-me-know-3e6a

Are these supposed to be this big?
But I like it, Twitter/X & Bluesky like posts. 😁

Collapse
 
ben profile image
Ben Halpern

Good call on the url, we’ll truncate this.

Collapse
 
ben profile image
Ben Halpern

Truncate super long slugs #21369

What type of PR is this? (check all applicable)

  • [ ] Refactor
  • [x] Feature
  • [ ] Bug Fix
  • [ ] Optimization
  • [ ] Documentation Update

Description

Truncate super long slugs for use with quickies.

Thread Thread
 
srbhr profile image
Saurabh Rai

Amazing! : )

Collapse
 
ben profile image
Ben Halpern

Also, if anything seems broken, also let me know. Still experimental. ❤️

Collapse
 
kurealnum profile image
Oscar

Hiya, the textarea element expands when typing. Here's a video: If it helps, I'm on Firefox Developer edition.

Collapse
 
ben profile image
Ben Halpern

Can you say if this same issue exists with comment boxes? Pretty much re-used that code.

Thread Thread
 
kurealnum profile image
Oscar • Edited

It does not. Also, I tried this on Chrome & Firefox and got the same issue.

By the way, I looked around in dev tools and I can see the textarea's height increasing by 1px every time I insert or remove a character.

Thread Thread
 
ben profile image
Ben Halpern

Thanks, will figure this out.

Collapse
 
srbhr profile image
Saurabh Rai

I have faced a different issue, tested this on Firefox, and Chrome (Stable). I don't see expansion while typing.

Thread Thread
 
kurealnum profile image
Oscar

Hm. Maybe it's some sort of issue on my end. I'll play around with it later.

Collapse
 
best_codes profile image
Best Codes

Yup, I've got the same issue. I also do not have it with the comment boxes. I'm using Opera 114.

Collapse
 
canro91 profile image
Cesar Aguirre

Same here!

Collapse
 
srbhr profile image
Saurabh Rai

I'm not seeing this, but tested on Firefox & Chrome.
Once you enter a second line, and delete some text, text-area remains of expanded width.
Trying backspace, delete or enter doesn't seems to do anything.

Line Expand

CC @ben

Collapse
 
avanichols profile image
Ava Nichols

Cool