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
 
downtherabbithole profile image
The Struggling Dev

Hi Ben,

This sounds like an interesting feature, thanks for developing the platform further.

I have a small issue: all my quickie posts so far ended up becoming full posts.
Repro Steps:

  • Dashboard
  • [ Show quickie posts ]
  • [ Write your first post now ] below the sloth image
  • [ Publish ]

Expected: the post shows up in the list I get to when I click [ Show quickie posts ]
Actual: the post shows up in the full posts list and the quickie posts list is empty

The following are three posts I've created this way. The last one is a very short one, thought maybe it's because of the length ...

Thanks a lot!

Collapse
 
ben profile image
Ben Halpern

Ah okay.

I think this is the issue:

Quickie posts can only be created from the home page above the feed. Everything else is a full post. I can see how this is confusing — especially in the context of doing it from the dashboard and we will adjust the design.

Thank you for pointing this out!

Thread Thread
 
downtherabbithole profile image
The Struggling Dev

Ah ok, didn't know this was the only way. It works, thanks a lot for the quick reply!

Thread Thread
 
ben profile image
Ben Halpern

We'll make changes to fix the confusion though. Very very helpful you pointed that out.

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_dev profile image
Ava Nichols

Cool