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

Check that a URL is valid as soon as we load the Add Bookmark dialog #1828

Merged

Conversation

andybalaam
Copy link
Contributor

@andybalaam andybalaam commented Jan 14, 2025

This is a part of addressing #1826 - make sure that we display an error message in the Add Bookmark dialog immediately, if the shared URL is bad.

Before this change, there would be no error message in the "Add Bookmark" screen until we edited the URL, but now the error appears immediately:

image

I have zero Vue experience, so please let me know if I did it wrong.

@andybalaam andybalaam force-pushed the check-shared-url-immediately branch from 810a025 to 636fbde Compare January 14, 2025 17:34
Copy link
Member

@marcelklehr marcelklehr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, apart from this minor change :) Thank you!

@andybalaam andybalaam changed the title Catch and log any errors we encounter when parsing a URL to display its hostname Check that a URL is valid as soon as we load the Add Bookmark dialog Jan 14, 2025
@andybalaam andybalaam force-pushed the check-shared-url-immediately branch from 636fbde to 3899847 Compare January 15, 2025 08:20
Copy link
Member

@marcelklehr marcelklehr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right on 💙

@marcelklehr marcelklehr merged commit 8797eda into floccusaddon:develop Jan 15, 2025
24 of 34 checks passed
@marcelklehr
Copy link
Member

Thank you for stepping up to fix these!

@andybalaam andybalaam deleted the check-shared-url-immediately branch January 15, 2025 10:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants