Skip to content
Snippets Groups Projects
  1. Jun 27, 2024
  2. Jun 21, 2024
    • Joel Jeremy Marquez's avatar
      Format transaction notes as clickable tags (#2670) · f02ca4e3
      Joel Jeremy Marquez authored
      
      * Format notes as clickable tags
      
      * Release notes
      
      * Fix tests - extract the handler to higher level component
      
      * Update colors
      
      * Fix filtering
      
      * Rename variables
      
      * Remove font weight
      
      * Cleanup style
      
      * Append note tag filters
      
      * Fix overlapping UI
      
      * Revert pill colors
      
      * Rename prop
      
      * Rename notes
      
      * Delete filter margin
      
      * Fix typecheck error
      
      * VRT + typecheck fix
      
      * Add matches op in rules + use it to match tags
      
      * Fix database types
      
      * Fix typecheck error
      
      * Fix typecheck
      
      * Move create_function call
      
      * VRT
      
      * Update tag regex
      
      * Escape regex input
      
      * Update tag regex
      
      * Use onApplyFilter
      
      * Update tag formatting
      
      * Fix tag formatting
      
      * Update regex
      
      * VRT
      
      * Update packages/desktop-client/src/components/modals/EditRule.jsx
      
      Co-authored-by: default avatarRobert Dyer <rdyer@unl.edu>
      
      * VRT
      
      * Fix error
      
      * Fix filtered balance
      
      * VRT
      
      ---------
      
      Co-authored-by: default avatarRobert Dyer <rdyer@unl.edu>
      Unverified
      f02ca4e3
  3. Feb 21, 2024
  4. Feb 08, 2024
    • Julian Dominguez-Schatz's avatar
      Add rules with splits (#2059) · 2bb7b3c2
      Julian Dominguez-Schatz authored
      * Add split creation UI to rule creation modal
      
      * Support applying splits when rules execute
      
      * fix: deserialize transaction before running rules
      
      According to how rules are run in other places in the app, we should be
      supplying a "deserialized" (i.e., integer-for-amount and ISO date)
      transaction rather than a "serialized" (amount-plus-formatted-date) one.
      This fixes a crash in how split transactions are applied, as well as
      date-based rules not applying correctly previously (any rule with a date
      condition would never match on mobile).
      
      * Add release notes
      
      * Fix missing types pulled in from master
      
      * PR feedback: use `getActions`
      
      * PR feedback: use `flatMap`
      
      * Fix action deletion
      
      * Don't flicker upon split deletion
      
      * Let users specify parent transaction actions (e.g. linking schedules)
      
      * Support empty splits
      
      * Revert adding `no-op` action type
      
      * Support splits by percent
      
      * Fix types
      
      * Fix crash on transactions page when posting a transaction
      
      The crash would probably have occurred in other places too with
      auto-posting schedules :/
      
      * Fix a bug where schedules wouldn't be marked as completed
      
      This was because the query that we previously used didn't select parent
      transactions, so no transaction was marked as being scheduled (since
      only parent transactions have schedule IDs).
      
      * Add feature flag
      
      * Limit set actions within splits to fewer fields
      
      * Fix merge conflict
      
      * Don't run split rules if feature is disabled
      
      * Fix percent-based splits not applying
      
      * Fix crash when editing parent transaction amount
      
      * Auto-format
      
      * Attempt to fix failing tests
      
      * More test/bug fixes
      
      * Add an extra split at the end if there is a remaining amount
      
      * Make sure split has correct values for dynamic remainder
      
      * Remove extraneous console.log
      Unverified
      2bb7b3c2
  5. Jan 15, 2024
  6. Jan 06, 2024
  7. Nov 22, 2023
  8. Oct 22, 2023
  9. Sep 22, 2023
  10. Aug 17, 2023
  11. Jul 20, 2023
  12. Jul 02, 2023
  13. Jun 23, 2023
  14. Jun 15, 2023
  15. Apr 23, 2023
  16. Apr 03, 2023
    • Alberto Gasparin's avatar
      Convert loot-core to TS p1 (#841) · 79ad04dd
      Alberto Gasparin authored
      Part 1 of the conversion. Mostly renaming js to ts and making sure
      things make still sense. Added also handy TS ESLint rules.
      
      In order to support the various .web/.electron/... I ended up adopting
      `index.d.ts` as pattern to share type definition. Let me know if that
      makes sense for you too. Right now the function type definition is
      duplicated, but the solution will be importing from `index.d.ts` and
      using `const fn: FnDef = () => ...` that way we can keep all variants in
      sync from a single type file.
      
      Such rewrite however is better done in another PR otherwise we risk
      confusing git and loosing history (rename + too many changes). Another
      thing that might do in the next PR is convert all files to ESModules, as
      things get confusing between CJS exports, ESM default/named and TS adds
      extra complains.
      Unverified
      79ad04dd
  17. Mar 29, 2023
  18. Feb 28, 2023
  19. Feb 23, 2023
    • Jed Fox's avatar
      Fix error cases in displaying filters/rules (#678) · 2a8b25a3
      Jed Fox authored
      * Add missing imported_payee case
      
      * Switch over to a `switch` to ensure no other cases are missed
      
      * Fix switching from “amount” to “amount (inflow/outflow)”
      
      * fix crash when parsing null value as number
      
      * Fix formatting for “payee/category/account contains” filters
      Unverified
      2a8b25a3
  20. Feb 10, 2023
  21. Feb 05, 2023
  22. Jan 21, 2023
  23. Nov 13, 2022
  24. Apr 29, 2022
Loading