summaryrefslogtreecommitdiffhomepage
path: root/desktop/packages
AgeCommit message (Collapse)AuthorFilesLines
2025-11-04Refactor remaining components to use new SwitchOliver7-100/+35
2025-11-04Remove Animate componentOliver16-357/+0
2025-11-04Replace Animate with AnimatePresence in Accordion componentOliver1-10/+25
2025-11-04Add mocked E2E test for App Upgrades for when a release is haltedTobias Järvelöv1-0/+67
2025-11-03Update include account token in problem reportsJonatan Rhodin1-1/+13
- Move checkbox below message - Add warning about anonymity - Change from AccountToken to account-token in support message
2025-10-31Add robber languageOskar3-2/+72
2025-10-30Add tests for using custom transformers with formatHtmlTobias Järvelöv1-1/+18
2025-10-30Convert tag transformers from Components to render props patternTobias Järvelöv1-6/+8
This isn't necessarily better, but with our Mocha test setup we did not see the expected result in our tests when a React component was passed to the formatHtml function, likely due to something missing when JSX is transformed.
2025-10-30Import ALLOWED_TAGS from formatHtml in verify translations scriptTobias Järvelöv1-2/+8
It is easier if we have one source of truth for what tags are allowed.
2025-10-30Allow to pass in custom components to formatHtmlTobias Järvelöv1-31/+27
2025-10-30Add utility type ValueOfArrayTobias Järvelöv1-0/+2
2025-10-30Add unit test utility to create a React FragmentTobias Järvelöv1-0/+4
2025-10-30Add unit test utility to verify React element children and typeTobias Järvelöv1-0/+25
2025-10-29Use outline for text field input state stylingOliver1-38/+39
2025-10-28Add option to show relay location in notificationKalle Lindström1-0/+3
This PR adds the following: - An option to show the relay location in the connection notification. - A new submenu under Settings called Notifications. - In the new Notifications screen a toggle to enable/disable showing the location in the notification.
2025-10-27Add test to ensure output is produced reliably on each callTobias Järvelöv1-0/+6
2025-10-27Refactor expectChildrenToMatch to remove need for type castingTobias Järvelöv1-7/+27
2025-10-27Move expectChildrenToMatch to a separate utils fileTobias Järvelöv2-13/+14
2025-10-27Add tests with both emphasized and bold textTobias Järvelöv1-0/+27
2025-10-27Rewrite formatHtml to fix bugs in previous implementationTobias Järvelöv1-17/+34
When the functionality to format `em` tags was added a buggy behavior was introduced. This buggy behavior stems from the logic to match the input string against the tags we want to format, namely <b> and <em>. We mistakenly operate against the original string at all times when we match each tag, which means that for a string which contains '<b>something</b>' the content is correctly identified by the <b> tag's test function and gets rendered with the appropriate React component. However, since the original string is used for every tag this means the same string will also be handled by the next tag. In this case the <em> tag's test function will evaluate the string, '<b>something</b>' and see that it does not match and herein lies the buggy behavior. When a tag's test function does not get a match for the string it will render it as a fragment and push it to the formatted string array. This means that we get duplicated entries in the formatted string array because we get both the React component version of the string and the fragment version of the string. This buggy behavior is now fixed by passing the result of the first tag operations to the next tag. This ensures that once a part of the original string has been matched and turned into a component it can not be matched again by another tag.
2025-10-24Remove android no wireguard key stringJonatan Rhodin1-3/+0
2025-10-24Remove unused 'no wireguard key' errorDavid Lönnhager4-19/+0
2025-10-24Update playwright and @playwright/test to 1.55.1Tobias Järvelöv1-2/+2
Patches the following vulnerability: https://osv.dev/vulnerability/GHSA-7mvr-c777-76hp
2025-10-24Update vite to 7.1.11Tobias Järvelöv1-1/+1
Patches the following vulnerability: https://osv.dev/vulnerability/GHSA-93m4-6634-74q7
2025-10-23Make sure link to app upgrade view only appears on supported platformsTobias Järvelöv1-13/+22
2025-10-23Update translationsTobias Järvelöv1-1/+11
2025-10-23Disable UpgradeButton when no upgrade existsTobias Järvelöv1-1/+4
2025-10-23Add show variable for conditional render to adhere to the style guideTobias Järvelöv1-1/+3
2025-10-23Make upgrade details conditionally render based on if an upgrade existsTobias Järvelöv2-50/+52
Render NoUpdateAvailable if the app upgrade does not exist
2025-10-23Add NoUpgradeAvailable componentTobias Järvelöv3-0/+50
2025-10-23Add AppUpgradeHeader componentTobias Järvelöv3-0/+15
2025-10-23Add hook useHasUpgradeTobias Järvelöv2-0/+10
2025-10-23Sort exports alphabeticallyTobias Järvelöv1-1/+1
2025-10-23Fix typo in translators noteTobias Järvelöv1-2/+2
2025-10-23Remove irrelevant TODOTobias Järvelöv1-1/+1
This usage pattern became the standard after all.
2025-10-23Expose getVersionInfo on delegate in UserInterface classTobias Järvelöv1-0/+3
2025-10-23Add getVersionInfo method in ApplicationMain classTobias Järvelöv1-0/+1
2025-10-22Add entry and exit no relay errorsJonatan Rhodin2-0/+8
The old no relay error is still kept for single hop
2025-10-20Update translationsJonatan Rhodin39-913/+2509
2025-10-20Update notification test to handle hidden notification removed from DOMTobias Järvelöv1-1/+17
2025-10-20Add app upgrade notification testsTobias Järvelöv1-0/+47
2025-10-20Add methods to locate notification title and subtitleTobias Järvelöv2-0/+10
2025-10-20Break up tests which affect others into separate test.describe blocksTobias Järvelöv1-26/+43
2025-10-20Use motion for in-app notification transitionTobias Järvelöv2-51/+44
2025-10-17Replace use of img element with Image componentTobias Järvelöv2-7/+15
2025-10-17Use LWO from strings constant in SelectLocationTobias Järvelöv1-1/+1
2025-10-17Fix missing key for fragmentTobias Järvelöv1-1/+1
2025-10-17Remove use of PATH_PREFIXTobias Järvelöv9-36/+11
2025-10-17Extract paths to a separate file and move helper functions into utilsTobias Järvelöv4-35/+41
2025-10-17Update develop script to run pre-develop script before viteTobias Järvelöv1-1/+3