Commit Graph
126 Commits
Author SHA1 Message Date
Salah Benmoussati 636f39a48a Merge branch 'main' into bugfix/SDA-3377 2021-10-28 11:40:30 +02:00
Salah Benmoussati 071cb939ef SDA-3377 Processing multiple chrome flags provided as installation parameters 2021-10-28 10:48:45 +02:00
Kiran Niranjan b7909442d7 🐛 SDA-3424 (Disable action buttons in custom title bar & fix initial load issue) (#1279)
* SDA-3424 - Disable action buttons in custom title bar & fix initial load issue

* SDA-3424 - update snapshot file
2021-10-28 08:16:20 +05:30
Kiran Niranjan aad616d927 SDA-3409, SDA-3408, SDA-3402, SDA-3412 - Fix issues with electron bounds (#1274)
* SDA-3409 - Fix view's x position w.r.t external display

* SDA-3408 - Fix zoom controls for browserView

* SDA-3409 - Use main window bounds for browser view

* SDA-3409 - Fix blank welcome screen

* SDA-3409 - Fix blank welcome screen

* SDA-3402 - Create a separate window for the welcome screen

* SDA-3409 - Fix view size issues

* SDA-3409 - Workaround for electron fullscreen event

* SDA-3402 - Fixes issue with maximize and unmaximize

* SDA-3409 - Rename let to const
2021-10-25 15:02:36 +05:30
Kiran Niranjan e7f4470d9c SDA-2547 (Upgrade electron version to 14.0.1) (#1267)
* SDA-2547 - Upgrade electron version to 14.0.1

* SDA-2547 - refactor and fix unit tests

* SDA-2555 - Move custom title bar away from remote module

* SDA-2555 - Update API new-window to setWindowOpenHandler and fix issues

* SDA-2555 - Arrange imports

* SDA-2555 - Fix unit tests

* SDA-3387 - Fixed reload, native notification issues & finally removed the SFE CSS injection 🎉

* SDA-2547 - Fix fullscreen state on Windows

* SDA-2552 - Update version info

* SDA-2548 - Fix media permission

* SDA-2547 - Get app name from package.json
2021-10-20 13:10:58 +05:30
psjostrom 0ef02af15e SDA-3322 Fix snapshot test 2021-09-24 11:32:45 +02:00
sbenmoussati 9bd96a4cda SDA-3292 Close button hovering not taken into account to prevent notification close 2021-08-13 15:50:12 +02:00
sbenmoussati 3c41cf8e50 SDA-3281 Client 1.5 not sending user picture in Settings > Alerts > See sample 2021-08-09 16:25:41 +02:00
sbenmoussati 49c436f60e SDA-3237 Notifications re-design 2021-07-28 21:56:12 +02:00
sbenmoussati 9e85220350 UT fix 2021-06-09 12:18:27 +02:00
psjostrom 614b3beef9 SDA-3033 Add ability to close all windows from SFE-Lite 2021-04-01 15:34:02 +02:00
Parth Prajapati ef794335bc C2-9049: Zoom restriction in SDA (#1196) 2021-03-16 13:19:44 +05:30
Johan Kwarnmark 50524dddd3 Updating snapshot test 2021-02-01 17:50:02 +01:00
Vishwas Shashidhar 92889a1c5c SDA-2887: analytics for SDA crashes (#1183)
* format all files with prettier

* chore: format the problematic files

* chore: fix few more linting issues

* SDA-2887: add analytics for crashes
2021-01-29 21:13:56 +05:30
Vishwas Shashidhar e9773721e4 chore: SDA-2799: format all files with prettier (#1181)
* format all files with prettier

* chore: format the problematic files

* chore: fix few more linting issues
2021-01-29 15:53:22 +05:30
psjostrom 5c5462592d SDA-2824 Set notification position modal darkmode 2021-01-14 12:10:20 +01:00
Vishwas Shashidhar 805b041859 Merge branch 'master' of github.com:symphonyoss/SymphonyElectron 2021-01-04 12:59:35 +05:30
Vishwas Shashidhar 164faf3177 chore: update about app test snapshot 2021-01-04 12:58:55 +05:30
Vishwas Shashidhar 8912c25003 feat: SDA-2775: Notification Position Window New UI (#1164)
* SDA-2775: notification position window new ui

- Create new user interface for notification position window
- Add unit tests

* SDA-2775: increase test coverage and format css
2020-12-31 10:06:25 +05:30
psjostrom 3f08517ee2 SDA-2571 Updated event variable name 2020-12-18 14:11:15 +01:00
psjostrom 4d9f3fc9ee SDA-2751 Fixed UTs 2020-12-10 13:18:23 +01:00
Kiran Niranjan 698036d7af feat: SDA-2614 (Implement native electron notifications) (#1135)
* feat: SDA-2614 - Implement native electron notifications

* feat: SDA-2614 - Refactor and fix unit tests

* feat: SDA-2614 - Rename extraData to notificationData
2020-12-09 11:45:29 +05:30
psjostrom 2d80e41695 SDA-2571 Added correct BI events to screen annotate 2020-12-03 17:22:06 +01:00
Vishwas Shashidhar 170681750e Merge branch 'master' into SDA-2533-Annotate-P5 2020-12-02 11:18:24 +05:30
psjostrom a0b2a22ae2 SDA-2710 Fix broken image icon bug on windows 2020-12-01 17:11:00 +01:00
Johan Kwarnmark fabb8fb860 sda-2700 show 1.5/SFE 2.0/SFE-lite 2020-11-30 12:14:09 +01:00
psjostrom 55f68fc225 SDA-2571 SDA-2721 Add annotate BI and fix window size on windows 2020-11-27 17:07:46 +01:00
psjostrom e18b431c98 feat: SDA-2705 Add possibility for panning 2020-11-26 10:27:18 +01:00
psjostrom 94eb41719b SDA-2533 Add clear, erase and done functionality. Further optimizations of logic. 2020-11-24 10:46:41 +01:00
Kiran Niranjan eb94467220 fix: SDA-2644 - Resolve conflicts and add new changes 2020-11-24 10:45:11 +01:00
psjostrom 237341d805 SDA-2533 Fixes after code review 2020-11-20 09:27:52 +01:00
psjostrom 064b9b53b2 SDA-2533 Add clear, erase and done functionality. Further optimizations of logic. 2020-11-20 09:16:17 +01:00
Kiran Niranjan 6811683e29 fix: SDA-2644 (Fix snippet window resize issue based on screen size) (#1115)
* fix: SDA-2644 - Fix snippet window resize issue based on screen size

* fix: SDA-2644 - Resolve conflicts and add new changes

* fix: SDA-2644 - fix background for min width

* fix: SDA-2644 - Limit snippet window size base on screen size
2020-11-19 19:04:08 +05:30
psjostrom 794334ef90 Merge branch 'master' into SDA-2533-Add-Annotate-To-Screenshot 2020-11-17 09:26:06 +01:00
Kiran Niranjan 33ed6f709c feat: SDA-2652 - add new API to set if running in mana client (#1113) 2020-11-17 11:51:31 +05:30
psjostrom 5545f051f0 Merge branch 'master' into SDA-2533-Add-Annotate-To-Screenshot 2020-11-13 14:47:53 +01:00
psjostrom 31e77cb2d2 SDA-2533 Adding annotate to screen shot. 2020-11-13 14:41:20 +01:00
Johan Kwarnmark 5f927e5d57 sda-2270 update the test 2020-11-10 16:51:41 +01:00
psjostrom 153973862a SDA-2402 Updated snapshot test 2020-11-09 09:15:07 +01:00
Vishwas Shashidharandpsjostrom 198d891c94 feat: SDA-2456: add screen annotate tool (#1103)
* SDA-2456: snipping tool component

- Create a react component
- Stylise the component
- Add functionality to open a new window
- Add event against the `Done` button and upload snippet

* SDA-2456: snipping annotate tool

- Added icons for undo, redo & clear
- Made the snipping tool window & the image container dynamic

* SDA-2456: make image dynamic

* SDA-2456: add snapshot tests

* SDA-2456: add the height & width properties to the image container

* SDA-2456: update snipping tool snapshot

* SDA-2456: add support for button selected border

* SDA-2456: close existing annotate window

* SDA-2456 Changed from class to functional component

* SDA-2456: remove outdated tests

* SDA-2456: fix image dimension issue

* SDA-2456: address PR comments by Kiran

Co-authored-by: psjostrom <per.sjostrom@symphony.com>
2020-11-06 12:13:29 +05:30
Vishwas Shashidhar bf6e783885 fix: SDA-2559: Delete app cache on Install (#1097)
* SDA-2559: Delete app cache on Install

- Only remove a select set of directories related to cache

* SDA-2559: fix failing tests
2020-10-20 17:22:47 +05:30
Vishwas Shashidhar e3720c22f6 feat: SDA-2559: clean app cache on install & crash (#1091)
* SDA-2559: clean app cache on install

- Clean app cache on a fresh install of SDA to avoid upgradation problems
- Clean app cache and restart SDA when it crashes or is unresponsive

* SDA-2559: fix failing unit test

* SDA-2559: add dialog before restarting the app

* SDA-2559: add translations

* SDA-2559: fix failing unit tests and refactor code
2020-10-14 17:28:28 +05:30
Vishwas Shashidhar 42edc38413 mock electron log in all tests 2020-09-25 15:16:33 +05:30
Vishwas Shashidhar 9c4adee1cf Revert "feat: SDA-2315: add chrome flag for network in process" 2020-08-12 18:51:19 +05:30
Vishwas Shashidhar f7cc49674a SDA-2315: add chrome flag for network in process 2020-08-11 12:50:25 +05:30
Johan Kwarnmark 9de8d38695 fixed the snap test case for about dialog 2020-08-06 17:38:34 +02:00
Johan Kwarnmark b7292aa84e Update unit test regarding chrome flags to match the new flag added 2020-07-29 10:06:49 +02:00
Vishwas ShashidharandKiran Niranjan 6940d78068 feat: SDA-2056: update welcome screen url to [POD].symphony.com (#1009)
* add support for electron 8.x

* update node-abi to latest

* 8.x: fix unit tests

* upgrade to electron 9.x

Signed-off-by: Vishwas Shashidhar <vishwas.shashidhar@symphony.com>

* rebase 9.x against master

Signed-off-by: Vishwas Shashidhar <vishwas.shashidhar@symphony.com>

* 9.x: fix windows installer files

Signed-off-by: Vishwas Shashidhar <vishwas.shashidhar@symphony.com>

* rebase 9.x against master and fix issues

Signed-off-by: Vishwas Shashidhar <vishwas.shashidhar@symphony.com>

* 9.x - update aip file

* 9.x -> downgrade to electron 9.0.0-beta.22

Signed-off-by: Vishwas Shashidhar <vishwas.shashidhar@symphony.com>

* bump up electron version to 9.0.0

Signed-off-by: Vishwas Shashidhar <vishwas.shashidhar@symphony.com>

* upgrade node-abi to support electron 9

* update package-lock.json

* 9.x -> enable signing on aip

Signed-off-by: Vishwas Shashidhar <vishwas.shashidhar@symphony.com>

* 9.x -> update package-lock.json

Signed-off-by: Vishwas Shashidhar <vishwas.shashidhar@symphony.com>

* 9.x -> fix screen share indicator mac script issue

Signed-off-by: Vishwas Shashidhar <vishwas.shashidhar@symphony.com>

* SDA-2080 - Target jss class name instead of dev defined

* SDA-2080: fix title bar issue with 9.x

* SDA-2080 - Make text notification black for 1.5 and update style template

* 9.x: add electron-osx-sign to fix 9.x build issues

Signed-off-by: Vishwas Shashidhar <vishwas.shashidhar@symphony.com>

* SDA-2091 - Only pass required data via IPC

* SDA-2092 - prevent notifications from opening in fullscreen state in MacOS

* SDA-2056: set [POD] as the placeholder for default pod url

Signed-off-by: Vishwas Shashidhar <vishwas.shashidhar@symphony.com>

* SDA-2056: fix unit tests

Signed-off-by: Vishwas Shashidhar <vishwas.shashidhar@symphony.com>

* SDA-2056: remove post install script.

Signed-off-by: Vishwas Shashidhar <vishwas.shashidhar@symphony.com>

Co-authored-by: Kiran Niranjan <kiran.niranjan@symphony.com>
2020-06-02 13:00:30 +05:30
Johan Kwarnmark 354867b764 Add mock for setFullScreenable 2020-05-27 09:15:37 +02:00
Vishwas Shashidhar 45acfc27fe SDA-1955: refactor method names appropriately
Signed-off-by: Vishwas Shashidhar <vishwas.shashidhar@symphony.com>
2020-05-05 11:39:45 +05:30