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: executed query is appended to the end of the query history #51

Closed aditya-armal closed 7 months ago

aditya-armal commented 8 months ago

Describe the bug The recently executed query is appended to the end of the query history, which should be displayed at the top instead of the last position in the query history.

To Reproduce -Execute a query. -Execute another query. -Observe the position of the last executed query in the query history.

Expected behavior The recently executed query should be displayed at the top of the query history.

Screenshots N.A

Desktop (please complete the following information):

Additional context N.A

aditya-armal commented 8 months ago

Assign the Issue, i will raise PR. Solution is Implemented.

aditya-armal commented 8 months ago

@janvi01 Do you want this issue to be fixed as described? or should i close it or you need some more clarification.

prash240303 commented 8 months ago

sure , work on the issue and raise a PR for the following

amanswarnakar commented 7 months ago

Hey @janvi01 @prash240303, please assign this issue to me under JWOC'24.

prash240303 commented 7 months ago

Sure

prash240303 commented 7 months ago

do write a message on discord ( tag me) and the issue name and when u have the PR ready

amanswarnakar commented 7 months ago

@prash240303 @janvi01 I have created a pull request. Please check once.