-
Notifications
You must be signed in to change notification settings - Fork 31
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
Org dashboard #79
Org dashboard #79
Conversation
…t of partners in template
…box related views to avoid confusion
…hboard to fetch users from same users endpoint
can_update = case.access_level(self.request.user) == AccessLevel.update | ||
|
||
# angular app requires context data in JSON format | ||
context['context_data_json'] = json_encode({ | ||
'all_labels': [l.as_json() for l in labels], | ||
'all_partners': [p.as_json() for p in partners], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
List of partners now fetched as needed from endpoint
""" | ||
Chart of replies per month for either the current org, a given partner, or a given user | ||
""" | ||
permission = 'orgs.org_charts' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm assuming that aggregate data like number of replies can be seen by any user in the org regardless of whether it's for another partner or user. Flagging this in case that's not an assumption that works for other deployments.
'series': [0, 0, 2, 1, 0, 0] | ||
}) | ||
self.assertEqual(response.json, { | ||
'categories': ["May", "June", "July", "August", "September", "October", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Localize?
Looks good. |
…signed-user-appear-in-same-string-as-case-list Have assigned user appear in same string in case list
Replaces current org home page (and existing user list page) with a simple dashboard like page with summary, partners and users tabs.
For clarity I've renamed some of the inbox related stuff that was previous called "Home".