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

User specific files: E.g., for SharedImages discussion thread read state. #68

Open
crspybits opened this issue Apr 22, 2018 · 3 comments

Comments

@crspybits
Copy link
Owner

After talking to Dany, we figured out a way to do this: The file could be marked in the file index table on the server as downloadable/visible only by a single user-- When everyone else does a file index, they don't see this file. When the user in question does a file index, they see this file.

This could be used for user-specific settings that an application wants to save-- e.g., the read state of specific discussion threads. This would enable that read state to be preserved, even if the app was deleted and reinstalled. And would enable that read state to be used on a different device, by the same user.

@crspybits
Copy link
Owner Author

An alternate way to handle this is to keep the unread counts in either the discussion thread file itself, or in a new file (one per image file). This would mean that there would be an increase in the number of downloads per user. A download would be incurred each time a discussion would be read. I would have to also change the way the progress indicator behaved-- having to see these downloads would not make for good UX.

A main difference between the two options: either private or shared unread counts is-- do we want other users to know whether or not someone read a message?

@crspybits
Copy link
Owner Author

User specific files could also enable periodic storage of an index.html file that would let the user navigate cloud storage files, should they no longer want to use the app.

@crspybits
Copy link
Owner Author

I just had a thought. This problem may be fairly easily solved once I get the full setup with multiple sharing groups. aka. Albums. If I create a self-only sharing group when a user is created, it could serve this kind of purpose. As long as no one else ever gets invited to the sharing group, it should enable transfer of only self-related state between a users devices.

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

No branches or pull requests

1 participant