aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/Menu.js
Commit message (Collapse)AuthorAge
* fix: Fix issue with shortcut accelerators not working on macos where symbols ↵Libravatar Vijay A2021-08-15
| | | | were used for shift/alt keys
* fix: Fixed the 'Changelog' menu item to point to the correct branchLibravatar Vijay A2021-08-15
|
* Refactoring: Url helpers (#1789)Libravatar Vijay Raghavan Aravamudhan2021-08-14
| | | | | | | These changes are mainly to ensure that 'shell.open*' invocations are only in a single file. * Moved 'openPath' into the 'url-helpers' file. * Extract 'openExternalUrl' into a common location in 'url-helpers' This is done so that we can then apply vetting rules to ensure that there is no security concern as described in https://benjamin-altpeter.de/shell-openexternal-dangers/
* refactor: Use the 'shortcutKey' function without exposing the 'ctrlKey' or ↵Libravatar Vijay A2021-08-13
| | | | the 'cmdKey'
* refactor: Move platform-specific logic for shortcut keys into common location.Libravatar Vijay A2021-08-10
|
* refactor: Removed duplication and added note about why they were slightly ↵Libravatar Vijay A2021-08-10
| | | | | | different (shortcut accelerator vs tooltip text)
* refactor: Use symbols for key shortcutsLibravatar Vijay A2021-08-10
|
* feat: added new Help menu item to allow easy import/export of config dataLibravatar Vijay A2021-08-09
|
* revert: partially reverted menu-item cleanup (having only 'role' does not ↵Libravatar Vijay A2021-08-06
| | | | | | work in windows) fixes #1746
* refactor: minor refactoring: solve name-clash of env vars vs vars in the programLibravatar Vijay A2021-08-05
|
* Fixed #1726: Revamp menu items with correct accelerators. (#1728)Libravatar Vijay Raghavan Aravamudhan2021-08-02
|
* Prevent pasting twice (#1644)Libravatar stnkl2021-08-02
|
* Removed Franz paid plans features:Libravatar Vijay A2021-07-20
| | | | | | | | - serviceLimit - planSelection - trialStatusBar and other Franz features that were for different tiers of subscription.
* Use utility methods from 'electron-util'Libravatar Vijay A2021-07-04
| | | | (already a dependency) rather than re-implementing by ourselves.
* Fixed issue with not being able to add new service.Libravatar Vijay A2021-07-04
|
* Upgrade various dependencies to latest part 2 (#1557)Libravatar Markus Hatvan2021-07-03
| | | | | | | | * Upgrade various dependencies to latest, remove unnecessary electron-hunspell - upgrade eslint and friends to latest - remove deprecated 'node-sass' in favor of 'sass' - disable new rules from 'eslint-config-airbnb' that are conflicting with current code style - add workspace config for 'vscode' that silences 'experimentalDecorator' warning and forces 'prettier' to single quote * Run yarn lint to autofix with new ruleset and worked down lint issues to zero
* Removed hardcoded strings and reused constants defined in config.js (#1499)Libravatar Vijay Raghavan Aravamudhan2021-06-05
|
* Auto-generated files and linter fixes.Libravatar Vijay A2021-05-26
|
* Replace 'remote' with 'electron/remote' (#1448)Libravatar Vijay Raghavan Aravamudhan2021-05-26
| | | * Locked new version of 'recipes' submodule with corresponding changes.
* Expose Chrome version in 'About' dialog.Libravatar Vijay A2021-05-16
|
* Alternative shortcut for service switch (fix #850)Libravatar Kristóf Marussy2021-05-13
| | | | | | | | | | | | On Linux, the default Ctrl+Alt+{Left, Right} shortcuts are not always usable, because many desktop environments use them for workspace switching. We also set Ctrl+Tab and Ctrl+Shift+Tab as a service switching shortcut. On Linux, these shortcuts are displayed in the menu, while on other platforms, the older shortcuts remain displayed. However, both shortcuts are enabled on all platforms, unless they are eaten by the desktop environment.
* Fix some appearance issues (#1398)Libravatar Kristóf Marussy2021-05-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fix property spelling in Sidebar component * Fix typo in todos partition name * Use the FerdiDev setting.json in dev mode The app.setPath calls are still a mess and need to be fixed, but this at least allows me to experiment locally. * Make @meetfranz/theme follow the accent color We inject the value of the accent color into the themes, so the buttons show the appropriate color. This allows removing some existing css hacks. In order to do this, the themes had to be turned into functions that take the brand color (accent color) as an argument instead of hard-coding it. The css-based accent color for legacy components is left unchanged. * Remove superfluous scrollbars While overflow: scroll doesn't look ugly on macs, because the system hides scrollbars by default (except on hower), on Linux and Windows, the disabled scrollbars appearing by default look ugly. We set overflow-y: auto instead to display a scrollbar only when needed. * Simplify theme generation in @meetfranz/themes * Remove default accent color code duplication * Apply accent color to styles not in themeInfo.json Some colors are darkened/lightened versions of the primary brand color, so they are not caught by build-theme-info. We create these styles with `color` manually. * Inset shadow on sidebar This creates a more flat look that projecting a shadow over the service, and avoid compositing a shadow over the webview. * Apply accent color to vertical style tab bar * Workspace drawer styling in vertical mode * Fix sidebar layout In vertical mode, the top of the service was clipped by the sidebar Also removes unnecessary whitespace in sidebar * Fix 1px wide line on right when todos are hidden * Fix window menu When building the menu bar, the File / app menu is added later, so we must be careful about indexing the menu bar. * Update locale files * Report the default accent color accurately * Fix inverted button with dark theme * Fix crash with invalid accent color Fall back to the default accent color instead * Darker secondary buttons in dark mode * Vertical workspace drawer style outside debug mode In order to reliably apply the style, we need to add a class name to the drawer manually, as component names only appear in class names in debug mode.
* Method reuse (#1379)Libravatar Vijay Raghavan Aravamudhan2021-05-11
| | | | | * Used already exported common functions to avoid the same logic being repeated. * Use a different package to retrieve the os-name for the 'About Dialog'.
* Enhanced 'About dialog' to show the build date, git SHA & branch (fixes ↵Libravatar Vijay Raghavan Aravamudhan2021-05-09
| | | | #1373) (#1375)
* Fixes "Service Developer Tools not available" #147 (#1213)Libravatar Yoga Setiawan2021-02-21
|
* Synchronize with Franz 5.6.0 (#1033)Libravatar Amine El Mouafik2021-02-08
| | | | | | | Co-authored-by: FranzBot <i18n@meetfranz.com> Co-authored-by: vantezzen <hello@vantezzen.io> Co-authored-by: Makazzz <makazzzpro@live.ca> Co-authored-by: Stefan Malzner <stefan@adlk.io> Co-authored-by: Amine Mouafik <amine@mouafik.fr>
* Add vertical style and "Always show workspace drawer" setting (#567)Libravatar Bennett2020-10-11
|
* Fix crash when using Password Lock with TouchID API unavailable (#737)Libravatar Mahadevan Sreenivasan2020-05-12
|
* #530 Dark Mode Hotkey (#537)Libravatar Mahadevan Sreenivasan2020-04-05
| | | | | | | | | | | | * Bump version number * feat: Add a new menu item for toggling between Dark Mode and Light Mode - Add a new sub menu entry under 'View' in src/lib/Menu.js named toggleDarkMode - Add an accelerator hotkey of '${cmdKey}+Shift+D' as the feature request was to have a hot key for dark mode. See #530 - Update intl locales for 'menu.view.toggleDarkMode' in en.json and en-US.json. Co-authored-by: Amine Mouafik <amine@mouafik.fr> Co-authored-by: vantezzen <hello@vantezzen.io> Co-authored-by: Mahadevan Sreenivasan <mahadevan_sreenivasan@trimble.com>
* Add "Find in Page" feature (#446)Libravatar Bennett2020-03-09
| | | | | | | * Add "Find in Page" feature * Add custom theme to overlay * Fix lint
* Add support for unlocking with Touch ID (#423)Libravatar Bennett2020-03-03
| | | | | | | | | | | | | | | | | | | | | | * Enhance installation guide in README * Add TouchID unlock for Ferdi Lock * Remove commit 8861014 as it is not related to this feature This reverts commit 88610144b942739772286ec3073b328e829a8b39. * Rename TouchID to "Touch ID" * Improve Touch ID prompt text * Improve unlocking with Touch ID * Fix lint * Add separator after lock-related menu entry Co-authored-by: Amine <amine@mouafik.fr>
* Run linterLibravatar vantezzen2020-03-02
|
* #416 Fix regression in Menu builderLibravatar Amine Mouafik2020-02-29
|
* Pass missing lock state to _titleBarTemplateFactoryLibravatar Amine Mouafik2020-02-28
|
* Merge branch 'develop' into fix/lock-menuLibravatar Amine Mouafik2020-02-28
|\ | | | | | | | | # Conflicts: # src/lib/Menu.js
| * Simply update locked stateLibravatar Amine Mouafik2020-02-22
| |
* | Do not include debug menu items when lockedLibravatar Amine Mouafik2020-02-27
| | | | | | | | It has to stay here, can't include it in the previous similar condition block without breaking things with the current implementation.
* | Conditionally display Menu items based on lock stateLibravatar Amine Mouafik2020-02-27
|/
* Replace deprecated call to getName, use name insteadLibravatar Amine Mouafik2020-02-21
|
* Merge branch 'develop' into publish-debugLibravatar vantezzen2020-01-31
|\
| * Prevent Password Lock to trigger while not logged inLibravatar Amine Mouafik2019-11-29
| |
| * Remove unnecessary call to window.ferdi.menu.rebuildLibravatar Amine Mouafik2019-11-28
| |
| * Fix zoom not workingLibravatar vantezzen2019-11-28
| |
| * Run prepare code to fix formattingLibravatar Amine Mouafik2019-11-27
| |
| * #168 Set empty menu when Ferdi is lockedLibravatar Amine Mouafik2019-11-26
| |
* | Add publish debug log optionLibravatar vantezzen2019-10-29
|/
* Replace remaining & in menuLibravatar vantezzen2019-10-28
|
* #65 Remove & sign from menu barLibravatar vantezzen2019-10-25
|
* Merge https://github.com/meetfranz/franz into franz-5.4.0-releaseLibravatar vantezzen2019-10-24
|\
| * don't initialize menu & touchbar on /payment/ routesLibravatar Stefan Malzner2019-10-21
| |