Alex P
f8f2cc8011
Clean up notifications reducer
2018-03-14 11:23:21 -07:00
Alex P
6ca40ea361
Clean up notifications test
2018-03-14 11:23:21 -07:00
Alex P
28253f820e
Flatten notifications copy, use screaming snake for all items, and make names more descriptive
2018-03-14 11:23:21 -07:00
Alex P
cff88302a8
Rename constants without "copy" suffix
2018-03-14 11:23:21 -07:00
Alex P
020b53ec5e
Use constants for repeated notification durations
2018-03-14 11:18:52 -07:00
Alex P
e0216ccbea
Ensure new version notification has infinite duration
2018-03-14 11:17:02 -07:00
Alex P
6cdfc7c196
Centralize notifications copy into single file
...
Refining some of the copy along the way:
- All messages end with a .
- More consistent word order
- Referring to sources as connections
- Referring to kap configs as connections
2018-03-14 11:15:54 -07:00
Alex P
f1eb382a5b
Introduce centralized location for notifications copy
2018-03-14 11:08:17 -07:00
Alex P
9dbb4cb9e0
Rename 'danger' to 'error' to be more semantic
2018-03-14 11:05:57 -07:00
Alex P
5f5dfe2f15
Reposition notification center when in presentation mode
2018-03-14 10:59:52 -07:00
Alex P
59fb31a1ba
Remove notification shape transformer
2018-03-14 10:59:52 -07:00
Alex P
a1f540e131
Replace addFlashMessage with publishNotification
...
Also refactoring App.js into a SFC
2018-03-14 10:51:37 -07:00
Alex P
489f62b7cb
Transform old notification payload shape into new shape
...
Will eventually have to refactor, but this makes it backwards
compatible for now
2018-03-14 10:48:54 -07:00
Alex P
d098bb0bd4
Discard distinction between dismiss and delete in favor of dismiss
...
Also removing the created timestamp as that isn’t being used for
anything
2018-03-14 10:47:07 -07:00
Alex P
13e437f510
WIP commit
2018-03-14 10:44:29 -07:00
Alex P
e28269c99a
Rename alerts to "Notifications" and factor out Flash Messages
2018-03-14 10:42:06 -07:00
Alex P
e76938d046
WIP Refactor Notifications
...
Most of the pieces are there, still figuring out how the automatic
dismissing is going to be handled
2018-03-14 10:40:03 -07:00
Alex P
967122b56c
WIP Write reducer test for notifications
2018-03-14 10:36:40 -07:00
Alex P
3758124ed1
Fix appearance of notification dismiss button
2018-03-14 10:34:22 -07:00
Alex P
ef7f95f306
WIP replace addFlashMessage with publishNotification
2018-03-14 10:31:03 -07:00
Alex P
40bdd63778
Move notifications test to proper directory and rename
2018-03-14 10:31:03 -07:00
Alex P
840121b2a8
Clean up code
2018-03-14 10:31:02 -07:00
Alex P
55aab520a9
Fix typo
2018-03-14 10:31:02 -07:00
Alex P
464aea39a8
Replace reference to src/shared/ with shared/
2018-03-14 10:31:02 -07:00
Alex P
09be445353
Cleanup syntax in action creators
2018-03-14 10:31:02 -07:00
Alex P
9bf565d2f4
Clean up notifications reducer
2018-03-14 10:31:02 -07:00
Alex P
14037fa89f
Clean up notifications test
2018-03-14 10:31:02 -07:00
Alex P
64e51b8bbd
Flatten notifications copy, use screaming snake for all items, and make names more descriptive
2018-03-14 10:31:02 -07:00
Alex P
b3ca9ba50b
Rename constants without "copy" suffix
2018-03-14 10:31:02 -07:00
Alex P
0a3be44992
Use constants for repeated notification durations
2018-03-14 10:31:02 -07:00
Alex P
5aca18d8a6
Replace magic number with constant
2018-03-14 10:31:02 -07:00
Alex P
39e8e4542e
Hackity hack hack
2018-03-14 10:31:02 -07:00
Alex P
f909e5ef91
Guard against undefined VERSION
2018-03-14 10:31:02 -07:00
Andrew Watkins
6364df5cf7
Remove comment
2018-03-14 10:31:02 -07:00
Andrew Watkins
d56ebf2b2b
Add comment
2018-03-14 10:31:02 -07:00
Alex P
a7399fc42d
Ensure new version notification has infinite duration
2018-03-14 10:31:02 -07:00
Alex P
d938f26438
Centralize notifications copy into single file
...
Refining some of the copy along the way:
- All messages end with a .
- More consistent word order
- Referring to sources as connections
- Referring to kap configs as connections
2018-03-14 10:31:02 -07:00
Alex P
f06e2afe83
Introduce centralized location for notifications copy
2018-03-14 10:31:02 -07:00
Alex P
ec888a6bdc
Fix instances of 'text' with 'message'
2018-03-14 10:31:02 -07:00
Alex P
bcd11eaeb1
Rename 'danger' to 'error' to be more semantic
2018-03-14 10:31:02 -07:00
Alex P
a320812b36
Extend duration of presentation mode notification
...
Felt like it faded too quickly
2018-03-14 10:31:02 -07:00
Alex P
f7ec33f5db
Redesign notification dismiss button
...
X wasn’t centering properly
2018-03-14 10:31:02 -07:00
Alex P
cbd15ec80c
Reposition notification center when in presentation mode
2018-03-14 10:31:02 -07:00
Alex P
aff42515f7
Remove unused updeep dependency
2018-03-14 10:31:02 -07:00
Alex P
45d3517843
Remove dismissedNotifications from redux
2018-03-14 10:31:02 -07:00
Alex P
8b4191d6fe
Remove notification shape transformer
2018-03-14 10:31:02 -07:00
Alex P
c92a205830
Replace notify with publishNotification
...
For consistency
2018-03-14 10:31:02 -07:00
Alex P
9ece8ebc48
Replace autoDismissingNotification with publishNotification
2018-03-14 10:29:40 -07:00
Alex P
a14f860ef1
Replace addFlashMessage with publishNotification
...
Also refactoring App.js into a SFC
2018-03-14 10:29:40 -07:00
Alex P
9f85542d19
Updoot log of Change
2018-03-14 10:25:38 -07:00