Commit Graph

727 Commits

Author SHA1 Message Date
Bui
05bda50655 fix back button 2022-03-03 05:45:02 +00:00
Bui
c81c3008fa normalize search 2022-02-28 22:04:04 +00:00
Bui
15678eb173
Merge pull request #419 from bui/search-relevancy
Improve search relevancy
2022-02-28 01:17:24 +00:00
KatieFrogs
03428aa50e Do not exclude 1 char gap 2022-02-28 03:24:14 +03:00
KatieFrogs
8c3429b67c Move the highlighted range 2022-02-28 02:51:51 +03:00
KatieFrogs
22712326b2 Workaround for an edge case 2022-02-28 02:45:27 +03:00
KatieFrogs
0b433e5e72 Improve search relevancy
- If the search string gets split too many times (more than twice the amount of characters), the result is excluded
- Matches in the title are ranked higher than in the subtitle
- Exact matches are ranked the highest
2022-02-28 02:19:25 +03:00
Bui
a6458168b8 update max results, again 2022-02-27 20:28:32 +00:00
Bui
c9b05b35e3 don't play v_diffsel if already there 2022-02-27 19:34:50 +00:00
Bui
1c1234b762
Merge pull request #418 from bui/optimize-search
Optimize search
2022-02-27 19:21:18 +00:00
KatieFrogs
fbcb0e41eb Highlight search results 2022-02-27 22:11:21 +03:00
Bui
70a047cd1c improve range parsing 2022-02-27 18:23:20 +00:00
Bui
a763028fa7 built-in limit filter 2022-02-27 17:52:07 +00:00
Bui
0dab74c0bb back to 100 2022-02-27 17:25:02 +00:00
Bui
bdad6b702a use fuzzy search 2022-02-27 17:17:17 +00:00
KatieFrogs
05b2104713 Fix broken search, fix wrong result size 2022-02-27 19:43:51 +03:00
KatieFrogs
07294857fa Optimize search
- Optimize search result insertion, should be 5 to 7 times fater than before
- Fix a memory leak when stylesheets are being inserted into the page
2022-02-27 18:49:56 +03:00
Bui
9ceecd90d0 fix maker filter 2022-02-26 21:50:37 +00:00
Bui
54f807a8d5 fix courses with p1 and p2 notes 2022-02-26 21:39:11 +00:00
Bui
ef332d08e8
Merge pull request #417 from bui/song-search
Implement song search
2022-02-26 05:57:19 +00:00
Bui
1cf969a68f reduce results to 50 2022-02-26 05:06:50 +00:00
KatieFrogs
da299a5c92 Fix gradient 2022-02-26 06:22:03 +03:00
KatieFrogs
39c2436de2 Search optimization 2022-02-26 06:06:32 +03:00
KatieFrogs
0f142b5386 Squish text, fix keyboard navigation 2022-02-26 05:49:05 +03:00
KatieFrogs
76736a35bf Add fadeout in the search 2022-02-26 05:06:32 +03:00
Bui
6c1cddf33f set caret to end 2022-02-26 01:37:44 +00:00
Bui
4f71a32bcf set last query first 2022-02-26 01:29:02 +00:00
Bui
b63cd56b93 add maker filter 2022-02-26 01:22:36 +00:00
KatieFrogs
10d360fd42 More CSS fixes 2022-02-26 04:18:51 +03:00
Bui
1ef724c4c1 remember last query until refresh 2022-02-26 00:47:09 +00:00
KatieFrogs
d85d48bc1f CSS fixes 2022-02-26 03:24:46 +03:00
Bui
e9b07f283d fix genre filter for custom song list 2022-02-26 00:09:14 +00:00
KatieFrogs
d44a4a1ce2 Improve appearance on mobile 2022-02-26 00:05:43 +03:00
Bui
7372b617b0 highlight close button on hover 2022-02-25 20:48:51 +00:00
Bui
17bec44720 check for event 2022-02-25 19:42:57 +00:00
Bui
5145aeccec trim query 2022-02-25 19:34:12 +00:00
Bui
c307fbb279 update p2 background 2022-02-25 19:32:35 +00:00
KatieFrogs
eb37779b58 Do not cancel touch while searching 2022-02-25 22:19:29 +03:00
Bui
24f02393eb allow ctrl+f from diff sel, fix input focus 2022-02-25 19:07:53 +00:00
Bui
6c6da320e1 stop songsel bgm 2022-02-25 19:02:30 +00:00
KatieFrogs
7935b3685f Fix key events in the search box 2022-02-25 21:57:10 +03:00
Bui
6a9139f9e9 fix ctrl+f 2022-02-25 18:50:21 +00:00
Bui
d0c26aa309 use more keyCode 2022-02-25 18:45:04 +00:00
Bui
e8547b027c use keyCode 2022-02-25 18:41:03 +00:00
Bui
ca9c602b67 search fixes 2022-02-25 18:29:56 +00:00
Bui
6c8b635c2a implement song search 2022-02-25 18:16:11 +00:00
Bui
73a95abf62
Merge pull request #414 from bui/plugin-fixes
Plugin fixes
2022-02-23 17:35:15 +00:00
KatieFrogs
bedcc1e5ef Plugin fixes
- Support returning a promise in the plugin load() function
- strReplace can now replace more than one occurence with a parameter, specify how many occurences are expected, with Infinity being as much as possible
- this.log() function now accepts multiple arguments
2022-02-23 20:31:52 +03:00
KatieFrogs
6ad78cc547 Expand the plugin tooltip area 2022-02-22 19:52:42 +03:00
Bui
deddba58ad add plugins to gitignore 2022-02-22 16:31:00 +00:00