1
0
mirror of synced 2026-01-03 15:05:54 -05:00
Commit Graph

17415 Commits

Author SHA1 Message Date
Peter Bengtsson
5d080b74e0 Search with and on title first and favor that more (#22730)
* search improvements

* expose search result score on debug=1 qs (#22452)

* Search index improvements (#22428)

* concatenate headings for search ranking (#22445)

* search index improvements

* update index

* add data-search property used to create search records

* direct match title and normalize results to one per article

* the search index is getting huge

* add chinese lang, intro, and boost

* create a article level record with no heading for each article

* remove chinese language and exact match, boost breadcrumbs

* break out debug mode into separate branch

* break adding chinese out into another branch

* one record per article remove limits

* revert added spaces

* revert adding property on article page

* concatenate headings for search ranking

* remove slug property, fix test

* update record format in tests

* revert adding this property back

* scrape article-body not contents

* adding heading property to tests

* add headings to content property

* Update script/search/parse-page-sections-into-records.js

Co-authored-by: Peter Bengtsson <peterbe@github.com>

* Update script/search/parse-page-sections-into-records.js

Co-authored-by: Peter Bengtsson <peterbe@github.com>

Co-authored-by: Peter Bengtsson <peterbe@github.com>

* search by popularity (#22496)

* search by popularity

* adjust factors based on length of query and normalize Lunr score

* Apply suggestions from code review

Co-authored-by: Rachael Sewell <rachmari@github.com>

Co-authored-by: Rachael Sewell <rachmari@github.com>

* turn html into text with appropriate spaces (#22528)

* turn HTML into text with appropriate spaces

Part of #1141

* fix unit test

* improve tests

* small refactor

* slice the search results .content (#22514)

* search by popularity

* adjust factors based on length of query and normalize Lunr score

* slice the search result .content

Part of #1142

* Update lib/search/lunr-search.js

Co-authored-by: Rachael Sewell <rachmari@github.com>

Co-authored-by: Rachael Sewell <rachmari@github.com>

* truncate translated search index records (#22475)

* truncate translated search index records

* page entire page object

* revert search indexes

* try reverting search indexes again...

* out of sync with main in parent branch so reverting last commit again

* rever deleted indexes

* remove debug lines

* correct package-lock.json

* slice content string better (#22586)

Part of #1149

* include home pages in the search (#22568)

* Search remove hyphen as token (#22584)

* slice better when not present in content (#22672)

* fix missing search breadcrumbs (#22681)

* fix missing search breadcrumbs

* hopefully fix tests

Co-authored-by: Peter Bengtsson <mail@peterbe.com>

* Highlight based on combined matchData (#22692)

* highlight based on combined matchData

* refactoring

* remove results when lang or version changes (#22697)

* search with AND on title first and favor that more

* commented out code

* Update lib/search/lunr-search.js

* only apply the wildcard to the title search if the last word is short

Co-authored-by: Rachael Sewell <rachmari@github.com>
2021-11-16 20:22:09 +00:00
Octomerger Bot
c43e4c3a70 Merge pull request #22870 from github/repo-sync
repo sync
2021-11-16 14:59:14 -05:00
Octomerger Bot
901d86bfe8 Merge branch 'main' into repo-sync 2021-11-16 14:51:12 -05:00
Peter Bengtsson
b1bbafef70 use a smart got() retry in failbot (#22867)
Part of #1225
2021-11-16 19:46:20 +00:00
Ramya Parimi
c593a0f4b8 Merge pull request #11195 from taku333/change-block-usersetting
Change block usersetting
2021-11-16 13:39:51 -06:00
Octomerger Bot
9036031f85 Merge pull request #22868 from github/repo-sync
repo sync
2021-11-16 14:32:46 -05:00
Ramya Parimi
2d6a705d11 Merge branch 'main' into change-block-usersetting 2021-11-16 13:30:59 -06:00
Octomerger Bot
8222c25260 Merge pull request #12061 from github/repo-sync
repo sync
2021-11-16 14:30:23 -05:00
Ramya Parimi
e25be3e42b Merge branch 'main' into change-block-usersetting 2021-11-16 13:29:44 -06:00
Octomerger Bot
b163c2b6f3 Merge branch 'main' into repo-sync 2021-11-16 14:22:29 -05:00
Octomerger Bot
a7d99df239 Merge branch 'main' into repo-sync 2021-11-16 14:19:57 -05:00
Juan Mrad
7a11ccc229 Create new guide for use of collapsed sections (#22517) 2021-11-16 19:18:21 +00:00
Kevin Heis
329a8c664e Create a shared picker component (#22836)
* Unified picker component

* Add picker to storybook

* TS fixes

* Simplify "mobile" header spacing

* Fix a few testid

* Update Picker.tsx

* Update Picker.tsx

* Update Picker.tsx

* Fix unit test

* Fix rendering tests
2021-11-16 19:10:28 +00:00
Peter Bengtsson
07a5edd2ab rewrite search state from useRouter (take 2) (#22833)
* rewrite search state from useRouter (take 2)

* fix the problem with isHeaderSearch

* cleaning ups

* updating mobile search results ui (#22841)

* remove useCallback

Co-authored-by: Grace Park <gracepark@github.com>
2021-11-16 18:55:48 +00:00
Octomerger Bot
946448f56b Merge pull request #22866 from github/repo-sync
repo sync
2021-11-16 13:32:47 -05:00
Octomerger Bot
3d87d03704 Merge pull request #12060 from github/repo-sync
repo sync
2021-11-16 13:30:14 -05:00
Octomerger Bot
00fba389bd Merge branch 'main' into repo-sync 2021-11-16 13:22:15 -05:00
Octomerger Bot
6d87fa51d1 Merge branch 'main' into repo-sync 2021-11-16 13:20:08 -05:00
GitHub Actions
f43957f6ea update search indexes 2021-11-16 18:02:02 +00:00
Matt Cooper
7fbff896aa note that repo cache is in beta (#22859) 2021-11-16 17:56:38 +00:00
Rachael Sewell
4cab1e7bc9 stop gap for open redirect (#22839) 2021-11-16 17:48:12 +00:00
Octomerger Bot
1b74f300e0 Merge pull request #22865 from github/repo-sync
repo sync
2021-11-16 12:37:30 -05:00
Octomerger Bot
c597cebd8c Merge pull request #12059 from github/repo-sync
repo sync
2021-11-16 12:29:41 -05:00
Octomerger Bot
e8be793be3 Merge branch 'main' into repo-sync 2021-11-16 12:24:29 -05:00
Octomerger Bot
f0fde8c6e7 Merge pull request #22862 from github/repo-sync
repo sync
2021-11-16 12:05:03 -05:00
Octomerger Bot
b87a596833 Merge pull request #12058 from github/repo-sync
repo sync
2021-11-16 12:02:34 -05:00
Ethan Palm
19b1ae0cd0 Merge branch 'main' into change-block-usersetting 2021-11-16 08:59:53 -08:00
Octomerger Bot
daab8fc927 Branch was updated using the 'autoupdate branch' Actions workflow. 2021-11-16 11:57:01 -05:00
Octomerger Bot
6d05819336 GraphQL schema update 2021-11-16 11:56:39 -05:00
Octomerger Bot
ddae8d17fb Merge branch 'main' into repo-sync 2021-11-16 11:55:04 -05:00
Octomerger Bot
164fde0806 Merge branch 'main' into repo-sync 2021-11-16 11:52:42 -05:00
Octomerger Bot
1066e91d05 Branch was updated using the 'autoupdate branch' Actions workflow. 2021-11-16 11:49:04 -05:00
Peter Bengtsson
ed53e2dd77 use @github/failbot with got (#22842)
* use @github/failbot

Part of #1222

* tests are not working yet

* fix unit tests

* cleanup
2021-11-16 16:48:40 +00:00
rachmari
0afe1a6bf7 Action ran graphql script"update-files" 2021-11-16 16:39:27 +00:00
Sarita Iyer
2e4ec2c684 Merge pull request #22762 from github/billing-landing-page
Add landing page for Billing and payments
2021-11-16 11:38:49 -05:00
Octomerger Bot
58dcbeb644 Merge pull request #12056 from github/repo-sync
repo sync
2021-11-16 11:38:24 -05:00
Octomerger Bot
25a5ed1137 Merge pull request #22860 from github/repo-sync
repo sync
2021-11-16 11:36:54 -05:00
Octomerger Bot
afc0ab171e Merge branch 'main' into repo-sync 2021-11-16 11:29:33 -05:00
Octomerger Bot
f63276c7ae Merge branch 'main' into repo-sync 2021-11-16 11:29:15 -05:00
Sarita Iyer
947982ff00 Merge branch 'main' into billing-landing-page 2021-11-16 11:21:41 -05:00
Steve-Glass
607bf4d050 Removed beta label from Windows Server 2022 (#22438)
* Remove beta label
2021-11-16 15:57:17 +00:00
Sarita Iyer
01108dd2e7 Merge branch 'main' into billing-landing-page 2021-11-16 10:21:13 -05:00
Octomerger Bot
a9c5ac77a5 Merge pull request #22858 from github/repo-sync
repo sync
2021-11-16 10:08:06 -05:00
Octomerger Bot
0b65f5ec1d Merge pull request #12051 from github/repo-sync
repo sync
2021-11-16 10:04:34 -05:00
Octomerger Bot
b4c5a60003 Merge branch 'main' into repo-sync 2021-11-16 09:59:58 -05:00
Sarita Iyer
b38104e926 Merge branch 'main' into billing-landing-page 2021-11-16 09:57:48 -05:00
Octomerger Bot
435b255220 Merge branch 'main' into repo-sync 2021-11-16 09:55:44 -05:00
Octomerger Bot
d825cee25c Merge pull request #12049 from github/repo-sync
repo sync
2021-11-16 09:34:01 -05:00
Octomerger Bot
a0eeb7f963 Merge branch 'main' into repo-sync 2021-11-16 09:25:27 -05:00
Sarita Iyer
e221b45f54 Merge pull request #22583 from github/accessibility-keyboard-shortcuts
[November 15] New setting to disable/enable character key shortcuts in new accessibility settings
2021-11-16 09:23:34 -05:00