Skip to content

Conversation

@8bittitan
Copy link
Contributor

@8bittitan 8bittitan commented Oct 3, 2025

Summary

• Improves modal responsiveness by introducing dynamic viewport height for the dropdown container while maintaining the existing max-height constraint
• Fixes issue where starting a new conversation wasn't properly clearing previous messages by moving the message clearing logic to the question selection handler
• Refines typography and spacing across the Ask AI interface for better readability (adjusted font sizes, line heights, and margins)
• Fixes HTML entity encoding in collection titles by properly decoding them before display

Previews

ask_ai_conversation_screen short_sceen_size lvl0_title_decoded

@netlify
Copy link

netlify bot commented Oct 3, 2025

Deploy Preview for docsearch ready!

Name Link
🔨 Latest commit 2e9d748
🔍 Latest deploy log https://app.netlify.com/projects/docsearch/deploys/68e3c9fc05248c000872ebcc
😎 Deploy Preview https://deploy-preview-2780--docsearch.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@dylantientcheu
Copy link
Contributor

should fix this: #2173

@8bittitan 8bittitan merged commit a3ab7a8 into main Oct 6, 2025
11 checks passed
@8bittitan 8bittitan deleted the feat/modal-ui-ux-fixes branch October 6, 2025 14:08
export function Results<TItem extends StoredDocSearchHit>(props: ResultsProps<TItem>): JSX.Element | null {
// The collection title, decoded to handle encoded HTML entities
const decodedTitle = React.useMemo(() => {
return props.title
Copy link
Contributor

Choose a reason for hiding this comment

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

Hi @8bittitan , we have a Docusaurus user (@martindekov) reporting an error on this line due to props.title being undefined

CleanShot 2026-01-21 at 16 43 40

Website: https://docs.harvesterhci.io/
Source: https://github.com/harvester/docs
Reported here: facebook/docusaurus#11664 (reply in thread)

I don't know if an undefined title is expected (maybe an index/crawler misconfig?), but their site worked before the upgrade, so maybe it's worth adding optional chaining or something to be safe?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants