mirror of
https://github.com/go-shiori/shiori.git
synced 2026-04-25 06:25:54 +03:00
[GH-ISSUE #31] Optional title isn't optional in the web view on unauthorized links #20
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#20
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 @csterritt on GitHub (Mar 2, 2018).
Original GitHub issue: https://github.com/go-shiori/shiori/issues/31
Hello,
First, thanks for doing this! It's pretty impressive.
However, the web-page view has a form that expands when you enter a new URL, with the title field having the placeholder text "Custom bookmark title (optional)". When you save without a title, it works fine, unless the URL returns "unauthorized". Then you're told "Title must not empty".
I accidentally set up a link to a page that requires a login, and saw this.
@RadhiFadlillah commented on GitHub (Mar 5, 2018):
Hi @csterritt, sorry for late response. Thanks for using and reporting this issue.
Yeah, that is intended actually. When user omits the title,
shioriwill fetch the webpage and parse the title. When the webpage is unreachable,shioriis supposed to use the custom title, and if the custom title is empty as well,shioriwill show that error message.I guess I will add more information to error message. So, from :
I will change it to :`
@csterritt commented on GitHub (Mar 5, 2018):
@RadhiFadlillah That sounds like a great solution! It'll be obvious, then, what is wrong -- that would have helped me a lot, to figure out what I'd done wrong.
@RadhiFadlillah commented on GitHub (May 26, 2018):
Hi @csterritt.
By the latest commit (
ecbc92d), I've changed the default behaviour when URL is unreachable. Now, instead forcing user to input custom title,shioriwill use the submitted URL as the title for the new bookmark. This way, I think it will be simpler and predictable for user. Besides, user can easily change the title of the URL in later time.@csterritt commented on GitHub (May 26, 2018):
@RadhiFadlillah Sounds good!