Commit Graph

8503 Commits (2c8ce9029b62d3d75d50c643f1a3c7f95354b663)

Author SHA1 Message Date
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
Alex P 549dd8969b 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:25:38 -07:00
Alex P 7d180470fc 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:25:38 -07:00
Alex P 5cba17bea8 Modernize app component definition 2018-03-14 10:25:38 -07:00
Alex P b004ada48d WIP commit 2018-03-14 10:24:44 -07:00
Alex P 487189a45b Rename alerts to "Notifications" and factor out Flash Messages 2018-03-14 10:24:44 -07:00
Alex P 93379ed23e 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:24:44 -07:00
Alex P 59cd86dedb WIP Write reducer test for notifications 2018-03-14 10:23:42 -07:00
Alex P 5ab61c7ab6 Change initial state of notifications to empty array 2018-03-14 10:23:42 -07:00
Alex P 882fb2492e Add info type to valid notification types 2018-03-14 10:23:42 -07:00
Alex P 715b90f0ec Fix appearance of notification dismiss button 2018-03-14 10:23:42 -07:00
Andrew Watkins 3744627c51 Merge pull request #2979 from influxdata/chore/ci-js-test-performance
Make js tests run faster in our CI process
2018-03-14 10:18:52 -07:00
Andrew Watkins 956f664fc4 Make js tests run faster in our CI process
https://facebook.github.io/jest/docs/en/cli.html#runinband
2018-03-14 10:00:37 -07:00
Iris Scholten 278b21b750 Merge pull request #2968 from influxdata/feature/graph-table-time-format
Table Graph Time Format and Saving to Backend
2018-03-14 09:58:30 -07:00