Save selected sorted order on Dashboard
- Dominant language
- TypeScript
- Stars
- 40k
- Forks
- 2.4k
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 61
Description
### Expected Behavior
In the main project view, files (collections, documents, etc.) are by default sorted in descending order by _Last Modified_. Clicking the ↕️ button, you can change this sorting to alphabetical or based on creation date.
When opening a file or collection and then going back to the project view, the expected behaviour would be that the most recently selecting sorting order is retained.
### Actual Behavior
What actually happens is that every time you leave the project view to open a file and then come back to the project view, the default sorting order (_Last Modified_) is applied. So if you prefer to have your collections in alphabetical order, you have to sort them anew every time you open the project view.
### Reproduction Steps
1. Open Insomnia in a project that has multiple files (collections, documents, etc.)
2. Click the ↕️ button and select a sorting mode (_Name Ascending (A-Z)_, for example)
3. Open one of the collections or files in the project by clicking on it
4. Go back to the project view by clicking on “Insomnia” in the breadcrumb line at the top of the window – your files are now ordered by _Last Modified_ again
### Is there an existing issue for this?
- [X] I have searched the [issue tracker](https://www.github.com/Kong/insomnia/issues) for this problem.
### Additional Information
_No response_
### Insomnia Version
2022.7.2
### What operating system are you using?
macOS
### Operating System Version
macOS Ventura 13.1
### Installation method
Downloaded from insomnia.rest
### Last Known Working Insomnia version
None
Contributor guide
Research direction
Start at the Dashboard or main project view and trace the sorting control and the navigation back from an opened file. Check where the selected sort order is held across that transition; done means the chosen order remains active after returning to the project view, with the reproduction steps passing on the described desktop flow.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- electron, typescript
- Domain
- desktop, frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100