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 number field #490

Open
wants to merge 107 commits into
base: main
Choose a base branch
from
Open

Improve number field #490

wants to merge 107 commits into from

Conversation

Haberkamp
Copy link
Contributor

@Haberkamp Haberkamp commented Jan 29, 2025

What?

This PR decouples the number field from the text field.

Why?

The number field is too closely coupled to the text field, suffering from the typical issues caused by inheritance common on OOP projects.

Now the components are separated from each other, changing code in the text field no longer affects the number field, reducing the surface area of bugs and improving maintainability.

How?

I've written a lot of test before making any changes, then made the changes to make sure the behaviour is still the same.

Testing?

I've written a lot of tests to make sure everything works as before.

Check out the branch preview if you want to perform manual testing.

Copy link

vercel bot commented Jan 29, 2025

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

Name Status Preview Comments Updated (UTC)
meteor-admin-sdk-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 6, 2025 7:42am
meteor-component-library ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 6, 2025 7:42am

Haberkamp and others added 22 commits February 6, 2025 07:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package: components @meteor/components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant