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

Improve UI #7

Merged
merged 8 commits into from
Jul 24, 2024
Merged

Improve UI #7

merged 8 commits into from
Jul 24, 2024

Conversation

benmvp
Copy link
Owner

@benmvp benmvp commented Jul 22, 2024

Problem

The UI has been kind of clunky with how things are displayed and the fact that input loses focus

Solution

  • Improved the display by merging as much content together so that they are <p> tags instead of completely new <Markdown> components
  • Memoize the chat UI and input so that focus remains on the input after submissions
  • Pass Shein price to assistant so that it can make better pricing decisions
  • Request Best Buy product data for requested item IDs instead of relying on an already-populated cache
  • Add mock data for Best Buy
  • Improve system instructions

@benmvp benmvp merged commit 1ee8cb2 into main Jul 24, 2024
1 check passed
@benmvp benmvp deleted the improve-ui branch July 24, 2024 00:11
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.

1 participant