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

[FEATURE] Issuer normalization #59

Open
cachho opened this issue Feb 14, 2025 · 2 comments
Open

[FEATURE] Issuer normalization #59

cachho opened this issue Feb 14, 2025 · 2 comments
Assignees

Comments

@cachho
Copy link
Contributor

cachho commented Feb 14, 2025

Is your feature request related to a problem? Please describe.
If we normalized the issuers, you wouldn't have to type them in every time with the logo. they could be selected from a drop down. this would also allow filtering by issuer.

Describe the solution you'd like
database "table" for issuers. I think paperless did it perfectly where you can just type and select the issuer from a dropdown, and if it's not there it will be created.

@l4rm4nd
Copy link
Owner

l4rm4nd commented Feb 14, 2025

Hi @cachho,

I've already thought about this too.

May implement but no prio atm.

@l4rm4nd
Copy link
Owner

l4rm4nd commented Feb 15, 2025

One of the initial thoughts, hindering me from normalizing the issuer field, were:

  • The issuer must be created first, before being displayed and suggested as entry during item creation. This may require a separate Create Issuer view and slows down the item creation.
  • The search feature to find items works well. Filtering by issuer would be a feature but is not a must have to find items from the same issuer.
  • Normalizing issuers may leak the issuer name of other user's items. The dropdown would typically suggest all available issuers from the database model. Unsure whether this is something to 'protect' or not.

Will tinker a bit on how such a normalized issuer field may be implemented smartly. Basically just a UI thing. Guess HTML's datalist may be an option or just JS for autocompletion.

I would really like to still have a single item creation page on the frontend and not split it up just to create the issuer first.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants