Skip to content

feat: add Sudoku Solver tool and fix hooks dependencies#4

Open
navin-oss wants to merge 1 commit intobetterbugs:mainfrom
navin-oss:sudoku-solver-feature-5211712923801155266
Open

feat: add Sudoku Solver tool and fix hooks dependencies#4
navin-oss wants to merge 1 commit intobetterbugs:mainfrom
navin-oss:sudoku-solver-feature-5211712923801155266

Conversation

@navin-oss
Copy link

📌 Overview

This PR enhances the Development Tools section by introducing a new Sudoku Solver & Generator tool and improving existing components by resolving React hook dependency issues.

It also improves maintainability and code quality by adding ESLint configuration and eliminating warnings.


🛠️ Type of Change

  • ⛓️ Smart Contract
  • 💻 Frontend (UI/UX, React components, Tailwind)
  • ⚙️ Backend
  • 📄 Documentation
  • 🧪 Testing / Code Quality

🔗 Related Issue

Fixes #[ISSUENO]


✨ Key Changes

🧩 New Feature

  • Added Sudoku Solver & Generator

    • Generate puzzles (Easy / Medium / Hard)
    • Auto-solve puzzles instantly
    • Interactive grid UI
    • Clean and responsive layout

🐛 Fixes

  • Fixed react-hooks/exhaustive-deps warnings in:

    • apiKeyGenerator.tsx
    • fibonacciCalculator.tsx
  • Wrapped functions with useCallback and corrected useEffect dependencies

⚙️ Improvements

  • Added .eslintrc.json for consistent linting

  • Removed warnings and improved stability

  • Registered Sudoku tool in:

    • constants.tsx
    • developmentToolsConstant.tsx

📦 Dependencies

  • React
  • TypeScript
  • ESLint (lint configuration)

No new external libraries added.


🧪 Testing & Verification

  • Sudoku puzzle generation tested for all difficulty levels
  • Solver tested for correctness
  • Verified lint passes with no warnings
  • Confirmed existing tools work without regression
  • UI tested on desktop + mobile

🚀 Future Improvements

  • Add timer & score tracking
  • Add hint system
  • Add puzzle export/import
  • Save game state locally

👥 Mentions

@maintainers


✅ Developer's Checklist

  • My PR follows the style guidelines
  • Self-review completed
  • No new warnings introduced
  • No breaking changes
  • Feature tested locally
  • Screenshots attached
  • No UI/UX issues

- Added Sudoku Solver & Generator tool with difficulty levels.
- Fixed `react-hooks/exhaustive-deps` warnings in `apiKeyGenerator.tsx` and `fibonacciCalculator.tsx`.
- Added `.eslintrc.json` for linting configuration.

Co-authored-by: navin-oss <181780004+navin-oss@users.noreply.github.com>
@SyedFahad7
Copy link
Collaborator

SyedFahad7 commented Feb 16, 2026

Hey @navin-oss, we recently pushed some important updates to main, so your branch might be behind.
Could you please sync your branch with the latest changes?
Also, please raise this PR against the develop branch instead of main.
Thanks!

@SyedFahad7
Copy link
Collaborator

The “Fixes #[ISSUENO]” won’t link the issue.
Please replace it with the actual issue number, so it auto closes on merge.

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.

2 participants

Comments