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

fix bug: recent queries should be at the top of query history #58

Closed amanswarnakar closed 7 months ago

amanswarnakar commented 7 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

https://github.com/janvi01/sql-editor/assets/80145855/f3665412-ef69-4370-a916-441776c25b0f

Fixes #51

vercel[bot] commented 7 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
sql-editor ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 18, 2024 10:08am