pinkary-project / pinkary.com

Create a landing page for all your links and connect with like-minded people without the noise.
https://pinkary.com
GNU Affero General Public License v3.0
1.06k stars 229 forks source link

Feature: Support hashtags in posts #371

Closed MrPunyapal closed 4 days ago

MrPunyapal commented 2 months ago

What's included?

[!important] each task with separate PR

frankliniwobi commented 2 months ago

@MrPunyapal Just so we are on the same page, I have a few questions I would like clearification on:

Definition of 'Tags':

Functionality of Hashtags:

Separation from User Mentions:

MrPunyapal commented 2 months ago

When you refer to 'tags,' do you mean hashtags (e.g., #example) that categorize content,

yes

MrPunyapal commented 2 months ago

Should hashtags be highlighted as soon as they are typed in a post, or only after the post is published?

You can keep both as separate tasks.

MrPunyapal commented 2 months ago

What color or style should be used for highlighting hashtags?

same as twitter

MrPunyapal commented 2 months ago

Searching with Hashtags

We can do this after regular search functionality is added.

MrPunyapal commented 2 months ago

Separation from User Mentions:

Mentions are already supported in Pinkary at some level. therefore we can focus on hashtags in this issue.

frankliniwobi commented 2 months ago

Thanks for the clarification.

CamKem commented 2 months ago

@frankliniwobi - I didn't realise you were working on this, or that this issue had even been added. I made a hashtags feature for Pinkary locally a while back. If you want to check it out, have just added the changes to a git patch, and put it in a GIST (https://gist.github.com/CamKem/da8d3913263c70fdce672f9ed8e93d73) - you would still need to add tests of course.

MrPunyapal commented 1 month ago

@frankliniwobi any updates? 🤔

frankliniwobi commented 1 month ago

@CamKem Thank you.