Skip to content

feat: Highlight entry in My Submissions Tab#5037

Open
vishwa21-prog wants to merge 2 commits into
Cloud-CV:masterfrom
vishwa21-prog:fix-issue-4481
Open

feat: Highlight entry in My Submissions Tab#5037
vishwa21-prog wants to merge 2 commits into
Cloud-CV:masterfrom
vishwa21-prog:fix-issue-4481

Conversation

@vishwa21-prog
Copy link
Copy Markdown

@vishwa21-prog vishwa21-prog commented Feb 28, 2026

Fix #3895: Highlight specific submission entries in My Submissions tab

Add highlightSpecificSubmissionEntry function in challengeCtrl.js to highlight submission entries.
Add scrollToEntryAfterSubmissionsLoads function to scroll to a specific submission from URL anchors.
Add id attributes to submission table rows in my-submission.html for anchor targeting.
Add highlightSubmissionEntry CSS class for styling highlighted submissions.

This allows users to navigate directly to a specific submission (e.g., #submission-123), similar to the leaderboard highlighting feature.

- Add highlightSpecificSubmissionEntry function in challengeCtrl.js to highlight submission entries
- Add scrollToEntryAfterSubmissionsLoads function to scroll to specific submission from URL anchor
- Add id attribute to submission table rows in my-submission.html for anchor targeting
- Add highlightSubmissionEntry CSS class with styling for highlighted submissions

This feature allows users to navigate directly to a specific submission entry using URL anchors (e.g., #submission-123), similar to the existing leaderboard highlighting feature.
@codecov
Copy link
Copy Markdown

codecov Bot commented Feb 28, 2026

Codecov Report

❌ Patch coverage is 29.41176% with 12 lines in your changes missing coverage. Please review.
✅ Project coverage is 92.19%. Comparing base (b438c28) to head (ea50554).

Files with missing lines Patch % Lines
frontend/src/js/controllers/challengeCtrl.js 29.41% 12 Missing ⚠️

❌ Your patch check has failed because the patch coverage (29.41%) is below the target coverage (70.00%). You can increase the patch coverage or adjust the target coverage.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #5037      +/-   ##
==========================================
- Coverage   92.33%   92.19%   -0.14%     
==========================================
  Files          91       91              
  Lines        7671     7688      +17     
==========================================
+ Hits         7083     7088       +5     
- Misses        588      600      +12     
Flag Coverage Δ
backend 96.76% <ø> (ø)
frontend 87.19% <29.41%> (-0.27%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Δ
Accounts & Authentication 97.79% <ø> (ø)
Challenges Management 95.51% <ø> (ø)
Job Processing 98.85% <ø> (ø)
Participants & Teams 100.00% <ø> (ø)
Challenge Hosts 100.00% <ø> (ø)
Analytics 100.00% <ø> (ø)
Web Interface 100.00% <ø> (ø)
Frontend (Gulp) 87.19% <29.41%> (-0.27%) ⬇️
All Models 97.73% <ø> (ø)
All Views 100.00% <ø> (ø)
All Serializers 98.57% <ø> (ø)
Utility Functions 97.14% <ø> (ø)
Core Configuration 82.35% <ø> (ø)
Files with missing lines Coverage Δ
frontend/src/js/controllers/challengeCtrl.js 79.72% <29.41%> (-0.49%) ⬇️
Files with missing lines Coverage Δ
frontend/src/js/controllers/challengeCtrl.js 79.72% <29.41%> (-0.49%) ⬇️

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b438c28...ea50554. Read the comment docs.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

- Added is_cli boolean field to Submission model with default=False and db_index=True
- Added is_cli field to SubmissionSerializer and ChallengeSubmissionManagementSerializer
- Created migration 0027_add_is_cli_field.py to add the field to the database

This feature allows distinguishing between submissions made via CLI (is_cli=True)
and submissions made via UI (is_cli=False, default)
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.

Highlight entry in My Submissions Tab

1 participant