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

NEOS-1663: Fixes transformer configs not updating in job mapping table #3033

Merged
merged 4 commits into from
Dec 10, 2024

Conversation

nickzelei
Copy link
Member

@nickzelei nickzelei commented Dec 10, 2024

The value we were using for the transformer column was too stable. it only took into account the case value, not the underlying config.

We make sure all transformer updates result in a fresh object, so returning the stable object reference is sufficient to trigger re-renders whenever the transformer itself is updated.

Due to this, the filterFn for the transformer needed to be updated to properly handle searches to retain the original functionality brought on by the old valueFn.

Demo: https://www.loom.com/share/6c7e422028cc40d699a6d58744976c00

@nickzelei nickzelei added the bug Something isn't working label Dec 10, 2024
Copy link

vercel bot commented Dec 10, 2024

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

1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
neosync-docs ⬜️ Ignored (Inspect) Visit Preview Dec 10, 2024 8:29pm

@nickzelei nickzelei marked this pull request as ready for review December 10, 2024 20:27
@nickzelei nickzelei changed the title fixes transformer rerenders NEOS-1663: Fixes transformer configs not updating in job mapping table Dec 10, 2024
Copy link

linear bot commented Dec 10, 2024

@nickzelei nickzelei merged commit 3d9afc7 into main Dec 10, 2024
7 checks passed
@nickzelei nickzelei deleted the nick/fix-memoized-cols-not-updating branch December 10, 2024 22:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants