Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improvements to folders tree #1783

Closed
wants to merge 8 commits into from
Closed

Conversation

barijaona
Copy link
Member

Follow up on PR #1754 (Improve handling of FoldersTree manual sort issues)
Should help with sort order issues #1768 and #1779

Don't proceed to folder move if Database's -setParent:forFolder: or
-setNextSibling:folderFromID:forFolder: return NO.
Adapt accordingly the insertion into undoArray.
Remove extraneous spaces while keeping the tab based spacing
in order to preserve the legibility of git history.
Other slight changes to improve legibility.
Having feed sorted by names rather than by folder ID would be more user
friendly.
Follow-up of PR ViennaRSS#1754, working on issue ViennaRSS#1768
When ‑loadTree:rootNode: returns NO, recover group folders as well as
RSS and OpenReader folders by reattaching them under the root folder.

A user reported in issue ViennaRSS#1784 losing group folders which just went
invisible but were still present in database.
Might help understand origin of the issue. Occurence of problems can be
traced back with the following command in Terminal:

log show --predicate " process == 'Vienna' && eventMessage contains 'Fixing' " --last 96h
@barijaona
Copy link
Member Author

barijaona commented Aug 5, 2024

Not yet mature enough…
I experienced that the recovery procedure led me to an incoherent tree, and the only solution I found was to switch back to alphabetical auto sort…

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants