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

feat: display list of retrived documents when clicking on the chip #1912

Merged
merged 4 commits into from
Oct 3, 2023

Conversation

fontanierh
Copy link
Contributor

@fontanierh fontanierh commented Oct 2, 2023

pending discussion here

Screenshot 2023-10-03 at 10 23 14

@spolu
Copy link
Contributor

spolu commented Oct 2, 2023

Can we try to align the results with the chip.
While you're there can you remove the X results when on mobile as it overflows if I remember correctly 🙏

@fontanierh
Copy link
Contributor Author

Can we try to align the results with the chip.

Will move to a grid layout @spolu 👍

@fontanierh
Copy link
Contributor Author

@spolu addressed the alignment

Regarding the mobile thing, this is what it looks like rn:
Screenshot 2023-10-03 at 10 25 29

Think it's ~OK ? Would you rather not have the # of retrieved docs on small screens ?

@fontanierh fontanierh requested a review from spolu October 3, 2023 08:27
@spolu
Copy link
Contributor

spolu commented Oct 3, 2023

Yes let’s remove on mobile as it’s non critical.

do we need an icon in the ship to show that it’s clickable?

spolu
spolu previously approved these changes Oct 3, 2023
<li key={i}>
<a
href={document.sourceUrl || ""}
className="front-bold text-element-800"
Copy link
Contributor

Choose a reason for hiding this comment

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

shouldn't it be text-xs to be aligned with the text size of the retrieval component?

@fontanierh
Copy link
Contributor Author

Killed on phone + added a chevron icon 👍

@fontanierh fontanierh merged commit 205e77c into main Oct 3, 2023
1 check passed
@fontanierh fontanierh deleted the enh/show-list-of-retrieved-docs branch October 3, 2023 10:42
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