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

[DRAFT] #260 update servers #535

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft

[DRAFT] #260 update servers #535

wants to merge 3 commits into from

Conversation

Stift
Copy link
Contributor

@Stift Stift commented Jan 14, 2025

Short description

  • use object box as cache provider
  • store all item actions in cache
  • use virtual markers to distinct between saved and intermediate state

Proposed changes

Side effects

Testing

Resolved issues

Fixes: #260


@Stift Stift force-pushed the 260_update_servers branch 13 times, most recently from 6f082cd to 86fa6c0 Compare January 21, 2025 14:14
@Stift Stift force-pushed the 260_update_servers branch from 86fa6c0 to 808c544 Compare January 22, 2025 16:42
Stift added 2 commits January 23, 2025 09:33
- use sqflite as cache database
- store all item actions in cache
- use virtual markers to distinct between saved and intermediate state
- images are stored on device data instead of stream to reduce mem_usage
- auto-discover when add + delete are done in cache (removes item from cache and never stores it)
@Stift Stift force-pushed the 260_update_servers branch from 808c544 to 589ad18 Compare January 23, 2025 08:34
@Stift Stift force-pushed the 260_update_servers branch from 589ad18 to 1812c05 Compare January 23, 2025 08:48
@@ -0,0 +1,45 @@
import 'package:gruene_app/app/services/converters.dart';
Copy link
Member

@steffenkleinle steffenkleinle Jan 23, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My understanding was that feature specific services should also go to features/<feature>/services (so in this case features/campaign/services instead of the general app/services file to keep everything a little more organized and grouped together by feature. Perhaps I also understood something wrong here though, but I think we should decide on the file structure we want to have to avoid a mess.

What do you think? Also @volkramweber and @NikoHadouken.

@Stift Stift marked this pull request as draft January 24, 2025 15:05
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.

Campaign: Update servers
2 participants