Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiselect dropdown replacement for territory crossposting #712

Open
huumn opened this issue Dec 26, 2023 · 0 comments
Open

Multiselect dropdown replacement for territory crossposting #712

huumn opened this issue Dec 26, 2023 · 0 comments
Labels
difficulty:medium-hard feature new product features that weren't there before priority:high territories

Comments

@huumn
Copy link
Member

huumn commented Dec 26, 2023

For the UI, We'll probably want something like this: https://react-select.com/home

On the backend:

  • we'll need a many-to-many relationship between Item and Sub
  • to avoid additional joins every time we load an Item, we'll want to denormalize all the territories Item belongs to in trigger that populates an array on Item called subNames
  • create_item and update_item stored procedures will need to be updated

Economics:

  • Posting in multiple territories is cumulative
    • e.g. if posting in ~bitcoin and ~nostr and each costs 10 sats to post, the resulting fee is 10+10=20 sats.
@huumn huumn added feature new product features that weren't there before territories labels Dec 26, 2023
@ekzyis ekzyis pinned this issue Jan 15, 2024
@huumn huumn changed the title Multiselect dropdown replacement for territory crossposting/filtering Multiselect dropdown replacement for territory crossposting Feb 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
difficulty:medium-hard feature new product features that weren't there before priority:high territories
Projects
None yet
Development

No branches or pull requests

1 participant