summaryrefslogtreecommitdiffhomepage
path: root/desktop
AgeCommit message (Collapse)AuthorFilesLines
2025-02-25Change script file to load in index.html after vite migrationTobias Järvelöv1-2/+1
With the migration to vite we do not need to pre-bundle or transpile code before referencing it in the index file, as vite will resolve and perform the necessary actions for us, i.e. transpile the typescript and bundle it. The global exports variable was only used for the gulp bundle and has therefore also been removed.
2025-02-25Update resource paths after index.html was movedTobias Järvelöv1-8/+8
2025-02-25Move index.html to rootTobias Järvelöv1-0/+0
Vite uses the convention that index.html is in the root folder.
2025-02-25Update main file in package.json to vite outputTobias Järvelöv1-1/+1
2025-02-25Add vite config to included files in tsconfigTobias Järvelöv1-1/+2
To ensure we get proper ts linting.
2025-02-25Add vite configTobias Järvelöv1-0/+117
2025-02-25Add utilities used for the vite configTobias Järvelöv1-0/+55
See the vite.config.ts file's comments for an explanation of why we need to use these utilities.
2025-02-25Add vite npm scriptsTobias Järvelöv1-0/+2
2025-02-25Update package-lock.jsonTobias Järvelöv1-450/+1940
2025-02-25Add workaround for rollup platform-specific deps not installedTobias Järvelöv1-0/+8
There is a known bug with npm where optional dependencies aren't installed correctly, see: - https://github.com/npm/cli/issues/4828 - https://github.com/rollup/rollup/pull/5267 - https://github.com/vitejs/vite/issues/15120 In order to resolve this we have to explicitly list the optional dependencies in our own package.json for them to be resolved and installed correctly.
2025-02-25Add vite dependenciesTobias Järvelöv1-0/+3
Note that vite had to be pinned to an exact version to fix issues with it not being resolved correctly in the mullvad-vpn package.
2025-02-25Reorder dependencies alphabeticallyTobias Järvelöv1-2/+2
This is done automatically by npm when installing a dependency. The order should probably have been alphabetical when the win-shortcuts dependency was added.
2025-02-25Set postinstall script to build typescript libTobias Järvelöv2-4/+8
We want the typescript files to be available after the npm installation has completed.[1] Previously we only built the typescript files in packages when they would be used on the platform we are building for. However, until the typescript files have been generated we can't use imports in the mullvad-vpn package to the other packages, such as win-shortcuts. If we use imports from these packages then the builds will fail on platforms where these packages are not used, as they haven't been built before we transpile typescript into javascript. The build failure occurs as typescript will try to transpile all files in the directories specified in tsconfig.json, regardless if the file will actually be used for the platform or not. [1] https://linear.app/mullvad/issue/DES-1588/switch-to-other-build-system#comment-3546e3b9
2025-02-25Increase icon size for smaller iconsOliver1-2/+2
2025-02-25Fix spacing when no results in split tunneling viewOliver1-35/+34
2025-02-25Fix spacing between browse button and app listTobias Järvelöv1-6/+9
2025-02-25Use same constant for icon sizes in Icon and IconButtonOliver2-12/+4
2025-02-25Rename icon badge svg assetsOliver3-2/+2
2025-02-25Rename spinner svg assetOliver2-1/+1
2025-02-25Add IconBadge componentOliver12-72/+69
2025-02-25Make FilterChip composableOliver6-50/+107
2025-02-25Move language svg to imagesOliver2-1/+0
2025-02-25Make IconButton composableOliver21-120/+167
2025-02-25Remove old iconsOliver32-187/+0
2025-02-25Move icons folder to assetsOliver34-1/+1
2025-02-25Replace ImageView with Image and Icon componentsOliver52-844/+436
2025-02-25Set disabled color in IconButtonOliver1-1/+2
2025-02-25Add Image componentOliver3-0/+17
2025-02-25Update Icon propsOliver1-13/+8
2025-02-25Set min height and width in Box componentOliver1-0/+2
2025-02-25Add FilterChip componentOliver3-0/+81
2025-02-25Add flexWrap prop to Flex componentOliver1-0/+3
2025-02-25Add SpinnerOliver3-0/+25
2025-02-25Add new iconsOliver43-28/+391
2025-02-25Add Icon componentOliver6-21/+68
2025-02-19Do not bundle `apisocks5` binaryMarkus Pettersson1-6/+0
2025-02-14Require contents of in ip label to be exactOskar1-1/+1
2025-02-14Slim down OpenVPN tunnel-state testOskar1-9/+0
2025-02-14Split OpenVPN tunnel-state tests to separate fileOskar2-55/+72
2025-02-13Add automation for repository version checkOskar1-11/+15
2025-02-13Fix test server Windows app buildOskar1-2/+2
2025-02-12Add Progress componentOliver9-0/+190
2025-02-12Update the first paragraph in the daita information messageJonatan Rhodin1-3/+3
2025-02-12Compile win-shortcuts only on windows in dev modeOskar1-1/+5
2025-02-11Implement shortcut parsingOskar17-15/+404
Co-authored-by: David Lönnhager <david.l@mullvad.net> Co-authored-by: Markus Pettersson <markus.pettersson@mullvad.net> Co-authored-by: Joakim Hulthe <joakim.hulthe@mullvad.net>
2025-02-10Update localizationsEmīls1-1/+1
2025-02-10Remove references to Google in UIEmīls1-1/+1
2025-02-07Update electron to 33.4.0Markus Pettersson2-15/+16
2025-02-06Disable wireguard port setting if obfuscation is setJonatan Rhodin1-0/+3
2025-02-05Push release branch along with tagOskar1-0/+1