summaryrefslogtreecommitdiffhomepage
path: root/desktop/packages
AgeCommit message (Collapse)AuthorFilesLines
2025-09-05Convert existing mocked tests to new ipc utilityOskar11-241/+104
2025-09-05Use new ipc utility for mocked login testOskar1-21/+8
2025-09-05Add utility function to ignore ipc call in mocked testsOskar1-4/+23
2025-09-05Add new ipc utility for mocked testsOskar2-21/+59
2025-09-05Start login ui test with clear account historyOskar1-1/+1
2025-09-03Update translationsJonatan Rhodin39-155/+440
2025-09-02Update npm lint script to set the --max-warnings argumentTobias Järvelöv1-1/+1
We want the exit code to be non-zero when there are warnings in the code.
2025-09-02Remove unnecessary eslint ignore commentTobias Järvelöv1-1/+0
2025-09-02Exit process with an exit code when an npm command exits with an errorTobias Järvelöv1-0/+1
2025-08-29Update translationsOskar1-12/+30
2025-08-29Add tests of warnings when clearing account historyOskar5-0/+179
2025-08-29Add ipc structure containing keys for mocked testsOskar3-4/+21
This commit adds a function along with types to enable type safety for referencing ipc event keys.
2025-08-29Add utility function for mocked tests that listens for ipc callsOskar1-0/+20
The new function is quite similar to `mockIpcHandle` but instead of handling the incoming call, it just returns that it happened along with the provided argument.
2025-08-29Add confirmation dialog when creating new accountOskar2-8/+82
2025-08-29Add confirmation dialog when clearing account historyOskar2-52/+121
2025-08-29Move Login.tsx to a view directoryOskar3-22/+31
2025-08-27Update translationsTobias Järvelöv1-1/+0
2025-08-27Change settings header to small titleTobias Järvelöv1-7/+1
Remove the large "Settings" title in favor of using only the title in the top bar.
2025-08-27Update translationsOskar1-3/+4
2025-08-27Add warning about voucher input looks like account numberOskar2-5/+36
2025-08-27Add isAccountNumber utility functionOskar2-0/+30
2025-08-26Add comment describing purpose of disconnected.spec.tsOskar1-0/+4
2025-08-26Refactor environment variablesOskar1-14/+15
2025-08-26Add additional udp-over-tcp testsOskar3-15/+70
2025-08-26Add functions to main route object modelOskar2-0/+14
2025-08-26Add route object models for wireguard and udp-over-tcp settingsOskar9-0/+88
2025-08-26Add navigation object model for testsOskar3-0/+31
2025-08-26Use RouteObjectModel for setup of tunnel-state.spec.tsOskar1-3/+10
2025-08-26Group tunnel state tests togetherOskar1-86/+88
2025-08-26Fix unintentional rename of desktop fileDavid Lönnhager1-1/+2
2025-08-26Refactor vpn settings tests to not assert in helper functionsOliver1-30/+26
2025-08-26Move tests to correct describe blockOliver1-6/+5
2025-08-26Fix missing enable in launch on startup and auto connect testsOliver1-2/+4
2025-08-26Wait for switches to update in vpn settings testsOliver2-20/+8
2025-08-22Improve connect on start up informationJonatan Rhodin1-1/+7
2025-08-18Filter on IP version for QUIC in desktop UIDavid Lönnhager3-4/+34
2025-08-15Disable linting on React hooks which invokes a useEffectEvent callbackTobias Järvelöv19-0/+135
Currently React has not released their useEffectEvent hook[1] in a stable version and we instead rely on our own implementation of the hook to achieve the same functionality. Unfortunately however, the react plugin for eslint does not recognize useEffectEvent and that it can be omitted from a hook's dependency array, hence we have to disable that rule until this issue can be addressed. Potential fixes will be discussed in the following linear issue: https://linear.app/mullvad/issue/DES-2381 [1] https://react.dev/reference/react/experimental_useEffectEvent
2025-08-15Fix react compiler lint errorsTobias Järvelöv1-5/+6
- By constructing a new coordinate from just the lat/lng of the connection variable we fix the dependency array lint error, and as such also the react compiler lint error. - Remove lint disable comments which reported having no effect on the next line.
2025-08-15Replace use of deprecated String.substr with String.substringTobias Järvelöv1-1/+1
2025-08-15Replace use of deprecated Buffer.slice with Buffer.subarrayTobias Järvelöv1-2/+2
2025-08-15Remove use of deprecated batch functionTobias Järvelöv1-22/+20
Since React 18 batching is performed automatically and the batch function just invokes the callback.
2025-08-15Replace deprecated type MutableRefObject with RefObjectTobias Järvelöv2-3/+3
With the upgrade to React 19 the MutableRefObject has been deprecated in favor of the RefObject type.
2025-08-15Mark unhandled return value with void explicitlyTobias Järvelöv2-2/+2
Fixes the lint warning about unhandled return value.
2025-08-15Set default value for useRef hooks and update types accordinglyTobias Järvelöv8-12/+12
With the upgrade to React 19 a default value is now required for the useRef hook.
2025-08-15Update useStyledRef to set useRef default value to nullTobias Järvelöv1-2/+2
With the upgrade to React 19 a default value is now required for the useRef hook. The default value is now set to null, as most instances where the useStyledRef hook was used already used that value.
2025-08-15Add type for props to usage of ReactElement typeTobias Järvelöv2-2/+2
With the upgrade to React 19 the type checking for the ReactElement props has become stricter and needs to be specified.
2025-08-15Upgrade experimental eslint react packages to stable versionsTobias Järvelöv1-2/+2
2025-08-15Upgrade react-redux packageTobias Järvelöv1-1/+1
2025-08-15Upgrade react packagesTobias Järvelöv1-4/+4
2025-08-13Fix do not filter exit relays when multihop and QUIC is enabledMarkus Pettersson3-16/+31