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

UI requests #20

Merged
merged 5 commits into from
Jul 31, 2024
Merged

UI requests #20

merged 5 commits into from
Jul 31, 2024

Conversation

Copy link

vercel bot commented Jul 31, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
orama-ui-components-storybook ❌ Failed (Inspect) Jul 31, 2024 1:21pm

@@ -50,18 +50,21 @@ export class ChatService {
}

// TODO: WE may want to reveive ask props as a Service prop instead of enforcing it here
return this.answerSession.ask({ term: term, related: { howMany: 3, format: 'question' } }).catch((error) => {
chatContext.interactions = chatContext.interactions.map((interaction, index) => {
Copy link
Contributor

Choose a reason for hiding this comment

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

@rjborba not sure about this deletion here

placeholder={this.placeholder}
sourceBaseUrl={this.sourceBaseUrl}
sourcesMap={this.sourcesMap}
style={{ minHeight: '400px' }}
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this to address the request about having the answers/clear chat fixed on top? If so, I'm trying a different solution (I explained on Figma). If it works, it should be safer for general component purposes.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This thing was a mistake hahaha
I just added to test the behavior of the container without needing to make questions.

I should remove it :D

@rjborba rjborba merged commit 115a568 into main Jul 31, 2024
1 of 3 checks passed
@g-francesca g-francesca deleted the uiRequests branch August 1, 2024 08:56
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.

2 participants