How rishankreddy12/hackerrank-extension works
This is a small Manifest V3 extension that adds bulk controls to HackerRank’s existing Test Cases page. The principal workflow is: a problem setter selects rows by visible order, chooses a score and/or Additional state, reviews the changes, confirms, and lets HackerRank’s native Save Changes control save them. The runtime is concentrated in content.js; the source excerpt shows DOM discovery, toolbar behavior, and native-save state checks, while the README documents the intended end-to-end behavior. Other connections below follow that documentation.
Main entry points: content.js Bulk toolbar
Components 10
Page integration
- HackerRank Test Cases page
- DOM discovery
content.js
Bulk controls
- Bulk toolbar
content.js - Row selection
content.js - Additional toggles
content.js - Score application
content.js
Review and save
- Review and confirmation
content.js - Native Save Changes
- Save status checks
content.js
Other components
- Problem setter
Connections 11
- Problem setter → HackerRank Test Cases page: opens page
README.md - HackerRank Test Cases page → DOM discovery: provides DOM
README.md - DOM discovery → Bulk toolbar: adds controls
content.js - Problem setter → Bulk toolbar: uses controls
README.md - Bulk toolbar → Row selection: selects rows
content.js - Bulk toolbar → Additional toggles: changes flags
content.js - Bulk toolbar → Score application: applies score
README.md - Bulk toolbar → Review and confirmation: reviews changes
README.md - Review and confirmation → Native Save Changes: clicks after confirmation
README.md - Native Save Changes → Save status checks: reports outcome
README.md - Save status checks → Bulk toolbar: shows progress
README.md