-
Notifications
You must be signed in to change notification settings - Fork 21
[PROD] - AI Workflows MVP #1343
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
Open
kkartunov
wants to merge
185
commits into
master
Choose a base branch
from
dev
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 174 commits
Commits
Show all changes
185 commits
Select commit
Hold shift + click to select a range
419163e
PM-2133 - dismissable banner
vas3a 6f9bb56
update pr reviewer
vas3a 1fc2ecd
lint fixes
vas3a 7b7d7b7
PM-2133 - update desktop styles
vas3a a6d033a
PM-2133 - PR feedback
vas3a 53baf43
update workflow
vas3a 8f36483
test buddy v2
vas3a b9fe4ff
use only pr buddy v2
vas3a ca1e432
typo fix
vas3a 52a803c
Merge pull request #1265 from topcoder-platform/PM-2133_dismissable-b…
vas3a c819bdf
Merge branch 'feat/v6' of github.com:topcoder-platform/platform-ui in…
vas3a f448252
deploy to dev
vas3a 1365c0e
PM-1904 - show AI icon when AI review is assigned to challenge
vas3a 6c92684
PM-1904 - show AI icon banner
vas3a 9aef27f
lint fix
vas3a fc857e8
PM-1904 - fix typo & fix effect dependency
vas3a 6b054cf
Merge pull request #1267 from topcoder-platform/PM-1904_active-challe…
vas3a 5f34220
Merge branch 'dev' of github.com:topcoder-platform/platform-ui into f…
vas3a c624467
PM-1905 - ai reviews
vas3a b4f607e
PM-1905 - mobile view
vas3a 67cd8cc
PM-1905 - render virus scan as part of ai reviews
vas3a 4f63f3b
lint fixes
vas3a 9c25b0c
pr feedback
vas3a ec25968
Simplify routing system for review app
vas3a 6abe321
PM-2136 - ai workflow runs sidebar switcher
vas3a 5dbb05d
PM-2136 - AI workflows sidebar - mobile view
vas3a 83019ed
PM-2136 - hide close button on desktop
vas3a 38e15cd
lint fixes
vas3a 5060ce1
Merge pull request #1277 from topcoder-platform/PM-1905_review-detail…
kkartunov 9a77c85
Hide title for review flow name; make first submission row toggled by…
vas3a ff9432d
Merge branch 'dev' of github.com:topcoder-platform/platform-ui into f…
vas3a 3f5ee69
Merge branch 'PM-2136_aiworkflow-sidebar-nav' into feat/ai-workflows
vas3a 0b46c0f
fix lint
vas3a 386af7d
PM-2135 - AI Workflows - scorecard header
vas3a 6251eae
PM-2135 - mobile ui
vas3a e1dc7fd
PM-2135 - fallback for ai model icon
vas3a e4fd2df
Merge pull request #1295 from topcoder-platform/PM-2135_aiworkflow-sc…
vas3a 6916164
add llm icons
kkartunov 8de38c5
Merge pull request #1296 from topcoder-platform/llm-icons
kkartunov aa97f02
PM-1906 - AI workflow - ai review scorecard UI
vas3a e35179f
lint fixes
vas3a be10e19
PM-1906 - mobile ui
vas3a 2b428d0
PM-1906 - tabs
vas3a cf5bb7a
Lint fixes
vas3a 65bcad6
feat: added ai workflow list component to create or update default re…
hentrymartin 9a11080
Merge pull request #1297 from topcoder-platform/PM-1906_ai-scorecard-…
kkartunov 5eee5b1
PM-2178_merge-review-ui-with-ai-review
vas3a 08142e9
PM-2178 - move form control to ctx
vas3a ffb901b
more refactoring
vas3a d638eb6
fix: removed usage of isAIReviewer
hentrymartin 7d03832
fix: lint and save ai workflow id
hentrymartin e33c043
PM-2178 - more work for merge review ui
vas3a 621d909
PM-2178 - refactor routes to /reviews
vas3a e0a9add
PM-2178 - fix score calculations
vas3a f835cd0
remove ai-scorcards pages
vas3a 50b3167
Merge branch 'dev' of github.com:topcoder-platform/platform-ui into f…
vas3a 0f02920
Merge pull request #1294 from topcoder-platform/feat/ai-workflows
vas3a 57fcb0d
PM-2178 - Update routing & fix validation
vas3a cd87b3c
PM-2178 - lint & score and status fixes
vas3a bd8ca09
Merge branch 'dev' into pm-2540
hentrymartin 25c4c5e
PM-2178 - review, appeal, appeal response, manager comments
vas3a 15df3f9
fix: hide unnecessary fields for ai default review
hentrymartin dd39707
fix: default challenge reviewer form
hentrymartin d8cbcbb
fix: default challenge reviewer form
hentrymartin e1d150c
Merge pull request #1305 from topcoder-platform/PS-446
jmgasper 8b2776d
Merge pull request #1306 from topcoder-platform/dev
jmgasper 1359f92
Much better marathon match submission management
jmgasper 1801b8d
Merge pull request #1308 from topcoder-platform/feat/v6
jmgasper a107ed7
Merge pull request #1304 from topcoder-platform/pm-2540
kkartunov e772539
lint fixes
vas3a 9a6a47e
Merge branch 'dev' of github.com:topcoder-platform/platform-ui into P…
vas3a 274048e
Fix typo & fix behavior on score click
vas3a 5213a02
update scorecard confirmation text
vas3a 29a5140
fix: default reviewer schema validation
hentrymartin 00a8aac
Have admin access be priority over resource role on challenge, and fi…
jmgasper 65b67b1
Merge pull request #1311 from topcoder-platform/feat/v6
jmgasper c159b30
Merge pull request #1309 from topcoder-platform/PM-2178_merge-review-ui
vas3a 0c62a26
fix: lint
hentrymartin 1bcb555
Merge pull request #1310 from topcoder-platform/pm-2540_1
hentrymartin d05abaa
Various QA Fixes for ai workflwos
vas3a 3c3146b
lint fixes
vas3a 3186929
fix score
vas3a cc781f3
noopener
vas3a 6b294b9
Merge pull request #1312 from topcoder-platform/qa-ai-workflows
vas3a 0876ac4
Use updated tc-auth-lib
jmgasper a59a0c9
Merge pull request #1313 from topcoder-platform/auth0_fix
jmgasper e4b1ea7
new scales with 0
kkartunov 4c30a9a
lint fixes
kkartunov 85db582
Merge pull request #1314 from topcoder-platform/update-scorecard-scales
kkartunov 165e193
Scorecards attachments ui
himaniraghav3 f93357a
Merge branch 'dev' into PM-2179
himaniraghav3 2d9be6f
Fix updated context
himaniraghav3 9b29f7d
PM-2179 update logic
himaniraghav3 6eb0aa6
Add screen height
himaniraghav3 0223926
Merge pull request #1317 from topcoder-platform/system-admin-fixes
jmgasper e4be6d9
Add mobile view, fix issues from PR feedback
himaniraghav3 072f6fb
Fixes to ai scorcard viewer
vas3a 38733b6
Merge pull request #1318 from topcoder-platform/fixes-to-ai-review-sc…
vas3a e8770f8
Scorecard review header
vas3a bd60442
lint fixes
vas3a 0f87d34
Correctly fetch reviewer resource for scorecard
vas3a 94d9f86
Merge pull request #1315 from topcoder-platform/PM-2179
himaniraghav3 12cca79
Merge pull request #1319 from topcoder-platform/scorecard-review-header
vas3a a8fe48e
Add input/output tokens for ai workflow runs
himaniraghav3 dd03343
Merge pull request #1320 from topcoder-platform/PM-2989
himaniraghav3 e7326d7
Handle null usage for workflow runs
vas3a 19770cf
Handle null usage for workflow runs. add placeholder values
vas3a 835f11f
Merge pull request #1321 from topcoder-platform/fix-workflow-usage
kkartunov 3fae0af
feat: likes and dislikes on run items and comments
hentrymartin d383431
feat: likes and dislikes on run items and comments
hentrymartin 5dd1dc4
feat: likes and dislikes on run items and comments
hentrymartin 4c40f2a
Initial reports pages implementation in system-admin
jmgasper a44b332
Back out my local start.sh updates
jmgasper 564381f
fix: moved setInitialVotesForFeedback into useEffect
hentrymartin 7909129
fix: moved setInitialVotesForFeedback into useEffect
hentrymartin f9c98ad
fix: review comments
hentrymartin 1cb6a45
feat: comments implementation
hentrymartin af3a377
Handle report parameters
jmgasper e79951d
Merge pull request #1323 from topcoder-platform/reports-system-admin
vas3a ee05b21
Fix redirect after draft save
vas3a 0deabff
Merge pull request #1325 from topcoder-platform/fix-redirect-after-draft
vas3a 95dd476
fix styles for ai reviews table
vas3a 186fc86
Merge pull request #1326 from topcoder-platform/fix-style-for-ai-revi…
vas3a d244076
fix: lint
hentrymartin 5e6dc93
fix: lint
hentrymartin 74b038f
Merge pull request #1322 from topcoder-platform/pm-2177_likes
kkartunov 71496c4
feat: implemented edit comment
hentrymartin 5920978
Merge branch 'dev' into pm-2177_comments_edit
hentrymartin 6d0f2de
Merge pull request #1329 from topcoder-platform/pm-2177_comments
hentrymartin 4f1ce88
Merge branch 'dev' into pm-2177_comments_edit
hentrymartin 78e28be
Merge pull request #1328 from topcoder-platform/pm-2177_comments_edit
kkartunov 853cc58
PM-1944 - ai workflows in reviews/appeals tabs
vas3a aede246
Merge pull request #1330 from topcoder-platform/PM-1944_ai-workflows-…
vas3a 32bb6ee
PM-3060 - on mobile, fix the ai scorecard link
vas3a 9e07498
lint
vas3a a70cc29
Merge pull request #1331 from topcoder-platform/PM-3060_fix-mobile-ai…
vas3a 69b47af
PM-3039 - scorecard status & icon
vas3a fbc1fb1
Merge pull request #1332 from topcoder-platform/PM-3039_scorecard-ico…
kkartunov 908c924
Fix min scorecard
vas3a c357d2d
Merge pull request #1333 from topcoder-platform/PM-3039_scorecard-ico…
vas3a ce3c5d4
fix: qa issues
hentrymartin 4a7b886
Merge pull request #1334 from topcoder-platform/pm-2177_fixes
hentrymartin 96d51bd
Fix order of ai review in review tab
vas3a 0ff58ce
fix z-index for notifications container
vas3a ef7806f
UI fixes in reviews page
vas3a 8cee8a0
lint fix
vas3a b019fc0
Merge pull request #1335 from topcoder-platform/fix-review-tab
vas3a 6cb9474
PM-2921 - fix screener multiple submissions showing up
vas3a 925d190
lint fix
vas3a 257557b
Merge pull request #1336 from topcoder-platform/PM-2921_fix-screener-…
vas3a 3d88834
PM-3072 - markdown for aiworkflow desc
vas3a 6f77e6c
Merge pull request #1337 from topcoder-platform/PM-3072_markdown-for-…
vas3a 4b9a3d2
update styling form md renderer
vas3a 9c7ba0d
tweak ai workflow desc
kkartunov edd95d8
fix: adding likes flikers the count
hentrymartin 54146fc
fix: adding likes flikers the count
hentrymartin 002b7eb
fix: user handle url
hentrymartin ccb21f6
Merge pull request #1338 from topcoder-platform/PM-3072_markdown-for-…
vas3a 788d264
fix: virus scan score as link
hentrymartin 88134ab
Merge pull request #1339 from topcoder-platform/twek-ai-workflow-desc
kkartunov 54d514f
use margin-bottom for space
kkartunov 41176ef
Merge pull request #1342 from topcoder-platform/twek-ai-workflow-desc
kkartunov 1da9949
Merge pull request #1340 from topcoder-platform/pm-2177_1_fixes
kkartunov 408a936
Merge pull request #1341 from topcoder-platform/pm-3037
kkartunov e6ce236
Use the new workflows runs endpoint
vas3a d434fd9
lint fix
vas3a fd5c01b
Auto-refresh the AI reviews ui if run is in progress
vas3a 2b72d9a
Merge pull request #1344 from topcoder-platform/use-new-workflows-run…
vas3a 614b230
lint fix
vas3a b7801b6
Merge pull request #1345 from topcoder-platform/auto-refresh-ui
vas3a 24b01d1
Auto refetch run items when workflow run status has changed
vas3a fe11f1b
Merge pull request #1346 from topcoder-platform/auto-refetch-run-items
vas3a eaf1b23
fix: added back button, ui issues
hentrymartin ff77f1c
Merge pull request #1347 from topcoder-platform/pm-3065
kkartunov 9b81004
Add ai reviewers on all tables
vas3a b006acd
Make sure the AI feedback md renderer is not yelling headings
vas3a 8b265f2
Merge pull request #1349 from topcoder-platform/update-ai-feedback-md…
vas3a f2ab320
Merge pull request #1348 from topcoder-platform/ai-reviewers-tables
vas3a 12e22a4
update rendering for ai reviewers
vas3a b2619eb
lint
vas3a 32af683
Merge pull request #1350 from topcoder-platform/update-ai-reviewers-t…
vas3a ca06ce4
fix: likes dislikes not updated automatically
hentrymartin 44c4edf
fix: likes dislikes not updated automatically
hentrymartin 32c3ea6
fix: lint
hentrymartin 21331e0
Merge pull request #1351 from topcoder-platform/pm-3090
kkartunov File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
This file contains hidden or 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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -3,6 +3,8 @@ | |
| */ | ||
| import { v4 as uuidv4 } from 'uuid' | ||
|
|
||
| import { EnvironmentConfig } from '~/config' | ||
|
|
||
| import { | ||
| RequestBusAPI, | ||
| RequestBusAPIAVScan, | ||
|
|
@@ -43,11 +45,11 @@ export const CREATE_BUS_EVENT_AV_RESCAN = ( | |
| payload: RequestBusAPIAVScanPayload, | ||
| ): RequestBusAPIAVScan => ({ | ||
| 'mime-type': 'application/json', | ||
| originator: 'submission-processor', | ||
| originator: 'review-api-v6', | ||
| payload, | ||
| timestamp: new Date() | ||
| .toISOString(), | ||
| topic: 'avscan.action.scan', | ||
| topic: EnvironmentConfig.ADMIN.AVSCAN_TOPIC, | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [ |
||
| }) | ||
|
|
||
| export const SUBMISSION_REPROCESS_TOPICS = { | ||
|
|
||
This file contains hidden or 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
Oops, something went wrong.
Oops, something went wrong.
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.
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.
[❗❗
correctness]Changing the
originatorfrom'submission-processor'to'review-api-v6'could have implications on downstream systems that rely on this field for processing or logging. Ensure that all dependent systems are updated to handle this change.