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

refactor: migrate to signals #137

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

sheikalthaf
Copy link
Contributor

No description provided.

@sheikalthaf sheikalthaf force-pushed the signals branch 2 times, most recently from c9f4ed3 to 5151dc5 Compare June 6, 2024 05:42
@geromegrignon
Copy link
Collaborator

Hi, I'll review it tomorrow!

@sheikalthaf sheikalthaf changed the title refactor: migrate to signals for checklist refactor: migrate to signals Jun 7, 2024
map(results => results.map(this.mapToSearchResult))
);
search = toSignal(this.searchField.valueChanges.pipe(debounceTime(150)));
focus = signal(0);
Copy link
Collaborator

Choose a reason for hiding this comment

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

I'd prefer to keep the 'INIT' / 'FOCUS' logic as more explicit than using numbers.

Copy link
Contributor Author

@sheikalthaf sheikalthaf Jun 10, 2024

Choose a reason for hiding this comment

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

@geromegrignon removed the focus here, without this also search working same as before.

@sheikalthaf
Copy link
Contributor Author

@geromegrignon can you review and merge this PR first then we can review the Prettier PR.

@geromegrignon
Copy link
Collaborator

Reviewed.
Added you as reviewer @d3lm

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