janvi01 / sql-editor

A web-based application that provides a SQL editor to run queries and display results.
https://sql-editor-online.vercel.app/
MIT License
9 stars 17 forks source link

[BUG] Query History Deletion by Index #57

Open aditya-armal opened 8 months ago

aditya-armal commented 8 months ago

Description: The current implementation of the Query History component allows users to delete individual queries by clicking the delete button. However, deletion should be based on the query's index rather than removing all occurrences of a specific query.

Steps to Reproduce:

-Navigate to the Query History component. -Execute multiple queries, creating a history list. -Attempt to delete a specific query by index.

Expected Behavior: The user should be able to delete a query based on its index, removing only that specific occurrence while keeping others intact.

Actual Behavior: The current implementation removes all occurrences of the specified query when using the delete button.