Commit Graph

104 Commits

Author SHA1 Message Date
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 Shashidhar
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 Shashidhar
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
Vishwas Shashidhar
8f518e3936
feat: SDA-1995: implement download manager for Mana (#982)
* SDA-1995: add download handler functionality for Mana

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

* SDA-1995: add unit tests

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

* SDA-1995: fix unit tests on Windows

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

* SDA-1955: address PR comments

Signed-off-by: Vishwas Shashidhar <vishwas.shashidhar@symphony.com>
2020-05-01 13:20:07 +05:30
Vishwas Shashidhar
a240621a17
feat: SDA-1983: implement simplified installer window on SDA (#977)
* SDA-1983: create the new welcome window

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

* SDA-1983: add logic to validate pod url and open welcome page on startup conditionally

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

* SDA-1983: add unit tests and finish the full logic implementation

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

* SDA-1983: minor fixes

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

* SDA-1983: fix sso double slash

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

* SDA-1983: fix deleting url from global config object

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

* SDA-1983: simplify setting user config

Co-Authored-By: Kiran Niranjan <kiranleo1992@gmail.com>

* SDA-1983: delete unused variable

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

* SDA-1983: add japanese and french translations

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

Co-authored-by: Kiran Niranjan <kiranleo1992@gmail.com>
2020-04-27 15:05:25 +05:30
Kiran Niranjan
5338649aaf
SDA-1924 - Add new fields for about-app window (#958) 2020-03-31 17:28:51 +05:30
Kiran Niranjan
d61473febe
fix: SDA-1890 (Fix auto launch on startup for cloud config) (#934)
* SDA-1890 - Fix auto launch on start up for cloud config

* SDA-1890 - Fix unit tests
2020-03-20 10:38:38 +05:30
Kiran Niranjan
996bd858a7
SDA-1880 & SDA-1882 - Fix background throttling issue (#925) 2020-03-18 19:50:27 +05:30
Vishwas Shashidhar
82543debfb
feat: SDA-1838: upgrade electron framework to 8.x (#895)
* add support for electron 8.x

* update node-abi to latest

* 8.x: fix unit tests

* upgrade dependencies

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

* SDA-1838: removed unwanted console log

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

* SDA-1838: refactor code

Signed-off-by: Vishwas Shashidhar <vishwas.shashidhar@symphony.com>
2020-03-06 14:37:18 +05:30
Vishwas Shashidhar
5504a8e8ca
fix: [SDA-1567] add menu item for disable gpu (#884)
* SDA-1567: upgrade electron to 6.1.7

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

* SDA-1567: add menu item for managing gpu

* SDA-1567: add documentation for dialog-handler.ts

* SDA-1567: fix chrome flags unit test

* SDA-1567: update package-lock.json

* SDA-1567: add disable gpu menu item

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

* SDA-1567: fix unit tests and update dialog-handler.ts

- Fix unit tests
- Update dialog handler to write to config file regardless of user restarting the app immediately

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

* SDA-1567: revert electron upgrade

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

* SDA-1567: fix translations

Signed-off-by: Vishwas Shashidhar <vishwas.shashidhar@symphony.com>
2020-03-04 17:49:43 +05:30
Kiran Niranjan
3b94161e59
feat: SDA-1814 (Redesign about Symphony window) (#880)
* SDA-1814 - Redesign about symphony window

* SDA-1814 - text align right

* SDA-1748 - Update design changes

* SDA-1748 - Update window height
2020-03-03 11:53:32 +05:30
Kiran Niranjan
45cfbbdd6b
feat: SDA-1748 (Add support for Cloud Config) (#878)
* SDA-1748 - Initial Cloud config

* SDA-1748 - Read menu items enabled values from filtered cloud config

* SDA-1748 - Fix unit tests

* SDA-1748 - Fix issues with custom title bar and devtools

* SDA-1748 - Fix unit tests
2020-03-03 11:15:27 +05:30
Kiran Niranjan
21b7e20e9e SDA-1395 - Disable context menu for action buttons (#858) 2020-01-27 11:15:20 +05:30
Kiran Niranjan
a9fc026df9 SDA-1651 - Temporarily disable AOT when screen snippet is open (#842) 2020-01-08 17:18:03 +05:30
Kiran Niranjan
5c32143856 fix: SDA-1546 (Update SDA Icons) (#840)
* SDA-1546 - Update app icons

* SDA-1546 - fix unit tests

* SDA-1546 - Fix icns file for MacOS
2020-01-04 14:18:02 +05:30
Johan Kwarnmark
d2e825601f Show SFE version in about-window 2019-11-06 14:49:23 +01:00
Johan Kwarnmark
9845cf3dc1 Merge remote-tracking branch 'upstream/master' 2019-10-30 16:40:08 +01:00
Kiran Niranjan
0431a9f5ad fix: Upgrade master to 6.x (#795)
* Upgrade Electron version to 6.x

* fix: SDA-1347 (Group multiple processes into a single task bar icon) (#778)

* update mac build script

* update mac packager

* feat: ELECTRON-1462 (Combine more information into about app window) (#777)

* ELECTRON-1462 - Merge more info window in to about app window

* ELECTRON-1462 - Adjust window size

* ELECTRON-1462 - Add line space

* ELECTRON-1462 - Resize for windows

* ELECTRON-1462 - Add translation for swift search

* ELECTRON-1462 - Adjust width for Windows OS

* ELECTRON-1462 - Add about app snapshots file

* SDA-1347 - Group multiple processes into single task bar icon

* Change dependency from gulp-tsc to gulp-typescript

* 6.x Update activity detection api

* 6.x Update aip file to remove unwanted spellchecker files

* 6.x Update electron version to 6.1.2

* 6.x Update SDA version and change spellchecker base

* 6.x Update electron-builder version to support 6.x

* 6.x fix escape char for window build command

* 6.x Optimize log path set and get methods

* 6.x Change yml to json

* 6.x Make Window local path as default user data path
2019-10-30 20:58:25 +05:30
Johan Kwarnmark
0d97cf2890 Add new layout of screen sharing indicator + update test 2019-10-30 12:55:25 +01:00
Vishwas Shashidhar
67553d7b46
fix: SDA-1526: remove support for opening non http(s) links (#786)
* SDA-1526: add logic to ignore non http or https urls

* SDA-1526: update unit test
2019-09-27 12:01:05 +05:30
Kiran Niranjan
073450ab7f feat: ELECTRON-1462 (Combine more information into about app window) (#777)
* ELECTRON-1462 - Merge more info window in to about app window

* ELECTRON-1462 - Adjust window size

* ELECTRON-1462 - Add line space

* ELECTRON-1462 - Resize for windows

* ELECTRON-1462 - Add translation for swift search

* ELECTRON-1462 - Adjust width for Windows OS

* ELECTRON-1462 - Add about app snapshots file
2019-09-04 17:58:43 +05:30
Vishwas Shashidhar
c09eabbc8b
feat: ELECTRON-1463: support linux build (#770)
* ELECTRON-1463: support linux build

* ELECTRON-1463: add scripts for linux build

* ELECTRON-1463: fix unit tests

* ELECTRON-1463: fix logger issue

* ELECTRON-1463: fix menu not showing up

* ELECTRON-1463: add screen-snippet functionality for linux

* ELECTRON-1463: fix log path for linux

* ELECTRON-1463: fix config path for linux

* ELECTRON-1463: fix config path for linux

* ELECTRON-1463: fix path in spellchecker

* ELECTRON-1463: fix log path issues

* ELECTRON-1463: remove unneeded dependencies and support rpm
2019-08-20 14:30:13 +05:30
Kiran Niranjan
f24498699a fix: ELECTRON-1171 (Sets font-family dynamically based on locale) (#765)
* ELECTRON-1171 - Apply font-family dynamically based on locale

* ELECTRON-1171 - Reset font family for network error
2019-08-16 12:12:01 +05:30
Kiran Niranjan
b872370418 ELECTRON-1464 - Update custom title bar's title correctly (#755) 2019-08-01 21:25:50 +05:30
Kiran Niranjan
d5d59d3861 fix: ELECTRON-1426 (Update custom title bar icon and fix Symphony icons) (#749)
* ELECTRON-1426 - Update custom title bar icon and fix Symphony icons

* ELECTRON-1426 - Bump screen snippet version to 1.0.7 to support new icon
2019-07-24 00:18:49 +05:30