Skip to content

[DC-227] implement the error items in the account folders view#12463

Open
modSpike wants to merge 5 commits intomasterfrom
refactor/dc-227
Open

[DC-227] implement the error items in the account folders view#12463
modSpike wants to merge 5 commits intomasterfrom
refactor/dc-227

Conversation

@modSpike
Copy link
Contributor

Just to start, the error items are as simple as possible.

Also adjusted the constructor for the folder item updater to not take a parent because the folder item manages the lifetime of the updater.

also changed some blocks to use {} at Erik's request
@update-docs
Copy link

update-docs bot commented Feb 10, 2026

Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes.

this is just a passthrough to the accountState::isConnected but it's important to remove dependencies on account state. At base a folder should "know" if it is connected or not, regardless of how that is determined.
incorporated the folder connection state into menu actions states

updated text for sync state: NotYetStarted

"slow down" the progress updates as by default they are very granular. Now update limited to every 1 second
the folderitemdelegate now takes care of painting both the folder delegate and error items

had to fool around to get the expander to show for the error items

also fixed paints for the folder icon based on different possible non-square geometries (vertical/tall or horizontal/wide).

with the current impl the folder icons do indeed get updated after changing them on the server, which is great because there was some trouble with that in the qml impl and never figured out why.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant