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

Add button to view secret as author #2

Closed
renderorange opened this issue Mar 11, 2022 · 1 comment
Closed

Add button to view secret as author #2

renderorange opened this issue Mar 11, 2022 · 1 comment

Comments

@renderorange
Copy link
Owner

renderorange commented Mar 11, 2022

The current functionality of the routing and template doesn't allow the author to view the secret they just created. This is done by checking their cookie to see if the secret id is present. The route and template then see them as the author and doesn't present them the option to decrypt and view the secret.

Looking at the web server logs, there are a lot of people who create a secret but never decrypt it. I suspect they're just testing it out and don't see the option to view it, and maybe think it doesn't actually work.

Adding the option to decrypt a message you just created doesn't make a lot of sense to me, but I could see how someone unfamiliar with the codebase might think the application doesn't actually work. For that, adding the ability to view your own secret makes sense to add.

@renderorange renderorange changed the title Add option to view secret as author Show view options as author Mar 11, 2022
@renderorange renderorange changed the title Show view options as author Show option to decrypt/view as author Mar 11, 2022
@renderorange renderorange changed the title Show option to decrypt/view as author Add button to view secret as author Mar 16, 2022
@renderorange
Copy link
Owner Author

added in commit 094182c

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

No branches or pull requests

1 participant