mirror of
https://github.com/go-shiori/shiori.git
synced 2026-04-25 14:35:52 +03:00
[GH-ISSUE #632] Custom title & description overwritten when adding a bookmark #319
Labels
No labels
component:backend
component:builds
component:builds
component:extension
component:frontend
component:readability
database
database:mysql
database:postgres
database:sqlite
feature:ebooks
github_actions
good first issue
hacktoberfest
note:duplicate?
note:fixed?
note:out-of-scope?
os:windows
priority:high
priority:low
pull-request
resolution:as-intended
resolution:cant-reproduce
resolution:duplicate
resolution:fixed
resolution:wontfix
tag:TBD
tag:big-task
tag:help-wanted
tag:huge-data
tag:meta
tag:more-info
tag:next
tag:no-stale
tag:requires-migrations
tag:research
tag:security 🛡️
tag:stale
tag:waiting-for-assignee
type:bug
type:documentation
type:enhancement
type:meta
type:ux
user:cli
user:web
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/shiori#319
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @gBasil on GitHub (Jul 5, 2023).
Original GitHub issue: https://github.com/go-shiori/shiori/issues/632
Originally assigned to: @fmartingr on GitHub.
Data
github.com/go-shiori/shiori@f6f3faf130, built from source for aarch64)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:
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.
@fmartingr commented on GitHub (Jul 6, 2023):
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.