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 dashboard #6

Merged
merged 3 commits into from
Nov 8, 2024
Merged

Add dashboard #6

merged 3 commits into from
Nov 8, 2024

Conversation

avdata99
Copy link
Collaborator

@avdata99 avdata99 commented Nov 6, 2024

Display the data collected from this extension in a new dashboard (based on CKAN internal stats)

Copy link
Collaborator

@pdelboca pdelboca left a comment

Choose a reason for hiding this comment

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

Looks good @avdata99 !

Two things:

  1. I would rather have SQLAlchemy expressions rather than separated SQL files. This can be changed in a future. Any reason you chose raw sql over sqlalchemy?
  2. I think that a small improvement could be to change the order of statistics from 365 30 7 to 7 30 365. I guess the most dynamic report is the Last 7 days so It would make sense to not need to scroll down everytime. Maybe @nadineisabel can expand if she see the current order as an issue or not.

@avdata99
Copy link
Collaborator Author

avdata99 commented Nov 8, 2024

@pdelboca They are some SQLALchemy queries (the newer ones). The older ones uses sql queries.
The idea is to gradually move them to SQLAlchemy

@avdata99 avdata99 merged commit 32ef9aa into main Nov 8, 2024
2 checks passed
@avdata99 avdata99 deleted the add_dashboard branch November 8, 2024 10:36
@nadineisabel
Copy link
Collaborator

@pdelboca thanks! Yes I agree, would be great to see latest to oldest in terms of order.

@avdata99
Copy link
Collaborator Author

avdata99 commented Nov 8, 2024

Issue created to change the stats order #8

@avdata99
Copy link
Collaborator Author

avdata99 commented Nov 8, 2024

@nadineisabel I linked this repository to our GitHub project and added these two new issues for next sprint as P1.
This is just to keep track of this repo in our board.
Please modify them as you consider

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.

3 participants