Beverly Nguyen
3594694de2
added fetch by user
2024-06-17 12:36:21 -07:00
Jonathan Bobel
c5a467c417
tooltip adjustments
2024-06-17 13:57:54 -04:00
Jonathan Bobel
f979d41565
Mostly ready to combine with actual data
2024-06-17 09:29:08 -04:00
Jonathan Bobel
0f738c8cb7
Moving from a tabbed area to switching on account dropdown
2024-06-13 10:29:59 -04:00
Beverly Nguyen
0fa6e59a49
fetch notification stats by user
2024-06-12 14:32:25 -07:00
Jonathan Bobel
b9beb50313
Merge branch 'main' of https://github.com/GSA/notifications-admin into 1544-data-viz-total-message-allowance
...
# Conflicts:
# .ds.baseline
# app/assets/javascripts/chartDashboard.js
# app/main/views/dashboard.py
2024-06-07 16:51:32 -04:00
Jonathan Bobel
726e8db5b2
Merge remote-tracking branch 'origin' into 1484-dashboard-visualizations
2024-06-07 11:07:12 -04:00
Beverly Nguyen
e413f8c640
added sampleChartDashboard.js
2024-06-06 10:05:36 -07:00
Beverly Nguyen
ae7a14f3f2
fixed js chart referenced
2024-06-06 01:10:09 -07:00
Jonathan Bobel
c02c9152d8
Writing tests for chartDashboard.js
2024-06-05 11:25:15 -04:00
Beverly Nguyen
fed2aff43c
cleaned up code
2024-06-04 16:52:32 -07:00
Beverly Nguyen
fec6c2ff72
removed comments
2024-06-04 16:27:35 -07:00
Jonathan Bobel
bbbaf592aa
Commit before branch switch
2024-05-31 11:29:10 -04:00
Beverly Nguyen
6c44982a5e
removed socket.js
2024-05-30 21:20:09 -07:00
Beverly Nguyen
01321aeddc
connecting api data to socket and setting up chartjs to use the data
2024-05-30 21:17:10 -07:00
Beverly Nguyen
108e889ac5
added example of fetch
2024-05-30 14:48:25 -07:00
Jonathan Bobel
8331456318
id update
2024-05-30 10:22:58 -04:00
Jonathan Bobel
f6e7402be9
Merge branch 'main' of https://github.com/GSA/notifications-admin into 1484-dashboard-visualizations
...
# Conflicts:
# app/templates/new/components/head.html
2024-05-29 15:04:22 -04:00
Jonathan Bobel
5f4804f65a
Creating a mid-width for the sent messages area so it's visible if the number is lower than 1%
2024-05-24 13:34:05 -04:00
Jonathan Bobel
473eefb5b0
Tentatively finished up the tabbed area with weekly/monthly/yearly stacked bar charts with dummy data
2024-05-24 10:29:01 -04:00
Beverly Nguyen
04f0a173ac
added sms_sent and sms_remaining data to the bar chart
2024-05-23 18:12:57 -07:00
Beverly Nguyen
ad68c26450
installing socketIO and testing the WebSocket connection
2024-05-20 16:21:38 -07:00
Jonathan Bobel
e49ee06ffa
1544 - Data visualization for Total Message Allowance
2024-05-16 16:10:48 -04:00
Jonathan Bobel
c6a116c9bb
Commit before branch switch
2024-05-16 11:38:22 -04:00
Beverly Nguyen
d4a46ae552
installing chart.js via npm
2024-05-15 15:40:15 -07:00
Jonathan Bobel
ccfc1166a7
commit before branch switch
2024-05-15 14:48:46 -04:00
Beverly Nguyen
5546de66c4
testing chart plain vanilla
2024-05-15 11:39:03 -07:00
Jonathan Bobel
f517180581
Experimenting with chart.js
2024-05-14 15:45:33 -04:00
Jonathan Bobel
afdc0ed58d
1484 - Dashboard visualizations
2024-05-03 11:10:41 -04:00
Carlo Costino
88c7f9590f
Removing extraneous space
2024-03-15 13:07:50 -04:00
Jonathan Bobel
be2dc9a165
1319 - BUG - adjusting the js to only run when the targeted DOM element exists
2024-03-15 10:42:20 -04:00
Jonathan Bobel
0ae369d54b
Updated the date to April 16th instead of April 9
2024-03-12 13:27:37 -04:00
Jonathan Bobel
507973f9ae
Edited the test, updated content
2024-03-01 09:34:25 -05:00
Jonathan Bobel
d5f40dffe1
Commit before merge
2024-02-27 11:53:51 -05:00
Jonathan Bobel
f97bfa863f
Updated button styles
2024-01-30 15:28:15 -05:00
Jonathan Bobel
0021d64253
1166 - Adjusting the card width and wrapping styles
2024-01-30 15:23:21 -05:00
stvnrlly
b23e0e2b41
remove vestigial cookie js
2023-12-20 12:27:45 -05:00
stvnrlly
73b367f4cf
delete cookie stuff to even out js converage
2023-12-18 16:30:59 -05:00
stvnrlly
f600dd95d6
remove email branding
2023-12-18 16:10:12 -05:00
Jonathan Bobel
c611fe38c9
945 - Fixed the javascript so it's not breaking every page this element is not on
2023-11-27 16:19:54 -05:00
Jonathan Bobel
06a15c5afc
927 - Updates to math in Dashboard area
2023-11-16 12:02:59 -05:00
Carlo Costino
a46a21a519
Revert recent changes for window location updates
...
There are a few other things at play that will require more investigation at a future date:
- Why window.location.assign() or history.pushState() do not work
- If any other config or polyfills are needed with JSDOM
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov >
2023-10-12 10:00:30 -04:00
Carlo Costino
4fff35590b
Attempt at fixing sign-out link after session expires
...
Note that this still does not seem to work; needs more investigation, but not a showstopper for the feature going out!
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov >
2023-10-11 17:10:53 -04:00
Carlo Costino
d4d36087d4
Swapped resetting window.location.href to using window.location.assign
...
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov >
2023-10-11 15:48:30 -04:00
Andrew Shumway
76f9c5e6ab
Merge branch 'main' of https://github.com/GSA/notifications-admin into notify-678
2023-10-10 11:00:37 -06:00
Jonathan Bobel
fd196c6534
814 - Adding alert component to CSV error area
2023-10-05 16:20:37 -04:00
Andrew Shumway
efce22b171
Put timer back to 25 minutes
2023-10-02 15:21:00 -06:00
Andrew Shumway
93ac55ce35
Separate logout by user or inactivity
2023-10-02 15:20:23 -06:00
Andrew Shumway
00db493305
Clean up code/tests
2023-10-02 14:48:35 -06:00
Carlo Costino
57f2ee798b
Made several adjustments for session timer tests
...
- Turned the timeoutPopup module into a proper module that is exported
- Pulled out the setInterval inner function to be its own method
- Adjusted the session timer tests to have additional setup and teardown pieces
- Added a few tests
There may be some additional adjustments needed, e.g., we may not have to expose all of the methods, but then we have to figure out how to make them accessible in the tests another way.
h/t @A-Shumway42 for pairing with me to review all of these changes and approach!
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov >
2023-09-28 15:31:08 -04:00