-
-
Notifications
You must be signed in to change notification settings - Fork 89
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
Expiration for all notes (even view constraint notes) #68
Comments
Yes, I have thought about this as well, makes sense. Maybe the toggle could have like thrid mode in the middle enabling both modes. The current expiration is already using redis TTL (and an additional backend check in case it has not been evicted yet) so the logic mostly is already there. RN i don't have time to work on this unfortunately, so feel free to contribute, or you'll need some patience ❤️ |
This feature would be much appreciated!! Making sure an unseen note also will be deleted in say 7 days. |
If I find the time to work on a PR for this feature, would you have time to review it @cupcakearmy ? For the UI, I would have replaced the "mode" button, with a checkbox "expire", but I will whatever you prefer, I have no preference on this. |
That would be super nice! |
@GreeFine also, I appreciate any comment on the rust codebase in general, this was my first rust project, so any improvement / suggestions are welcomed! 😊 |
I would even remove the toggler and just leave the two fields : view and time (with a time set to 0 = infinite). |
I admit there is room for improvement. Both in UX and functionality here. Probably removing the toggle makes sense. leaving a field empty would just mean no limit. |
I've been using https://1ty.me/ but wanted to find a self hosted open source alternative, so was super happy to stumble across your creation today. Thanks so much.
I'm wondering whether it'd be an option to enable expiration for view constrain notes, this will prevent unused notes staying in redis indefinitely, and should be pretty easy to implement with a TTL on the redis key. Generally in my use, I also configure single view notes (so as long as the expected recipient received it I know no-one else has seen it), and I expect someone to pickup the note in the next hour or day etc., so would be nice to be able to configure
MAX_EXPIRATION
and allow a user to set the expiry for single view notes too.In essence the combination of Expiration and View count would be very useful.
I don't have much Svelte or rust experience, but would be happy to help out if you feel it's something that'd server the broader use case.
The text was updated successfully, but these errors were encountered: