feat: add code file extensions - #67
Open
Digvijay557 wants to merge 2 commits into
Open
Digvijay557 wants to merge 2 commits into
Digvijay557 wants to merge 2 commits into
Conversation
Phantom-VK
reviewed
Sep 11, 2026
Author
|
Thanks for the review! I’ve addressed all the requested changes:
Targeted tests pass: 35 passed. |
Phantom-VK
approved these changes
Sep 12, 2026
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
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.
Summary
Adds support for additional code, markup, configuration, and shell-script file extensions across NoRefund.
This includes JavaScript, TypeScript, Java, C/C++, Go, Rust, HTML, CSS, YAML, TOML, XML, SQL, and shell-script extensions.
Why
This addresses #57 by expanding NoRefund's supported file extensions beyond the previously supported formats.
The new extensions are added to the relevant backend, frontend, and file-picker extension handling so these files can be selected and analyzed like the existing supported formats.
Changes
.js.ts.tsx.jsx.go.rs.java.c.cpp.h.hpp.html.css.yaml.yml.toml.xml.sql.sh.bashTesting
pytestpassesnpm testpasses (frontend changes)ruff check src/is cleanTest results
pytest→ 268 passed, 1 skippednpm test→ 110 tests passedruff check src/→ All checks passedScreenshots
File picker and supported files
The application was manually tested with the newly supported code and configuration file extensions.
Analysis results
Multiple newly supported files were successfully analyzed and appeared in the results table.
Test files
Manual verification included JavaScript, TypeScript, Java, C/C++, Go, Rust, HTML, CSS, YAML, TOML, XML, SQL, and shell-script files.
Checklist
frontend/src/lib/types.tsupdated to match any changedcore/dataclass fieldsIssue
Closes #57