Commit Graph

44 Commits

Author SHA1 Message Date
Vishwas Shashidhar
c5e26c49e7
ELECTRON-962: fix undesired javascript error (#557)
When a notification’s position is changed and the browser window is destroyed, SDA throws up an undesired error message which is not apt for users to see. This was because of a validity check missing to see if the browser window still exists.
2019-01-25 12:26:24 +05:30
VICTOR RAPHAEL BRAGA DE SALES MASCARENHAS
c505554289 ELECTRON-903: fixing the notification text overflowing under user avatar (#548) 2019-01-14 22:23:33 +05:30
Vishwas Shashidhar
7e8814f862 ELECTRON-907: add more logging
- add logging in all the critical places
- add logging for relevant events
- add support for setting chrome flags from command line
- add support for deleting old log files
2018-11-28 14:48:56 -08:00
Kiran Niranjan
2a1f2b16e8 ELECTRON-801 (Dynamically update notification based on message length) (#511)
* ELECTRON-801 - Dynamically update notification based on message length

* ELECTRON-801 - hide text only if the length is greater than 96 char
2018-10-02 20:31:37 +05:30
VICTOR RAPHAEL BRAGA DE SALES MASCARENHAS
0507507ab8 ELECTRON-710 - Fix Always on top: notification does not show on top (#491) 2018-09-17 15:57:38 +05:30
VICTOR RAPHAEL BRAGA DE SALES MASCARENHAS
29fb713b75 ELECTRON-695 - Fixing hover close button on notification (#475) 2018-08-28 11:47:24 +05:30
Kiran Niranjan
75d2e06673 ELECTRON-591 - Add logic to close up child windows whenever parent window is navigated or reloaded (#446) 2018-08-01 14:51:29 +05:30
Vishwas Shashidhar
1898c36508
ELECTRON-505: add dev tools administration control (#435)
* ELECTRON-505: enable / disable dev tools

implement logic to disable / enable dev tools with installer and configuration file

* ELECTRON-505: fix mac installer issues

* ELECTRON-505: add dev tools option to the windows installers

* ELECTRON-505: enable signing in the installers

* ELECTRON-505: update mac installer dev tools label text

* ELECTRON-505: remove dev tools from configuration windows
2018-07-20 16:23:08 +05:30
Vishwas Shashidhar
e1c22ea360
ELECTRON-582: upgrade electron version (#417)
- upgrade electron version
- upgrade other dependencies
- fix linting issues
2018-07-02 17:14:30 +05:30
Vishwas Shashidhar
25c59230f1
Revert "ELECTRON-430: Enable context isolation" (#355) 2018-05-03 12:23:01 +05:30
Vikas Shashidhar
77999b3a87
Merge pull request #340 from VikasShashidhar/Electron-430
ELECTRON-430: Enable context isolation
2018-05-03 12:09:20 +05:30
Kiran Niranjan
4d15f03492 Electron-414 (Add a logic not to close the notifications on mouse hover) (#338)
- Add logic to not close the notification on mouse hover
- Clear timer when the notification content is reset
- Move logic from preload to main process
- Remove unwanted code
- Remove event listener on reset
2018-05-01 12:04:24 +05:30
Kiran Niranjan
a24255bf69 Electron-417 (Reposition active notifications whenever the config is updated) (#339)
- Reposition active notifications when the config is updated
- Fix spectron test cases
2018-04-25 16:31:43 +05:30
Vikas Shashidhar
2fb82e9d60 ELECTRON-430: Enable context isolation
1. Enables context isolation when creating any browser window instance.
2018-04-18 12:59:44 +05:30
Kiran Niranjan
6914f30151 Electron-235 (Fix javascript error in notification) (#326)
- Fix javascript error "object has been destroyed"
- Fix notification javascript error and position issue
- Remove unused export
2018-03-18 14:35:02 +05:30
Vishwas Shashidhar
83d62350e1 ELECTRON-293: remove notification limit of 5 and match it with screen size 2018-03-06 20:58:28 +05:30
Kiran Niranjan
22d913f6c1 Electron-222 - Removed the code which was deleting the method on args 2018-01-02 14:32:40 +05:30
Kiran Niranjan
c8101a9b1e Electron-222
Added a safety check to prevent from using an already destroyed notification window
Added method to close all notification when notification config is changed
2017-12-29 15:59:19 +05:30
Kiran Niranjan
4fafe44423 Electron-211 - Updated the toast notification to display company information 2017-11-14 13:44:51 +05:30
Kiran Niranjan
6675d3937f Electron-134 - Optimized CSS & made changes as per review comments 2017-11-05 10:23:40 +05:30
Kiran Niranjan
48bad2eddb Electron-134 - setting the pod information empty until the back is ready 2017-10-26 14:29:37 +05:30
Kiran Niranjan
69a1e94445 Merge remote-tracking branch 'upstream/master' into ELECTRON-134 2017-10-26 09:58:24 +05:30
Kiran Niranjan
89767363c5 Electron-181 - Removed the unwanted closeAll function which was throwing an error 2017-10-25 13:30:46 +05:30
Kiran Niranjan
6b6a1d27a7 Electron-134 - Completed the notification redesign 2017-10-10 14:37:11 +05:30
Kiran Niranjan
5cd0568096 Electron-134 - Redesigned notification for windows 2017-10-04 12:43:06 +05:30
Kiran Niranjan
b94dbdef68 Electron-134 - Updated logos 2017-09-27 19:00:39 +05:30
Kiran Niranjan
3aadfeeff0 Electron-134 - Redesigned notification for windows 2017-09-21 17:12:41 +05:30
Vishwas Shashidhar
5f557247a7 electron-97: refactored the code as per the ticket (points 3 & 4 covered) 2017-08-24 16:18:32 +05:30
Vishwas Shashidhar
28bd9399aa electron-97: refactored the code as per the ticket (points 2 & 6 covered) 2017-08-24 13:21:02 +05:30
Kiran Niranjan
2e943359bb Electron-104 - Optimized async dependency in electron-notify 2017-08-04 11:58:06 +05:30
Vishwas Shashidhar
83fb71cfb2 electron-99: added attributes to control sandboxing 2017-07-14 12:58:59 +05:30
Kiran Niranjan
aec84b823b Electron-93 - Moved the node env const to misc 2017-07-10 13:09:10 +05:30
Kiran Niranjan
654441ce8c Implemented method to turn off sandbox mode when the app is running in node env 2017-07-06 18:05:36 +05:30
Kiran Niranjan
2b6ec2aeb8 Electron-43 (Configure Notification Position) (#142)
* ELECTRON-43 - Implemented Alert settings functionality

* ELECTRON-43
1. Added multiple monitor support for notifications in windows
2. Implemented a settings window to change notification position
3. Completed implementing configure alert position window

* ELECTRON-43 - Refactored code and changed config data

* ELECTRON-43
1. Refactored the code
2. Added modal property to browser window

* ELECTRON-43
1. Resolved conflicts
2. Made config default display value to null
3. Renamed api method from 'showAlertSettings' to 'showNotificationSettings' for consistency
4. Fixed some bugs
2017-06-16 15:29:56 -07:00
Kiran Niranjan
85a21ec4e8 Electron-65 (Logging) (#121)
* Electron-65 - Added more logs

* Electron-65 - Removed some logs as per the review

* Electron-65 - Removed unused log variables
2017-06-02 09:08:55 -07:00
Lynn
f97a13c382 add logging and unit tests (#117)
* add logging and unit tests

* fix logging msg spell for notification
2017-05-31 21:39:08 -07:00
Lynn
1047a26f15 update notifications css (#56) 2017-04-11 15:01:14 -07:00
Lynn
bcd2f8e645 fix event timing for events (#53) 2017-04-06 10:07:58 -07:00
Lynn
8d94893ea8 Fix notf close (#52)
* fix notf close

* send close event for queued items
2017-04-04 20:16:14 -07:00
Lynn
662fa1d864 upgrade electron 1.6.5 (#51) 2017-04-03 16:50:35 -07:00
Lynn
7989bcc044 add sticky notf (#49) 2017-03-29 20:11:08 -07:00
Lynn
27d58a94d7 add notification grouping (#48) 2017-03-29 17:42:15 -07:00
Lynn
75d1342b28 add max queue length for notifications (#46) 2017-03-28 18:09:51 -07:00
Lynn
0dfa3339a3 notifications implementation (#34)
* wip: notifications

* wip: more notifications

* wip: add getter to proxy

* wip: add setter

* wip: add static getter and method

* wip: add event handlers

* wip: add doc

* wip: add api demo
2017-03-21 09:15:18 -07:00