Skip to content
Snippets Groups Projects
  1. Feb 12, 2024
    • Joel Jeremy Marquez's avatar
      Hooks for frequently made operations (#2293) · 08cbdab2
      Joel Jeremy Marquez authored
      
      * Hooks for frequently made operations
      
      * Release notes
      
      * Fix typecheck errors
      
      * Remove useGlobalPrefs
      
      * Add null checks
      
      * Fix showCleared pref
      
      * Add loaded flag for categories, accounts and payees state
      
      * Refactor to reduce unnecessary states
      
      * Fix eslint errors
      
      * Fix hooks deps
      
      * Add useEffect
      
      * Fix typecheck error
      
      * Set local and global pref hooks
      
      * Fix lint error
      
      * VRT
      
      * Fix typecheck error
      
      * Remove eager loading
      
      * Fix typecheck error
      
      * Fix typo
      
      * Fix typecheck error
      
      * Update useTheme
      
      * Typecheck errors
      
      * Typecheck error
      
      * defaultValue
      
      * Explicitly check undefined
      
      * Remove useGlobalPref and useLocalPref defaults
      
      * Fix default prefs
      
      * Default value
      
      * Fix lint error
      
      * Set default theme
      
      * Default date format in Account
      
      * Update packages/desktop-client/src/style/theme.tsx
      
      Co-authored-by: default avatarMatiss Janis Aboltins <matiss@mja.lv>
      
      ---------
      
      Co-authored-by: default avatarMatiss Janis Aboltins <matiss@mja.lv>
      Unverified
      08cbdab2
  2. Feb 07, 2024
  3. Feb 03, 2024
  4. Jan 15, 2024
  5. Jan 06, 2024
  6. Dec 14, 2023
    • Julian Dominguez-Schatz's avatar
      Add schedule end date/count field (#1899) · c09a85f3
      Julian Dominguez-Schatz authored
      * Add "end" field with date/count options
      
      * Use "end" field to generate schedule
      
      * Show "end" field in recurring description
      
      * Disable weekend before/after picker when not enabled
      
      * Add release notes
      
      * Fix failing typechecks
      
      * Add some description tests
      
      * PR feedback
      
      * 'Features', not 'Feature'
      
      * Fix goal templates infinite loop
      
      * Empty commit to bump ci
      
      * Fix bug where schedule templates in the past would apply incorrectly
      
      For example, if you had a schedule which started in November 2023 for
      1.00, and you applied the schedule in October 2023, then you would end
      up with a value of 0.50 applied in October.
      
      * Fix handling of schedules with an end date
      
      This commit also includes a refactor of the skip-weekend logic: rather
      than referring only to dates with skipped weekends (which requires
      checking whether the "next date" request worked correctly), we track a
      "base date" which is the previous value of the schedule according to the
      rrule, excluding any weekend-skipping. This lets us use `addDays(baseDate, 1)`
      to get the next occurrence, regardless of the weekend behaviour.
      
      Doing things this way ensures that the loop will always make progress.
      
      * Only compute skipped weekend if weekend skips were requested
      
      * Fix typo in iterate-schedule-occurrences code
      
      We should be using `nextBaseDate` to derive the next base date, not
      `nextDate`; this is because we want the base date to be guaranteed to
      make progress in each loop iteration, so we can finish in at most 30
      iterations without duplicate base dates.
      
      * Use const
      
      * Revert const -> let for one mutable variable
      Unverified
      c09a85f3
  7. Dec 05, 2023
  8. Nov 26, 2023
  9. Nov 09, 2023
  10. Sep 09, 2023
  11. Aug 16, 2023
  12. Aug 09, 2023
  13. Jul 30, 2023
  14. Jul 29, 2023
  15. Jul 26, 2023
  16. Jun 23, 2023
  17. Jun 15, 2023
  18. May 16, 2023
  19. May 10, 2023
  20. Mar 24, 2023
  21. Mar 21, 2023
  22. Feb 10, 2023
  23. Jan 25, 2023
  24. Jan 12, 2023
  25. Jan 02, 2023
  26. Sep 08, 2022
  27. Sep 02, 2022
  28. Aug 30, 2022
  29. Apr 29, 2022
Loading