Shivam Mishra
067cc9d775
feat: added frappe.Chart globally
2019-06-12 11:08:47 +05:30
Shivam Mishra
7045942e8d
refactor: use es6 imports for charts
2019-06-11 15:41:44 +05:30
Rushabh Mehta
f72e74d8e8
fix: route history and allow longer energy point reviews
2019-05-02 15:51:57 +05:30
Rushabh Mehta
d25d9556ad
fix(linting): for dashboard
2019-04-15 10:18:15 +05:30
Rushabh Mehta
979c9da059
feat(dashboard): home section
2019-04-15 10:18:15 +05:30
Rushabh Mehta
02209d7860
feat(dashbaord): set default
2019-04-15 10:18:15 +05:30
Rushabh Mehta
41e1b6ab3b
fix: dashboard charts with empty ranges and tests
2019-04-15 10:16:56 +05:30
Rushabh Mehta
c61944281d
feat: more dashboard features, counts, sum, averages
2019-04-15 10:16:56 +05:30
Rushabh Mehta
82d899ff9a
fix: dashboard loading state and caching
2019-04-08 15:52:31 +05:30
Aditya Hase
536bf6ce59
style: Linting fixes
2019-03-27 19:06:32 +05:30
Aditya Hase
977126b116
style: Linting Fixes
2019-03-27 14:54:54 +05:30
Aditya Hase
7182312746
fix(dashboard): Clear container when rendering another dashboard
2019-03-25 12:41:17 +05:30
Aditya Hase
e31368a9f7
style: Linting fixes
2019-03-25 12:41:17 +05:30
Aditya Hase
3567326ae9
fix(dashboard): Use config insteaad of get_script
...
Earlier implementation used a get_script function which
served a JS configuration file which was then evaluated
inside the dom.
Now dashboard chart source contains a code field for
storing configuration in JSON
2019-03-25 12:41:17 +05:30
Aditya Hase
45332d02c4
fix(dashboard): Use Dashboard Chart Link for listing charts
2019-03-25 12:41:17 +05:30
Aditya Hase
179a9e0db6
feat(dashboard): Show links to other dashboards in a dropdown menu
2019-03-25 12:41:17 +05:30
Aditya Hase
866f8b2a08
feat(dashboard): Use xIsSeries chart option for time series
2019-03-25 12:41:17 +05:30
Aditya Hase
dd94bc04ae
fix(dashboard): Show update filters modal correctly
2019-03-25 12:41:17 +05:30
Aditya Hase
fa7b67d16b
refactor(dashboard): Break down prepare_container into smaller functions
2019-03-25 12:41:17 +05:30
Aditya Hase
138fc5c82b
fix(dashboard): Fetch data with correct filters
2019-03-25 12:41:17 +05:30
Aditya Hase
60951d00f8
feat(dashboard): New cache_source decorator for caching
2019-03-25 12:41:17 +05:30
Aditya Hase
7ba50fa48e
refactor(dashboard): Fetch filter fields from .js file
2019-03-25 12:41:17 +05:30
Aditya Hase
f805a2f4bb
style: Linting fixes
2019-03-25 12:41:16 +05:30
Aditya Hase
4c436b97f9
feat(dashboard): Show Save Filters button after change in filters
2019-03-25 12:41:16 +05:30
Aditya Hase
2b86047535
fix(dashboard): Show currently set values in Dialog
2019-03-25 12:41:16 +05:30
Aditya Hase
277969ecfc
fix(dashboard: Remove empty lines
2019-03-25 12:41:16 +05:30
Aditya Hase
17d17f1362
fix(dashboard): Add missing semicolons
2019-03-25 12:41:16 +05:30
Aditya Hase
ba23476141
refactor(dashboard): Update last_synced_on on forced refresh
2019-03-25 12:41:16 +05:30
Aditya Hase
8fae43f466
refactor(dashboard): Abstract away DashboardChart
2019-03-25 12:41:16 +05:30
Aditya Hase
0d55b112d0
feat(dashboard): Update chart after changing filters
2019-03-25 12:41:16 +05:30
Aditya Hase
dbd653e794
feat(dashboard): Convert indentation to tabs
2019-03-25 12:41:16 +05:30
Aditya Hase
05da0a4916
feat(dashboard): Cache results for Chart
2019-03-25 12:41:16 +05:30
Aditya Hase
f7f1aca59e
feat(dashboard): Add Refresh Chart button
2019-03-25 12:41:16 +05:30
Aditya Hase
499ddf5392
refactor(dashboard): Rename More to Set Filters
2019-03-25 12:41:16 +05:30
Aditya Hase
cc0ea4f5ef
feat(dashboard): Add dropdown menu to set filters
2019-03-25 12:41:16 +05:30
Aditya Hase
8f929e1390
feat(dashboard): Add color and styling
2019-03-25 12:41:16 +05:30
Aditya Hase
8028fef196
refactor(dashboard): Refactor into Class
2019-03-25 12:41:16 +05:30
Aditya Hase
59ca894231
feat(dashboard): Configurable chart width
2019-03-25 12:41:16 +05:30
Aditya Hase
9dd0dde020
rafactor(dashboard): Use capitalized names in chart type
2019-03-25 12:41:16 +05:30
Aditya Hase
de24979f30
feat(dashboard): Set chart_name as chart title
2019-03-25 12:41:16 +05:30
Aditya Hase
82bb567ace
fix(dashboard): Remove global filters
2019-03-25 12:41:16 +05:30
Aditya Hase
7b7c7b1dc9
feat(dashboard): Set dashboard name as page title
2019-03-25 12:41:15 +05:30
Aditya Hase
5e85c129c3
feat(dashboard): Render multiple charts from charts table
2019-03-25 12:41:15 +05:30
Aditya Hase
23ab8e6429
fix(dashboard): Do not render single chart by default
2019-03-25 12:41:15 +05:30
Aditya Hase
94c4740729
feat(dashbard): Set account from filters
2019-03-25 12:41:15 +05:30
Aditya Hase
4f247a0ed5
feat(dashboard): Add Time Grain filter
2019-03-25 12:41:15 +05:30
Aditya Hase
8840a17999
feat(dashboard): Add timespan filter
2019-03-25 12:41:15 +05:30
Aditya Hase
762813a076
feat(dashboard): Create Dashboard page
2019-03-25 12:41:15 +05:30