GoogleChromeLabs / text-app

A text editor for ChromeOS and Chrome
https://chrome.google.com/webstore/detail/mmfbcljfglbokpmkimbfghdkjmjhdgbg
Other
551 stars 150 forks source link

Tabs are not in correct order when app is reopened #525

Open Radvylf opened 3 years ago

Radvylf commented 3 years ago

If I organize my open tabs into a specific order, close the app, and reopen it, they load out of order. As someone who organizes the tabs a specific way to stay organized, this is very annoying. I believe it could be fixed by loading the contents of the tab when it is clicked, rather than all of them at once when the app is opened (as I presume they are).

Radvylf commented 3 years ago

Looking at the code, it seems the tabs are added in the order the filesystem loads them. I think an easier fix would just be to have them inserted at whatever index it should be placed at, rather than just pushed.