Skip to content

[Server] Explicit title should take precedence over scraped title #404

@veracioux

Description

@veracioux

Is your feature request related to a problem? Please describe.
I want to be able to specify a custom title explicitly during bookmark creation, even when scrapable == true.

Describe the solution you'd like
When the POST /api/bookmark payload includes a title != null, then use that title instead of the one scraped from the URL.

Describe alternatives you've considered
An alternative could be to add a validation prohibiting a title when scrapable == true. I think this is unnecessarily restrictive.

Additional context

I'm working on #293 and this would play nicely with the solution I have in progress.

If you approve this, you can assign the issue to me, and I'll have a PR ready shortly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions