-
-
Notifications
You must be signed in to change notification settings - Fork 6.4k
feat(orama): use new UI components #7971
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
base: main
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you so much!
I've left some comments, and I am here to help you implement anything you need help with, just ping me :-).
Co-authored-by: Aviv Keller <me@aviv.sh> Signed-off-by: Aileen Villanueva Lecuona <aileenvl@gmail.com>
Co-authored-by: Aviv Keller <me@aviv.sh> Signed-off-by: Aileen Villanueva Lecuona <aileenvl@gmail.com>
Co-authored-by: Aviv Keller <me@aviv.sh> Signed-off-by: Aileen Villanueva Lecuona <aileenvl@gmail.com>
Co-authored-by: Aviv Keller <me@aviv.sh> Signed-off-by: Aileen Villanueva Lecuona <aileenvl@gmail.com>
Co-authored-by: Aviv Keller <me@aviv.sh> Signed-off-by: Aileen Villanueva Lecuona <aileenvl@gmail.com>
Note Your Pull Request seems to be updating Translations of the Node.js Website. Whilst we appreciate your intent; Any Translation update should be done through our Crowdin Project. Thank you! |
Codecov ReportAll modified and coverable lines are covered by tests ✅
✅ All tests successful. No failed tests found. Additional details and impacted files@@ Coverage Diff @@
## main #7971 +/- ##
==========================================
- Coverage 73.73% 73.13% -0.60%
==========================================
Files 96 95 -1
Lines 8365 8354 -11
Branches 219 218 -1
==========================================
- Hits 6168 6110 -58
- Misses 2196 2243 +47
Partials 1 1 ☔ View full report in Codecov by Sentry. |
Don't worry about the Playwright failures right now. Once this is ready for review, I'll push a commit updating the tests/component to interact with each other. |
const collectionManager = new CollectionManager({ | ||
authJwtURL: 'https://staging.app.orama.com/api/user/jwt', | ||
collectionID: '85f541b3-b691-4d3e-9874-e7b3b4630adb', | ||
apiKey: 'p_JMpbuY216Pv0WCQFGijQLXwVIJzrf1dy55i3eCbNJDP', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a test private API key. Remember to put that in a secret before merging.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@micheleriva does it use process.env keys? If so, can we reuse the ones from env variables we're already using?

We have these on Vercel.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can use these env variables, but we'll have to provide different keys right before we merge
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm fine with maybe slightly different keys then to prevent disruption. can we suffix all with _NEW
ie: NEXT_PUBLIC_ORAMA_ENDPOINT_NEW
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not duplicate the current ones to _OLD
, change the env variables on main
, and then put the new ones as the original variables?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Open an issue then and ask @nodejs/web-infra to take care of it 🙇
<Skeleton className={styles.searchButtonSkeleton} loading={true} /> | ||
), | ||
}); | ||
const SearchButton = dynamic( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we still need it to be a dynamic component? At the very elast can we flip ssr
to true
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since the new components has "use client" and assuming the components are compatible, we probably don't need the dynamic at all no?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@avivkeller shouldn't this SearchBox component be on the ui-components, or?
Description
Validation
Related Issues
Check List
pnpm format
to ensure the code follows the style guide.pnpm test
to check if all tests are passing.pnpm build
to check if the website builds without errors.