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 Transparency #59

Closed
imRohan opened this issue May 3, 2021 · 0 comments · Fixed by #84
Closed

Add Transparency #59

imRohan opened this issue May 3, 2021 · 0 comments · Fixed by #84
Labels
enhancement New feature or request

Comments

@imRohan
Copy link
Owner

imRohan commented May 3, 2021

Add Transparency to Pantry by showing the users some details of how much it costs to keep Pantry going. Maybe show how many active users there are?

@imRohan imRohan added the enhancement New feature or request label May 3, 2021
@imRohan imRohan self-assigned this May 3, 2021
@imRohan imRohan removed their assignment May 13, 2021
@imRohan imRohan linked a pull request Sep 5, 2021 that will close this issue
imRohan pushed a commit that referenced this issue Sep 8, 2021
This provides transparency about how many people use Pantry (and by extension, gives users an idea of how much time and money goes into maintaining it).

Adds a static getTotalNumber() method to the Account class
We use the SCAN pattern account:*-*-*-*-[a-z0-9][a-z0-9][a-z0-9][a-z0-9][a-z0-9][a-z0-9][a-z0-9][a-z0-9][a-z0-9][a-z0-9][a-z0-9][a-z0-9] to match 'account:' followed by a UUID, with nothing after it.

* Adds a totalAccount field to the ISystemStatus interface.
* Adds a scan() method to the data store service, which allows use of the Redis command SCAN.
* Updates the system controller unit tests to test the above.
* Displays the total number of accounts on the status page.
* Adds some formatting logic to the frontend to make it look better.

Partially resolves #59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant