Automattic / Automattic/simplenote-electron

Sort Order Preference Not Respected In Web App

Open
#1,560 4 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
5.3k
Forks
589
Avg merge
9h 45m
Merged PRs (30d)
4

Description

If you set your sort order preference to be alphabetical, when you log out and log back into the web app, it won't keep your preference set. This happens in Firefox only.

### Expected
If I set my notes to display alphabetical, that the sort order in the settings, stays.

### Observed
Using FF, if you set the sort order to alphabetical instead of last updated, it will not keep the setting once you log out and then log back in.

### Reproduced
1. In Firefox, open Simplenote.
2. Under settings, set your sort order to alphabetical.
3. See the sort order change.
4. Log out of Simplenote. Close the browser.
5. Open Firefox again, and log into Simplenote.
6. Notice the sort order is back to last updated instead of alphabetical.

Reproduced on Firefox 68.0.2

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the preference persistence steps in Firefox 68.0.2, then trace where the web app saves and restores the sort order across logout and login. Done means an alphabetical sort preference remains alphabetical after closing Firefox, reopening it, and signing back in.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.