Skip to content

Favourite Feature Added#77

Merged
SyedFahad7 merged 3 commits intobetterbugs:developfrom
GauravKarakoti:Favouritee
Mar 7, 2026
Merged

Favourite Feature Added#77
SyedFahad7 merged 3 commits intobetterbugs:developfrom
GauravKarakoti:Favouritee

Conversation

@GauravKarakoti
Copy link
Copy Markdown
Contributor

Description

Added a favourite tool feature.
Favourite tools are pushed to top.
Added a filter for favourite tools.

Fixes #61

Screenshots of relevant screens

Screen.Recording.2026-03-03.112937.mp4

Developer's checklist

  • My PR follows the style guidelines of this project
  • I have performed a self-check on my work

If changes are made in the code:

  • I have followed the Coding Guidelines
  • My changes in code generate no new warnings
  • My changes are not breaking another fix/feature of the project
  • I have added test cases to show that my feature works
  • I have added relevant screenshots in my PR
  • There are no UI/UX issues

@GauravKarakoti
Copy link
Copy Markdown
Contributor Author

Please review this one..

@SyedFahad7 SyedFahad7 self-requested a review March 6, 2026 12:24
@rishima17 rishima17 requested review from SyedFahad7 and removed request for SyedFahad7 March 6, 2026 13:53
@rishima17 rishima17 added enhancement New feature or request apertre3.0 medium labels Mar 6, 2026
Copy link
Copy Markdown
Collaborator

@SyedFahad7 SyedFahad7 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @GauravKarakoti, this rework is much cleaner and the earlier process issues are fixed (clean history + scoped diff). I verified lint/build both pass. One final hardening request before merge: in app/page.tsx, localStorage JSON is parsed but not shape-validated. If favoriteTools contains non-array JSON, favorites.includes(...) can crash at runtime. Please guard with Array.isArray(parsed) and ensure every entry is a string before calling setFavorites. After that, this is good to merge.

@GauravKarakoti
Copy link
Copy Markdown
Contributor Author

Done

@SyedFahad7 SyedFahad7 self-requested a review March 7, 2026 20:07
Copy link
Copy Markdown
Collaborator

@SyedFahad7 SyedFahad7 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Re-reviewed latest changes. The final hardening request is implemented in app/page.tsx (localStorage JSON shape validation with Array.isArray + string filtering), and previous requirements are still intact (URL-based keys, localStorage safety, aria-label). Lint passes and build passes after a clean rebuild. LGTM.

@SyedFahad7 SyedFahad7 merged commit 60ae574 into betterbugs:develop Mar 7, 2026
@SyedFahad7
Copy link
Copy Markdown
Collaborator

🎉 This PR is included in version 1.4.0-develop.6 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

mohitmalibetterbugs added a commit that referenced this pull request Apr 14, 2026
* feat(ui): add reusable CopyButton and refactor wordCounter and jsonToTxt

Adds a reusable CopyButton component and refactors WordCounter and JsonToTxt to use it.

Fixes #17

* chore(release): 1.4.0-develop.1 [skip ci]

# [1.4.0-develop.1](v1.3.2...v1.4.0-develop.1) (2026-02-28)

### Features

* **ui:** add reusable CopyButton and refactor wordCounter and jsonToTxt ([d5b9e83](d5b9e83)), closes [#17](#17)

* fix(tools): implement proper bcrypt generator

Replaces placeholder hashing logic with bcryptjs implementation as contributed in PR #23
Adds proper salt generation and verification using bcrypt.compare.

Fixes #13

* chore(release): 1.4.0-develop.2 [skip ci]

# [1.4.0-develop.2](v1.4.0-develop.1...v1.4.0-develop.2) (2026-02-28)

### Bug Fixes

* **tools:** implement proper bcrypt generator ([94d19be](94d19be)), closes [#23](#23) [#13](#13)

* Add Curl to Code Converter (#25)

closes: #21
Co-authored-by: Syed Fahad <sfahad2904@gmail.com>

* feat: Add Smart Repair feature to JSON Validator (#41)

Closes #38

* feat. json to csv convertor (#26)

* feat. json to csv convertor

* align checkbox
Fixes #18

* chore: initialize eslint configuration

* feat: Add IPv4 Subnet Calculator Tool

This pull request implements a specialized IPv4 Subnet Calculator tool for network engineers and DevOps professionals. The tool simplifies network planning and infrastructure setup by instantly calculating subnet details from an IP address and CIDR prefix or subnet mask.

closes #33

* chore: sync package-lock with package.json

* chore(release): 1.4.0-develop.3 [skip ci]

# [1.4.0-develop.3](v1.4.0-develop.2...v1.4.0-develop.3) (2026-03-03)

### Features

* Add IPv4 Subnet Calculator Tool ([ad1c03f](ad1c03f)), closes [#33](#33)
* Add Smart Repair feature to JSON Validator ([#41](#41)) ([7a3c7a5](7a3c7a5)), closes [#38](#38)

* feat: Add lockfile guard workflow to prevent unintended lockfile changes

* chore(release): 1.4.0-develop.4 [skip ci]

# [1.4.0-develop.4](v1.4.0-develop.3...v1.4.0-develop.4) (2026-03-03)

### Features

* Add lockfile guard workflow to prevent unintended lockfile changes ([aa20fb5](aa20fb5))

* feat(tools): add SVG to React/CSS utility

* feat(tools): add SVG to React/CSS utility

Add SVG converter tool that transforms raw SVG code into optimized variants:
- React Component: Clean, reusable functional component with dynamic sizing
- CSS Data URI: Inline SVG for CSS background images
- CSS Mask: SVG as CSS mask-image for flexible icon styling

Features:
- Automatic metadata cleanup (removes XML declarations, comments, DOCTYPE)
- viewBox preservation for responsive sizing
- Optional currentColor replacement for theme support
- Configurable default width/height
- File upload support (.svg files)
- Copy-to-clipboard functionality

Closes #50

* fix(release): update GITHUB_TOKEN to use RELEASE_TOKEN for semantic release

* chore(release): 1.4.0-develop.5 [skip ci]

# [1.4.0-develop.5](v1.4.0-develop.4...v1.4.0-develop.5) (2026-03-05)

### Bug Fixes

* **release:** update GITHUB_TOKEN to use RELEASE_TOKEN for semantic release ([be3a012](be3a012))

### Features

* **tools:** add SVG to React/CSS utility ([218ccad](218ccad)), closes [#50](#50)

* Favourite Feature Added (#77)

Added a favourite tool feature.
Favourite tools are pushed to top.
Added a filter for favourite tools.
Closes #61

* feat: Add Unix Timestamp (Epoch) Converter Utility

Closes: #16

* chore(release): 1.4.0-develop.6 [skip ci]

# [1.4.0-develop.6](v1.4.0-develop.5...v1.4.0-develop.6) (2026-03-08)

### Features

* Add Unix Timestamp (Epoch) Converter Utility ([f277272](f277272)), closes [#16](#16)

* feat(tools): add Unix Timestamp Converter to development tools list

* chore(release): 1.4.0-develop.7 [skip ci]

# [1.4.0-develop.7](v1.4.0-develop.6...v1.4.0-develop.7) (2026-03-08)

### Features

* **tools:** add Unix Timestamp Converter to development tools list ([3fedf57](3fedf57))

* feat: Added URL parser & Query Editor Tool

Closes : #51

* chore(release): 1.4.0-develop.8 [skip ci]

# [1.4.0-develop.8](v1.4.0-develop.7...v1.4.0-develop.8) (2026-03-08)

### Features

* Added URL parser & Query Editor Tool ([c9933ba](c9933ba)), closes [#51](#51)

* feature: add light mode toggle and global theme support #29

Closes: #14

* feat: add class-validator dependency and update page styles (#81)

- Added `class-validator` package to `package.json`.
- Adjusted styles in `page.tsx` for sidebar positioning and button margin.
- Refined text styles in `[slug]/page.tsx` for better readability.
- Updated descriptions in `constants.tsx` for JSON tools to enhance clarity.

Co-authored-by: Mohit Mali <mohit@linearloop.io>

---------

Co-authored-by: Harryson <168550932+HarrysonLadines@users.noreply.github.com>
Co-authored-by: semantic-release-bot <semantic-release-bot@martynus.net>
Co-authored-by: Sayak Datta <174126344+datta-sayak@users.noreply.github.com>
Co-authored-by: Omkar <182200831+omkarhole@users.noreply.github.com>
Co-authored-by: Syed Fahad <sfahad2904@gmail.com>
Co-authored-by: Uday Kiran <132606304+udaykiran243@users.noreply.github.com>
Co-authored-by: Madhav Majumdar <161720210+madhav2348@users.noreply.github.com>
Co-authored-by: Gaurav Karakoti <karakotigaurav12@gmail.com>
Co-authored-by: Aadya Paradkar <aadyaparadkar@gmail.com>
Co-authored-by: zeel0m <137067026+zeel0m@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Favorite tool feature

3 participants