spirit icon indicating copy to clipboard operation
spirit copied to clipboard

feat: Collections

Open GreatGodApollo opened this issue 4 years ago • 5 comments

Is your feature request related to a problem? Please describe. An issue with several other pastebins is that you aren't able to easily group together a bunch of similar pastes. Without an easy way to provide a single URL, you end up spamming the other person with a bunch of links, without an obvious link between them all.

Describe the solution you'd like A potential solution would be to allow a user to create a collection of pastes using a UI, which would provide a URL in a fashion similar to /col/{pastes}. The {pastes} could either be a URL encoded list of paste IDs, a Base64 encoded list of paste IDs, or a collection ID that would need to be stored in the DB.

Describe alternatives you've considered The only other alternative is to just send a bunch of links to another user, without any way to specifically state that these pastes are directly related.

Additional context N/A

GreatGodApollo avatar Jun 09 '20 00:06 GreatGodApollo

This'll come once we complete associated uploads, but good suggestion! I'd say storing each link in the DB along a collection table.

jackdorland avatar Jun 09 '20 00:06 jackdorland

This'll come once we complete associated uploads, but good suggestion! I'd say storing each link in the DB along a collection table.

That's what I suggest as well. The structure of the database would be very simple:

Collection Identifier Documents
xMeR0XMoQZA4 [ UMhbRYQlI4NB, FaeDV6jJN9eR ]

lukewhrit avatar Jun 09 '20 01:06 lukewhrit

Stale issue message

github-actions[bot] avatar Aug 09 '20 00:08 github-actions[bot]

Stale issue message

github-actions[bot] avatar Nov 29 '20 00:11 github-actions[bot]

I've realized the best and simplest way to implement this is on the client by allowing multiple pastes to be viewed at once defined in a comma-deleted list in the URL.

Therefore I will be transferring this issue to the Pulsar repository.

lukewhrit avatar Mar 12 '21 21:03 lukewhrit