push
github
Update Search for SICP (#2706) * initial try * added skeleton for cascading sub manu * could fetch rewrited search data * could parse the type of TrieNode * added autocomple and search function, works fine * integrate into user search, replace result stubs with results * Add support for correct order, open and close range, and Also add router to begin and end of page, so that the page would not refresh when traveling on the same page. * support scroll down, sentence search and sentence auto complete * Update SicpNavigationBar.tsx * Update SicpNavigationBar.tsx * Fix style * Update SicpNavigationBar.tsx.snap * Update Sicp.tsx Try debug failing test * Fix style * Add id before result of test search * Make eslint happy * Simplify formatting * Remove commented code * Remove console log statements * Combine array operations together Prevents the creation of unnecessary arrays which can improve performance for larger numbers of search results. * Remove console log statements * Fix hardcoded localhost url * Revert "Fix hardcoded localhost url" This reverts commit 53fe78578. * Comment out debugging console statements * Use react router to navigate instead of location.href --------- Co-authored-by: Richard Dominick <34370238+RichDom2185@users.noreply.github.com> Co-authored-by: sayomaki <willi123yao@gmail.com>
2166 of 6764 branches covered (0.0%)
Branch coverage included in aggregate %.
211 of 211 new or added lines in 2 files covered. (100.0%)
5729 of 14475 relevant lines covered (39.58%)
18.88 hits per line