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

Sitecore search #450

Merged
merged 66 commits into from
May 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
66 commits
Select commit Hold shift + click to select a range
c37c49d
Setup main search results listing with Sitecore Search
robearlam Mar 14, 2023
97f3b15
Merged main
robearlam Mar 15, 2023
2f754c8
Changed search to cause page redirect temporarily
robearlam Mar 15, 2023
9b7b0de
Added search loader, query summary, and sorting controls
robearlam Mar 15, 2023
7855077
Fixed linting error in QuerySummary
robearlam Mar 15, 2023
122131b
Fixed linting issue with SearchResults control
robearlam Mar 15, 2023
b2e2bab
Added facets out, fixed issue with sort output
robearlam Mar 15, 2023
35912d8
Implemented Basic Paging
robearlam Mar 15, 2023
d42bed1
Pagination fix for search results
robearlam Mar 15, 2023
a78e50c
Search Results Styling
robearlam Mar 15, 2023
9219e40
Added document type to search results
robearlam Mar 15, 2023
0ba469b
Changed search to router push, added powered by message
robearlam Mar 21, 2023
15f01ef
Updated router to reload of search term change
robearlam Mar 21, 2023
9057456
Merge branch 'main' into sitecore-search
robearlam Mar 22, 2023
b05a9fa
Change search sort to use UI library elements
robearlam Mar 22, 2023
e789cfe
Updated logic for search Sorting
robearlam Mar 22, 2023
cc42f3b
Fixed logic for search sorting
robearlam Mar 24, 2023
8eb1bd2
Updated search pagintation
robearlam Mar 24, 2023
4d7bd6d
Split search sort into component
robearlam Mar 24, 2023
18f8bf4
Wired up facets for search
robearlam Mar 27, 2023
a64f157
Added default image for search results
robearlam Mar 27, 2023
9e4f9fb
Restructured search components
robearlam Mar 27, 2023
8f7de4b
Added checkbox to search facets
robearlam Mar 27, 2023
9fc8e13
first stab of styling
markvanaalst Mar 28, 2023
0335b76
style improvements
markvanaalst Mar 29, 2023
ee58eec
Fixed issue with large number of pages, updated site name in search r…
robearlam Mar 30, 2023
58f2b0d
Fixed hard coded value in search pagination control
robearlam Mar 30, 2023
5283775
Fixed lightmode/darkmode issue with search input logo
robearlam Mar 31, 2023
60eab02
Fixed darkmode styling of URL on search results page
robearlam Mar 31, 2023
ef2377d
Fixed error with facet tick disappearing in dark mode
robearlam Mar 31, 2023
4dcb825
Added new render mode for search pagination control
robearlam Mar 31, 2023
cb3a711
Merge branch 'main' into sitecore-search
robearlam Apr 5, 2023
c63d980
latest design improvements
markvanaalst Apr 11, 2023
373fed5
remove componen web project
markvanaalst Apr 11, 2023
b3ea617
regenerate package-lock.json
markvanaalst Apr 11, 2023
0ee779e
Fixes invalid selected facet value state
InakiAbete-Reflektion Apr 20, 2023
273d32e
Merge pull request #426 from InakiAbete-Reflektion/fix/facets-state
robearlam Apr 20, 2023
c43e6f4
Migrated to use public Search NPM feed
robearlam Apr 21, 2023
83e84d1
Merge branch 'sitecore-search' of github.com:Sitecore/developer-porta…
robearlam Apr 21, 2023
6ee2b1b
Changed default search sort order to Suggested
robearlam Apr 21, 2023
d46c9b7
Added keyphrase highlighting to SearchResults
robearlam Apr 21, 2023
b231be0
merging in main
robearlam Apr 21, 2023
0f852f8
Updated search env vars to no longer reference Discover
robearlam Apr 21, 2023
76caa19
Removed TS rule esception for search facets
robearlam Apr 23, 2023
6a32ed5
Removed Coveo from solution
robearlam Apr 23, 2023
a164825
Stubbed out PreviewSearch
robearlam Apr 24, 2023
e66c873
Updated styling for PreviewSearch
robearlam Apr 24, 2023
1a509b4
styling attempt preview search
markvanaalst Apr 24, 2023
e4f84f7
added border and padding
markvanaalst Apr 24, 2023
b873aed
Upgraded to latest version of Sitecore Search SDK
robearlam Apr 26, 2023
cee8580
Reverted previous bump to Search SDK version
robearlam Apr 26, 2023
6f3a78b
Updated to latest Search SDK version, added type fixes to preview search
robearlam Apr 26, 2023
8dc656d
Merged in main
robearlam May 3, 2023
013ffb7
Changed search page back to SSR to fix merge issue from main
robearlam May 5, 2023
cbcb2c4
Added action for PreviewSearch to open links in new tab
robearlam May 5, 2023
e167743
Upgraded to latest Search SDK, added hook for pageview events
robearlam May 11, 2023
9b9ecd5
Merged main
robearlam May 11, 2023
f2ad512
Search input remembers query entered
robearlam May 12, 2023
cce728c
Fixed styling for search results without suggestions
robearlam May 12, 2023
eb6849e
Fixed build error with rendering of PreviewSearch
robearlam May 12, 2023
8c83bef
Fixed styling for Search <loader />
robearlam May 12, 2023
490697d
Merge branch 'main' into sitecore-search
robearlam May 12, 2023
4b29df2
Added NoResults message, ensure search term in URL encoded
robearlam May 15, 2023
a8b33d7
Fixed Search Results pagination issue
robearlam May 15, 2023
50b6e4b
Ensured correct pagination is listed
robearlam May 15, 2023
03e2989
Updated pagination UX for search results
robearlam May 15, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@ _Note: The site will still function without the above keys. The components that
To enable search the following environment variables are required:

```
NEXT_PUBLIC_COVEO_ACCESS_TOKEN=
NEXT_PUBLIC_COVEO_ORGANIZATION_ID=
NEXT_PUBLIC_COVEO_PIPELINE=
NEXT_PUBLIC_COVEO_SEARCH_HUB=
NEXT_PUBLIC_SEARCH_APP_API_KEY=
NEXT_PUBLIC_SEARCH_APP_CUSTOMER_KEY=
NEXT_PUBLIC_SEARCH_APP_ENV=
NEXT_PUBLIC_SEARCH_ENABLE_PREVIEW_SEARCH=
```

_Note: The site will still function if the keys are missing or left blank. However these keys are still required to build the application_
Expand All @@ -81,10 +81,10 @@ NEXT_PUBLIC_GTM_ID=
NEXT_PUBLIC_GTM_AUTH=
NEXT_PUBLIC_GTM_ENVIRONMENT=

NEXT_PUBLIC_COVEO_ACCESS_TOKEN=
NEXT_PUBLIC_COVEO_ORGANIZATION_ID=
NEXT_PUBLIC_COVEO_PIPELINE=
NEXT_PUBLIC_COVEO_SEARCH_HUB=
NEXT_PUBLIC_SEARCH_APP_API_KEY=
NEXT_PUBLIC_SEARCH_APP_CUSTOMER_KEY=
NEXT_PUBLIC_SEARCH_APP_ENV=
NEXT_PUBLIC_SEARCH_ENABLE_PREVIEW_SEARCH=
```

(For more information on populating environment variables see section **Environment Variables** above.)
Expand Down
8 changes: 4 additions & 4 deletions apps/devportal/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ NEXT_PUBLIC_GTM_ID=
NEXT_PUBLIC_GTM_AUTH=
NEXT_PUBLIC_GTM_ENVIRONMENT=

NEXT_PUBLIC_COVEO_ACCESS_TOKEN=
NEXT_PUBLIC_COVEO_ORGANIZATION_ID=
NEXT_PUBLIC_COVEO_PIPELINE=
NEXT_PUBLIC_COVEO_SEARCH_HUB=
NEXT_PUBLIC_SEARCH_APP_API_KEY=
NEXT_PUBLIC_SEARCH_APP_CUSTOMER_KEY=
NEXT_PUBLIC_SEARCH_APP_ENV=
NEXT_PUBLIC_SEARCH_ENABLE_PREVIEW_SEARCH=

ANALYZE=

Expand Down
20 changes: 0 additions & 20 deletions apps/devportal/.github/issue_template/feature_request.md

This file was deleted.

36 changes: 0 additions & 36 deletions apps/devportal/.github/issue_template/issue_report.md

This file was deleted.

33 changes: 0 additions & 33 deletions apps/devportal/.github/pull_request_template.md

This file was deleted.

57 changes: 0 additions & 57 deletions apps/devportal/.github/workflows/deploy.yml

This file was deleted.

28 changes: 0 additions & 28 deletions apps/devportal/.github/workflows/stale.yml

This file was deleted.

8 changes: 4 additions & 4 deletions apps/devportal/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@ GTM_ID=
GTM_AUTH=
GTM_ENVIRONMENT=

COVEO_ACCESS_TOKEN=
COVEO_ORGANIZATION_ID=
COVEO_PIPELINE=
COVEO_SEARCH_HUB=
NEXT_PUBLIC_SEARCH_APP_API_KEY=
NEXT_PUBLIC_SEARCH_APP_CUSTOMER_KEY=
NEXT_PUBLIC_SEARCH_APP_ENV=
NEXT_PUBLIC_SEARCH_ENABLE_PREVIEW_SEARCH=
```

(For more information on populating environment variables see section **Environment Variables** above.)
Expand Down
18 changes: 13 additions & 5 deletions apps/devportal/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,22 @@ const nextConfig = {
GTM_ID: process.env.NEXT_PUBLIC_GTM_ID,
GTM_AUTH: process.env.NEXT_PUBLIC_GTM_AUTH,
GTM_ENVIRONMENT: process.env.NEXT_PUBLIC_GTM_ENVIRONMENT,
COVEO_ACCESS_TOKEN: process.env.NEXT_PUBLIC_COVEO_ACCESS_TOKEN,
COVEO_ORGANIZATION_ID: process.env.NEXT_PUBLIC_COVEO_ORGANIZATION_ID,
COVEO_PIPELINE: process.env.NEXT_PUBLIC_COVEO_PIPELINE,
COVEO_SEARCH_HUB: process.env.NEXT_PUBLIC_COVEO_SEARCH_HUB,
},
images: {
dangerouslyAllowSVG: true,
domains: ['sitecorecdn.azureedge.net', 'i.ytimg.com', 'mss-p-006-delivery.sitecorecontenthub.cloud', 'mss-p-006-delivery.stylelabs.cloud', 'go.sitecore.com', 'sitecorecontenthub.stylelabs.cloud', 'mms-delivery.sitecorecloud.io'],
domains: [
'sitecorecdn.azureedge.net',
'i.ytimg.com',
'mss-p-006-delivery.sitecorecontenthub.cloud',
'mss-p-006-delivery.stylelabs.cloud',
'go.sitecore.com',
'sitecorecontenthub.stylelabs.cloud',
'mms-delivery.sitecorecloud.io',
'wwwsitecorecom.azureedge.net',
'www.gitbook.com',
'theme.zdassets.com',
'opengraph.githubassets.com',
],
deviceSizes: [640, 750, 828, 1080, 1200, 1920],
minimumCacheTTL: 60,
},
Expand Down
Loading