1. Jan 26, 2019
    • Luke Schoen's avatar
      fix: Fix save windows position on minimise on Linux. Add taskbar usage to Readme · 3e606c2e
      Luke Schoen authored
      * Update Readme with Usage of taskbar mode on macOS and Linux
      
      * Remvoe custom context menu since was not working and we will use ALT version instead
      
      * Rename processMoved to saveWindowPosition
      
      * Fix by savingWindowPosition when user minimises Fether window so it restores to same position
      
      * Change tooltip message to 'Click to toggle Fether window' since it is important on Linux as use must click the tooltip to open/close the Fether window
      
      * Only disable taskbar mode on Windows
      3e606c2e
  2. Jan 24, 2019
  3. Jan 13, 2019
  4. Jan 07, 2019
    • Luke Schoen's avatar
      refactor: Integrate menubar. Separate logic for taskbar app. See commit details · 4763ac05
      Luke Schoen authored
      * Readme updated with environment variable prefix `TASKBAR=false` to disable taskbar.
      Use existing "electron" and "start" scripts in package.json.
      Configure taskbar to be enabled by default (i.e. `withTaskbar = true`)
      
      * Integrate menubar functionality including for taskbar including:
          * electron dependencies: `Tray`
          * electron-positioner: `Positioner`
      
      * Separate logic in `FetherApp` component dependending on whether `withTaskbar` is enabled,
      but shared functionality in `finalise()` function
      
      * Incorporate relevant Pino logs throughout to improve developer experience
      
      * Move options into FetherAppOptions class and move configuration config for options into
      a config subfolder within the module.
      
      * Use `extends` library to overwrite `DEFAULT_OPTIONS` options properties with those in `TASKBAR_OPTIONS`
      if `withTaskbar` is enabled
      
      * Add ability to pass `customOptions` to further overwrite the values in the config directory, and add option setter and getters
      
      * Move taskbar icons into app/options/config subdirectory.
      Use different logic to set the path of the icons directory depending on whether it was run
      using the "electron" or the "start" script in package.json. Leverage the fact that when
      "electron" is run the environment variable `SKIP_PREFLIGHT_CHECK=true` is set
      
      * Set the Electron option `webPreferences.devTools` depending on whether we are in production or not
      particularly for security reasons
      
      * Fix `activate` event listener to cater for `withTaskbar` enabled or disabled usage
      
      * BUG: When running with `withTaskbar` enabled we are setting the option `show: false`
      because it opens the window in the center of the screen instead of positioned right under the
      taskbar icon at the top of the screen.
      When you click the icon in the taskbar it toggles the window open/close correctly positioned
      since it takes into consideration the `bounds` value in `FetherApp.clickedTray`.
      To fix the bug we need to reuse the same approach.
      
      * BUG: Additional `EventEmitter` does not appear to be working correctly or is not required.
      Investigate if can remove
      4763ac05
  5. Jan 04, 2019
  6. Dec 20, 2018
  7. Dec 13, 2018
  8. Nov 09, 2018
  9. Sep 09, 2018
  10. Sep 04, 2018
  11. Sep 03, 2018
  12. Jul 23, 2018
  13. Jul 19, 2018
  14. Jul 16, 2018
  15. Jul 13, 2018
  16. Jul 02, 2018
  17. Jun 26, 2018
  18. Jun 25, 2018
  19. Jun 22, 2018
  20. Jun 13, 2018
  21. Jun 12, 2018
  22. Jun 11, 2018
  23. Jun 08, 2018
  24. May 10, 2018
  25. Apr 03, 2018