Skip to content

Feature: Settings dialog input validations and error handling #67

Closed
@esthersoftwaredev

Description

@esthersoftwaredev

Type of feature

✨ Feature

Current behavior

  • only blog URL typed without https:// is accepted
  • no descriptive error message causing users to think that the functionality is broken

Suggested solution

  • if the input contains https:// or / remove hose parts
  • add standard input validation and error message for empty field
  • add a query to verify that the hashnode blog exists
  • add error message if hashnode blog was not found
  • make it clear for users that the site is not broken, rather there are issues with what is given as an input

Additional context

No response

I would be willing to submit a PR to fix this issue

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions