| Age | Commit message (Collapse) | Author | Files | Lines | |
|---|---|---|---|---|---|
| 2025-02-25 | Add helpers to copy vite assets to build folder | Tobias Järvelöv | 1 | -0/+16 | |
| 2025-02-25 | Fix typescript duplicate declaration errors | Tobias Järvelöv | 2 | -2/+6 | |
| After replacing gulp with vite typescript now complains about duplicate names where e.g. a function and a type share the same name. To fix this we mark the imports with the type keyword to tell typescript that we're only using the types as that, types. | |||||
| 2025-02-25 | Refactor split tunneling to use import instead of require | Tobias Järvelöv | 2 | -31/+29 | |
| 2025-02-25 | Allow requests to vite dev server in dev mode | Tobias Järvelöv | 1 | -1/+13 | |
| 2025-02-25 | Refactor allowDevelopmentRequest | Tobias Järvelöv | 1 | -8/+17 | |
| In preparation to add more conditions. | |||||
| 2025-02-25 | Update main to use vite dev server and assets | Tobias Järvelöv | 1 | -3/+6 | |
| Vite serves the resources using a local web server in development in order to enable HMR/React refresh. In production we load resources using the file protocol. | |||||
| 2025-02-25 | Update mocked main to use index from vite build | Tobias Järvelöv | 1 | -3/+2 | |
| 2025-02-25 | Update paths changed due to vite migration | Tobias Järvelöv | 10 | -11/+32 | |
| After switching to vite from gulp the paths are resolved differently. | |||||
| 2025-02-25 | Change script file to load in index.html after vite migration | Tobias Järvelöv | 1 | -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-25 | Update resource paths after index.html was moved | Tobias Järvelöv | 1 | -8/+8 | |
| 2025-02-25 | Move index.html to root | Tobias Järvelöv | 1 | -0/+0 | |
| Vite uses the convention that index.html is in the root folder. | |||||
| 2025-02-25 | Update main file in package.json to vite output | Tobias Järvelöv | 1 | -1/+1 | |
| 2025-02-25 | Add vite config to included files in tsconfig | Tobias Järvelöv | 1 | -1/+2 | |
| To ensure we get proper ts linting. | |||||
| 2025-02-25 | Add vite config | Tobias Järvelöv | 1 | -0/+117 | |
| 2025-02-25 | Add utilities used for the vite config | Tobias Järvelöv | 1 | -0/+55 | |
| See the vite.config.ts file's comments for an explanation of why we need to use these utilities. | |||||
| 2025-02-25 | Add vite npm scripts | Tobias Järvelöv | 1 | -0/+2 | |
| 2025-02-25 | Update package-lock.json | Tobias Järvelöv | 1 | -450/+1940 | |
| 2025-02-25 | Add workaround for rollup platform-specific deps not installed | Tobias Järvelöv | 1 | -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-25 | Add vite dependencies | Tobias Järvelöv | 1 | -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-25 | Reorder dependencies alphabetically | Tobias Järvelöv | 1 | -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-25 | Set postinstall script to build typescript lib | Tobias Järvelöv | 2 | -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-25 | Increase icon size for smaller icons | Oliver | 1 | -2/+2 | |
| 2025-02-25 | Fix spacing when no results in split tunneling view | Oliver | 1 | -35/+34 | |
| 2025-02-25 | Fix spacing between browse button and app list | Tobias Järvelöv | 1 | -6/+9 | |
| 2025-02-25 | Use same constant for icon sizes in Icon and IconButton | Oliver | 2 | -12/+4 | |
| 2025-02-25 | Rename icon badge svg assets | Oliver | 3 | -2/+2 | |
| 2025-02-25 | Rename spinner svg asset | Oliver | 2 | -1/+1 | |
| 2025-02-25 | Add IconBadge component | Oliver | 12 | -72/+69 | |
| 2025-02-25 | Make FilterChip composable | Oliver | 6 | -50/+107 | |
| 2025-02-25 | Move language svg to images | Oliver | 2 | -1/+0 | |
| 2025-02-25 | Make IconButton composable | Oliver | 21 | -120/+167 | |
| 2025-02-25 | Remove old icons | Oliver | 32 | -187/+0 | |
| 2025-02-25 | Move icons folder to assets | Oliver | 34 | -1/+1 | |
| 2025-02-25 | Replace ImageView with Image and Icon components | Oliver | 52 | -844/+436 | |
| 2025-02-25 | Set disabled color in IconButton | Oliver | 1 | -1/+2 | |
| 2025-02-25 | Add Image component | Oliver | 3 | -0/+17 | |
| 2025-02-25 | Update Icon props | Oliver | 1 | -13/+8 | |
| 2025-02-25 | Set min height and width in Box component | Oliver | 1 | -0/+2 | |
| 2025-02-25 | Add FilterChip component | Oliver | 3 | -0/+81 | |
| 2025-02-25 | Add flexWrap prop to Flex component | Oliver | 1 | -0/+3 | |
| 2025-02-25 | Add Spinner | Oliver | 3 | -0/+25 | |
| 2025-02-25 | Add new icons | Oliver | 43 | -28/+391 | |
| 2025-02-25 | Add Icon component | Oliver | 6 | -21/+68 | |
| 2025-02-19 | Do not bundle `apisocks5` binary | Markus Pettersson | 1 | -6/+0 | |
| 2025-02-14 | Require contents of in ip label to be exact | Oskar | 1 | -1/+1 | |
| 2025-02-14 | Slim down OpenVPN tunnel-state test | Oskar | 1 | -9/+0 | |
| 2025-02-14 | Split OpenVPN tunnel-state tests to separate file | Oskar | 2 | -55/+72 | |
| 2025-02-13 | Add automation for repository version check | Oskar | 1 | -11/+15 | |
| 2025-02-13 | Fix test server Windows app build | Oskar | 1 | -2/+2 | |
| 2025-02-12 | Add Progress component | Oliver | 9 | -0/+190 | |
