Commit Graph

24 Commits

Author SHA1 Message Date
Kiran Niranjan
96707907c7 ELECTRON-730 (Implement aggressive refresh to optimize refresh) (#488)
* ELECTRON-730 - Implement aggressive refresh to optimize refresh

* ELECTRON-730 - Increase memory threshold to 800MB
2018-09-01 16:35:53 +05:30
Kiran Niranjan
17a197a8d2 Revert "ELECTRON-512 (Create API only if the location.origin matches with whitelist or pod URL)" (#428)
* Revert "fix path issues on x86 aip file"

This reverts commit 4395d18dc0.

* Revert "fix aip path issue for screen snippet"

This reverts commit eeeb5cbc67.

* Revert "bump up version number to 2.9.0"

This reverts commit 77de432eb9.

* Revert "ELECTRON-512 (Create API only if the location.origin matches with whitelist or pod URL) (#421)"

This reverts commit d47e18072a.
2018-07-17 10:43:26 +05:30
Kiran Niranjan
d47e18072a ELECTRON-512 (Create API only if the location.origin matches with whitelist or pod URL) (#421)
- Create API only if the location.origin matches with whitelist or pod URL
- Include isNodeEnv for Spectron test cases to pass
- Reset whitelistUrl to support SSO login
- Remove unnecessary return statement
2018-07-09 18:09:45 +05:30
Kiran Niranjan
cc39f43ee7 ELECTRON-483 (Implement a functionality to display snack bar) (#390)
- Implement a functionality to display snack bar
- Localize snack bar
- Move key press logic to windowMgr
- Center snackbar
- Add functionality to remove snackbar on leave-full-screen event
- Add safety check
- optimize code to listen keydown event only if the window is in full screen
2018-07-09 13:24:35 +05:30
Vishwas Shashidhar
a26a1d609c
ELECTRON-519: support Japanese localization for menus, dialogs and windows (#401)
- add basic localisation implementation for menu items
- add more strings to support localisation on menus
- add more strings to support localisation on menus
- add all menu items for localisation
- refactor i18n code
- Add localization for screen picker, basic auth and notification settings child windows
- Add localization bridge
- add i18n support to more strings
- update translations
- add events to change language and redo menu template
- move config update logic to windowMgr
- fix linting issues and refactor
- add snipping tool messages
2018-06-19 20:26:04 +05:30
Kiran Niranjan
2fe67c6fb6 Electron-445 - Change API from presence status to meeting status 2018-05-10 13:10:41 +05:30
Kiran Niranjan
a5f5556bd2 Electron-445 - Verify user presence status before reloading the app 2018-05-04 16:08:09 +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
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
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
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
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
8d94893ea8 Fix notf close (#52)
* fix notf close

* send close event for queued items
2017-04-04 20:16:14 -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