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

Custom title & description overwritten when adding a bookmark #632

Closed
gBasil opened this issue Jul 5, 2023 · 1 comment · Fixed by #636
Closed

Custom title & description overwritten when adding a bookmark #632

gBasil opened this issue Jul 5, 2023 · 1 comment · Fixed by #636
Assignees
Labels
type:bug Something isn't working
Milestone

Comments

@gBasil
Copy link

gBasil commented Jul 5, 2023

Data

  • Shiori version: 1.5.4 (f6f3faf, built from source for aarch64)
  • Database Engine: Sqlite
  • CLI/Web interface/Web Extension: Web interface

Describe the bug / actual behavior

When adding a bookmark and specifying a title and/or description, the values are overwritten with the title and description values from the link.

Expected behavior

When adding a bookmark and specifying a title and/or description, the values should have precedence over the automatically fetched values.

To Reproduce

Steps to reproduce the behavior:

  1. Go to the web interface.
  2. Add a bookmark, and specify a title and/or description.
  3. Wait for the link to be fetched.
  4. See how the title and/or description are overwritten.

Notes

When only one field is filled out and the other is blank, I'm not sure if would be better to have the blank field take precedence over the automatically fetch value for it. It could be a togglable option.

@gBasil gBasil added the type:bug Something isn't working label Jul 5, 2023
@fmartingr
Copy link
Member

Hey @gBasil, thanks for the report. Without checking (and adding this as a note for future me) this was most likely introduced in #368. We store the bookmark and then fetch the content, but we do not tell the downloader if it has to keep the title and description or not, so it just overwrites it every time.

Also good point about the blank fields, I'm not sure about that to be honest, I want the experience of adding a bookmark to be easy and straighforward and adding too many options breaks that experience. Maybe showing up just the URL and add some accordions with more "advanced options"? I don't know. Just thinking out loud.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants