-
Notifications
You must be signed in to change notification settings - Fork 81
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 for workspaces + internal fixes #193
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
temporarily rename the CH table to old_evaluation_results
query table evaluation_results with timestamp
update evaluation table schema
* fix some migrations
* Migrate get evaluations query to Drizzle on API Frontend * Change code to follow some feedbacks * add with query get evaluation result * delete some unused code * refac: move calling db to page file from api route * delete unuse code on auth checking --------- Co-authored-by: Vidya Haikal <vidya.haikal@hukumonline.com> Co-authored-by: Dinmukhamed Mailibay <47117969+dinmukhamedm@users.noreply.github.com>
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.
👍 Looks good to me! Reviewed everything up to ee7dee6 in 59 seconds
More details
- Looked at
931
lines of code in22
files - Skipped
0
files when reviewing. - Skipped posting
3
drafted comments based on config settings.
1. app-server/src/routes/evaluations.rs:96
- Draft comment:
Usingunwrap()
aftertry_join!
is unnecessary and can lead to panics if the result is an error. Consider using pattern matching to handle the result more gracefully. - Reason this comment was not posted:
Comment was on unchanged code.
2. frontend/app/api/projects/[projectId]/evaluations/[evaluationId]/route.ts:28
- Draft comment:
Ensure thatjsonb_object_agg
is supported by the database being used, as it is a PostgreSQL-specific function. If not, consider replacing it with an equivalent function. - Reason this comment was not posted:
Comment did not seem useful.
3. frontend/app/project/[projectId]/evaluations/[evaluationId]/page.tsx:57
- Draft comment:
Ensure thatjsonb_object_agg
is supported by the database being used, as it is a PostgreSQL-specific function. If not, consider replacing it with an equivalent function. - Reason this comment was not posted:
Marked as duplicate.
Workflow ID: wflow_igaKF9YjIgEZA4er
You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet
mode, and more.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Important
Improved workspace UI, added timestamps to evaluation scores, and migrated evaluation queries to Drizzle with database schema updates.
workspace/page.tsx
,projects.tsx
, andworkspaces-navbar.tsx
.project-card.tsx
for better project display.button.tsx
.evaluation_scores
inevaluation_scores.rs
and001000-initial.sql
.get_evaluation_datapoint
fromevaluations.rs
andmain.rs
.route.ts
andpage.tsx
.evaluation_scores
table schema in001000-initial.sql
.0004_worthless_kitty_pryde.sql
.0002_snapshot.json
and0003_snapshot.json
.This description was created by for ee7dee6. It will automatically update as commits are pushed.