Open chenxuan-zhou opened 2 years ago
You can add & export an interface as a separate file and then import it into both files you want to use it. We do this for other interfaces too!
You can add & export an interface as a separate file and then import it into both files you want to use it. We do this for other interfaces too!
Thank you Theo! I put the interface in a separate file in the latest commit. Does the export style look correct?
Tickets:
Issue #950
List of changes:
added admin stats page to display application counts
added application count of current day
added line graph of application count of past 30 days
merged in demographic stats from PR 961
Type of change:
Please delete options that aren't relevant.
How did you do this?
Created the Stats and StatsApplicationGraph components in features. Added a new "/admin/stats" route for the Stats component.
How to test:
Automatic test at PR.
Questions:
I did not push the changes done by linting since many code that I didn't touch were also changed and there were many errors. Do I need to worry about this?
I had an interface that I would like to share between Stats and StatsApplicationGraph. Is there a good way of doing so? (Currently I just copied the interface over)
PR Checklist:
develop
branch (before testing)Screenshots: