Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
5737b57
feat: initial commit of Algolia search integration
niallobrien Mar 26, 2026
ec5ff45
fix: enhance search functionality and improve search result handling
niallobrien Mar 27, 2026
c6c199c
fix: improve state management in Sidenav component
niallobrien Mar 27, 2026
ee0863d
fix: enhance search functionality by deduplicating merged search hits…
niallobrien Mar 30, 2026
b112b0d
fix: enhance QuickNav component with hash scrolling and improve searc…
niallobrien Mar 30, 2026
92eaa66
fix: enhance search functionality with improved decoding and anchor t…
niallobrien Mar 30, 2026
f18f80a
fix: enhance search functionality by improving page display title and…
niallobrien Mar 30, 2026
a02adb5
fix: refactor QuickNav component to use selector for content area and…
niallobrien Mar 30, 2026
2a2c9aa
fix: enhance search functionality with improved page display title ha…
niallobrien Mar 30, 2026
9c2d948
fix: add website breadcrumb segment to search results and enhance des…
niallobrien Mar 30, 2026
bd9a9ff
fix: enhance search results display by adding HTTP method tags
niallobrien Mar 31, 2026
3e21235
fix: improve alignment and centering for tag and search result method…
niallobrien Mar 31, 2026
611780a
fix: updated search feature with added types, and homepage adjustment…
niallobrien Mar 31, 2026
d35875d
fix: enhance search dialog and trigger with theme support
niallobrien Apr 1, 2026
f074812
fix: enhance Navbar layout and improve search dialog styling
niallobrien Apr 1, 2026
8ed6219
feat: add Footer component with styling and integrate into layout
niallobrien Apr 1, 2026
275a8a8
feat: enhance SearchDialog and SearchTrigger with compact variant sup…
niallobrien Apr 1, 2026
3a30c81
feat: improve Navbar and SearchDialog components with enhanced stylin…
niallobrien Apr 2, 2026
fc6f10d
feat: improve Navbar and Sidenav components with improved styling
niallobrien Apr 2, 2026
b144ad6
feat: enhance SearchDialog component with keyboard shortcut support a…
niallobrien Apr 2, 2026
fe793d6
fix: improve Navbar and Footer components with improved layout & mobi…
niallobrien Apr 2, 2026
3a1d00a
fix: improves types for Hero component buttons and resolves build issue
niallobrien Apr 2, 2026
bd2173d
fix: updates navbar height for tablet screens and cleans up homepage …
niallobrien Apr 2, 2026
409bf63
fix: update search test to check for undefined content property
niallobrien Apr 3, 2026
12d61c1
fix: remove development-only Algolia API key from environment configu…
niallobrien Apr 3, 2026
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
12 changes: 11 additions & 1 deletion .env
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,14 @@ NEXT_PUBLIC_CLOUDSMITH_API_URL="https://api.cloudsmith.io"
NEXT_PUBLIC_CLOUDSMITH_DOCS_URL="https://github.com/cloudsmith-io/cloudsmith-docs"
NEXT_PUBLIC_CLOUDSMITH_DOCS_BRANCH="main"
CLOUDSMITH_API_V1_URL="https://api.cloudsmith.io/swagger/?format=openapi"
CLOUDSMITH_API_V2_URL="https://api.cloudsmith.io/v2/openapi/?format=json"
CLOUDSMITH_API_V2_URL="https://api.cloudsmith.io/v2/openapi/?format=json"

NEXT_PUBLIC_ALGOLIA_APP_ID=
NEXT_PUBLIC_ALGOLIA_API_KEY=
NEXT_PUBLIC_ALGOLIA_DOCS_INDEX=Docs
NEXT_PUBLIC_ALGOLIA_INDEX=prod_WEBSITE
# NEXT_PUBLIC_ALGOLIA_INDEX=dev_WEBSITE

ALGOLIA_WRITE_KEY=
Comment on lines +7 to +13
Copy link

Copilot AI Apr 3, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A public Algolia API key is committed in this tracked .env file (and it’s a NEXT_PUBLIC_* value, so it will be exposed to the browser). Even if restricted, committing keys in-repo increases the risk of accidental reuse/privilege expansion and makes rotation harder. Remove the key from version control (e.g., move to developer-local env files and provide a .env.example with placeholders) and rotate the exposed key.

Copilot uses AI. Check for mistakes.
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a dev-only key. Will remove to be safe I guess.

NEXT_PUBLIC_DOCS_SITE_ORIGIN=https://docs.cloudsmith.com
NEXT_PUBLIC_MARKETING_SITE_ORIGIN=https://cloudsmith.com
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,6 @@ npm-debug.log*
*.tsbuildinfo
next-env.d.ts

docs/graph.html
docs/graph.html

.history
Loading