After a save the the "Recent" tab becomes empty #134
Describe the problem
I'm guessing there's an attribute used by the "Recent" tab that isn't being persisted.
- Modify some pages
- Observe Recent tab
- Now save
- The saved Feather Wiki has an empty Recent tab
The items listed in the recent tab should persist after a save.
Details (please complete the following information)
- I am using this build: Warbler
- I am using this version: 1.7.0
- I am using this browser: Chrome
I might be confused about the expected behavior, but it seems like the Recent tab being empty after a save is not a feature.
If you look at
FW.state.recent.length after reloading, it's always zero.
Weird! I had put in code to make sure it loaded, but I guess not the right way. I'll take a look.
Edit: Are you talking about saving a page or after saving the wiki and loading the newly saved wiki?
@sbaird Oh my god, I just realized I made that change and uploaded it to the release on Codeberg but not to the download on the website 🤦♂️ I'll let you know when I've got it fixed—I've also got a bug I need to figure out for a 1.7.1 release anyway, so I'll include it there.
Oh yeah I should have mentioned I was using this: https://feather.wiki/builds/FeatherWiki_Warbler.html
Actually in hindsight I could have figured this out when troubleshooting since I wasn't able to access
FW.state.getRecent(), but thought maybe it was set to private somehow... 😅
I did also update the files in the 1.7.0 release to reflect this bug lol, so if you were to re-download, it would be the same as what you got from the website originally.
FW.state.help.getRecent() has been removed again in favor of just populating it during the
ONLOAD event 👍
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?