Commit Graph

29 Commits

Author SHA1 Message Date
Kiran Niranjan
31b62eaef2 ELECTRON-136 (Disable auto reload feature for r51 release) (#366)
- Disable this feature for r51 release
- Remove commented code
2018-05-10 22:47:06 +05:30
Kiran Niranjan
2de86c8003 Electron-136 (Optimize memory by reloading the app when the user is idle) (#335)
- Refresh app when memory exceeds the threshold and if user is inactive
- Add logic to reload app when memory exceeds threshold and if user is inactive
- Add reload threshold
- Fix unit test
2018-04-11 18:36:46 +05:30
Kiran Niranjan
9991690a7e Electron-266 (Custom title bar for Windows 10) (#311)
1. Implemented new title bar style for Windows
2. Updated design
3. Updated design and added some safety checks
4. Added title bar double click event
5. Added API to update DOM element
6. Updated style as per the design spec
7. Refactored code and handled full screen scenario
8. Added borders to window
9. Added z-index to make sure border is always on top
10. Updated logic to check Windows 10 version
11. Setting frame property as true for pop-out windows
12. Optimized the code to initiate Windows title bar only after injecting CSS
13. Removed API to update content height
14. Added a global config field to enable or disable custom title bar
15. Reading `isCustomTitleBar` before creating main window
16. Fixed shortcut suggestion in menu items
17. Added two more missing shortcut suggestion in menu items
18. Updated menu template to dynamically assign accelerators
19. Changed the func name closeButtonClick to closeWindow
20. Converted all HEX color code to rgba
2018-03-09 16:16:47 +05:30
Kiran Niranjan
08c25e4b58 Electron-256 (Changed the implementation from modal to electron window) (#308)
1. Completed functionality
2. Refactored and added code comments
3. Fixed some style issues
4. Added some safety checks
5. Updated Window size
6. Added some safety checks
7. Fixed some keyboard interaction
8. Fixed styles for Windows OS
9. Added a functionality to place screen picker based on the event sender
10. Updated the code to open the screen picker on top of the focused window instead of finding a ref using window name
11. Added a HTML content to display error message
12. Updated window title
13. Added missing return
14. Changed the method name from `openScreenPickerWindowWindow` to `openScreenPickerWindow`
15. Fixed a typo and added code comment
16. Changes as per PR review
17. Created Enum for key code
18. Updated for loop to for..of loop
19. Updated colors from hex to rgba
20. Setting cursor property as pointer for cancel button and item-container
21. Made window draggable
22. Changed font-family to system fonts
23. Added box shadow for buttons
24. Added a new API to support backward compatibility and deprecated the existing one
25. Fixed the condition prevent a new window from being opened if there is an existing window
2018-03-09 15:31:44 +05:30
Kiran Niranjan
e25c3c6c01 Electron-284 Added an new api for bring to front feature 2018-01-23 13:47:17 +05:30
kiranniranjan
81c8fdf7a5 Electron-249 Resolved conflicts 2018-01-18 16:40:07 +05:30
kiranniranjan
cef30ff128 Merge remote-tracking branch 'upstream/master' into ELECTRON-249
# Conflicts:
#	js/mainApiMgr.js
2018-01-18 16:34:56 +05:30
kiranniranjan
ad700f2d82 Electron-228 - Changed the event name and optimized code 2018-01-18 14:55:11 +05:30
kiranniranjan
20e1f0b6ca Electron-228 - Added an event to terminate screen snippet process whenever the main window is reloaded/navigated 2018-01-18 12:53:27 +05:30
Kiran Niranjan
ab6a4fdc6a Electron-249 - Updated API work flow 2018-01-08 16:43:10 +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
Vishwas Shashidhar
7ab0f75e2e electron-97: completed point 1 in refactoring 2017-08-23 22:08:33 +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
c4a3f6c024 simplify protocol handler api (#96)
* simplify protocol handler api

* update registerProtocolHandler doc

* more documentation updates
2017-05-23 08:06:18 -07:00
Vishwas Shashidhar
cda34b1d70 Electron 24 - protocol handler (#85)
* added idea and coverage directories under gitignore

* electron-24: implemented handlers to process protocol actions

* electron-17: implemented use case for opening app if it is not open and handle the protocol url

* electron-24: added code and documentation comments

* electron-24: added unit tests for the protocol handler

* added npm-debug log to gitignore

* electron-24: added protocol handler support for windows

* electron-24: made changes as per comments on the PR

* electron-16: added more comments and further refactoring
2017-05-13 11:23:44 -07:00
Kiran Niranjan
4087eb3acc Electron 32 (Activity Detection) (#71)
* Implemented user activity detection

* ELECTRON-32: Implemented throttle function

* ELECTRON-32: Fixed some bugs in throttle function

* ELECTRON-32: Updated comments

* ELECTRON-32: Fixed clear interval bug

* ELECTRON-32: Updated as per the review

* ELECTRON-32: Updated return statement

* ELECTRON-32: Added a boolean to the callback function

* ELECTRON-32: Resolved conflicts

* ELECTRON-32 - Added period attribute
2017-05-08 11:30:45 -07:00
Lynn
439f283916 saved layout (#62)
* saved layout

* fix fieldName check
2017-04-20 11:54:11 -07:00
Lynn
b2fcf1afc2 add support for window.open (#59) 2017-04-18 09:02:25 -07:00
Lynn
662fa1d864 upgrade electron 1.6.5 (#51) 2017-04-03 16:50:35 -07:00
Lynn
7ee0418c82 clean up event listeners in proxy (#50) 2017-03-30 16:20:51 -07:00
Lynn
75d1342b28 add max queue length for notifications (#46) 2017-03-28 18:09:51 -07:00
Lynn
06e93cd9c3 update notify interface (#45) 2017-03-28 17:04:21 -07:00
Lynn
2ded38c542 Proxy unit tests (#40)
* add unit test for proxy

* more unit tests for proxy
2017-03-23 16:19:59 -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
Lynn
38f92b8849 browserify preload scripts (#30) 2017-03-07 14:44:31 -08:00
Lynn
4645f3a21e add badge count api (#28) 2017-03-06 21:09:10 -08:00
Lynn
71387c1dce add linting (#27) 2017-03-03 16:07:48 -08:00
Lynn
40e6b173af add logging and refactor (#26) 2017-03-01 16:32:21 -08:00