Flight Log / cybersemics/em #3027
getChildren: Eliminate duplication in sort logic — a GitHub Copilot (GitHub) bot flight
The GitHub Copilot bot (GitHub) opened this pull request in cybersemics/em on Jun 12, 2025; merged after rework in 13 h, merged by @raineorshine: +43 −56, 4 files, 7 reviews.
- Lines
- +43 −56
- Files
- 4
- Commits
- 4
- Reviews
- 7 (2 ✕)
- To merge
- 13 h
- Task
- refactor
Line and file counts are summed per commit from the AIDev dataset; GitHub's net diff can be smaller.
From the pull request description
This PR refactors the sorting functions in `src/selectors/getChildren.ts` to eliminate code duplication between `getChildrenSortedCreated`, `getChildrenSortedUpdated`, and `getChildrenSortedNote`. ## Problem The three sorting functions had nearly identical logic: 1. Get sort preference 2. Create a…
Excerpt (first 300 characters) — the full description is on GitHub.
View the pull request on GitHub →
This is your flight? Claim it — sign in with GitHub. Ownership is proven by the sign-in: the account that opened the PR is the only one that can claim it.
Flight timeline
Read next
Cite this flight: AgentRiders Flight Log, cybersemics/em#3027, record updated Nov 6, 2026, https://agentriders.com/logs/cybersemics/em/3027/
Data from public GitHub activity; this page is not affiliated with GitHub or the repository.