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

Improve url field #500

Merged
merged 13 commits into from
Feb 5, 2025
Merged

Improve url field #500

merged 13 commits into from
Feb 5, 2025

Conversation

Haberkamp
Copy link
Contributor

What?

This PR refactors the mt-url-field so it no longer depends on the mt-text-field

Why?

The text field offers way more features than the url field offers. Moreover, because this component extends from the text component it suffers from the typical issues with inheritance.

How?

I've refactored the component in a way so that it no longer depends on the mt-text-field

Testing?

Feel free to test the component yourself on the branch preview.

Anything Else?

  • Added a couple of visual tests to make sure the component looks right
  • Added types for slots and emitted events

Copy link

vercel bot commented Feb 5, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
meteor-component-library ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 5, 2025 9:07am
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
meteor-admin-sdk-docs ⬜️ Ignored (Inspect) Visit Preview Feb 5, 2025 9:07am

@Haberkamp Haberkamp merged commit b61039b into main Feb 5, 2025
9 of 10 checks passed
@Haberkamp Haberkamp deleted the improve-url-field branch February 5, 2025 09:28
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.

3 participants