Skip to content
Snippets Groups Projects
  1. Apr 30, 2024
  2. Jul 29, 2023
  3. Jun 06, 2023
    • youngcw's avatar
      Goals: Remainder option (#1101) · ed285e9a
      youngcw authored
      Added the option to add a remainder goal template. This will use the
      remaining available funds and dump them into the respective category.
      There is optional weighting. The remainder templates will be forced to
      the lowest priority as to run after all other templates.
      
      Usage: `#template remainder <weight>` Add the template line to any
      categories you want to catch any remaining funds such as savings. The
      amount added to the category will equal
      `remaining_budget/total_of_weights*weight`. The default weight is 1.
      Unverified
      ed285e9a
  4. Jun 01, 2023
  5. May 25, 2023
  6. May 24, 2023
    • youngcw's avatar
      Template: Apply schedule template only on needed month (#1052) · 5f38b579
      youngcw authored
      Add option to schedule templates to budget the full amount only in the
      needed month. Default behavior stays the same of spreading the expense
      out over the available range.
      
      To use the option, use a template like `#template schedule full
      SCHEDULE_NAME`
      
      
      Also some minor cleanup.
      Unverified
      5f38b579
  7. May 07, 2023
  8. May 02, 2023
    • shall0pass's avatar
      Priorities for goals (#961) · 66f7336b
      shall0pass authored
      This attempts to add priorities for goal templates and addresses most of
      https://github.com/actualbudget/actual/issues/959
      
      .
      
      I couldn't find a good way to preserve both "Apply" and "Overwrite"
      operations, so this PR does away with the current "Apply" action
      behavior. Every box with a budgeted value will be overwritten if a
      template goal is present.
      
      The added syntax to define priorities is as follows:
      #template    -- priority 0, highest priority
      #template-1  --priority 1, 2nd highest priority
      #template-2 --priority 2, 3rd highest priority
      #template-N --priority N, as many as you'd like.
      
      ~~Leaving as a draft as this may not be the preferred implementation but
      I wanted others to be able to try it with netlify.~~
      
      ---------
      
      Co-authored-by: default avatarCaleb Young <cwy@rincon.com>
      Unverified
      66f7336b
  9. Apr 23, 2023
    • Davis Silverman's avatar
      Use Peggy instead of deprecated Peg.js (#934) · b0c5a938
      Davis Silverman authored
      Hi there, `Peg.js` is unmaintained, so I figure you all would appreciate
      if I replaced it with the drop-in replacement of Peggy. This is work I
      am breaking out of #918.
      
      Peggy adds new features like source map support that we could use,
      although I do not include that in this change-set. It may be useful for
      debugging changes to the .pegjs file we have.e
      Unverified
      b0c5a938
  10. Apr 16, 2023
  11. Apr 12, 2023
  12. Mar 14, 2023
  13. Feb 12, 2023
    • Jed Fox's avatar
      Updates to the template/goal feature (#588) · a8656162
      Jed Fox authored
      * Dedupe loot-core webpack configs
      
      * Swap to parsing using Peggy
      
      * Actually record syntax errors
      
      * Refactor template types
      
      * Add notifications after applying the templates
      
      * “Successfully”
      
      * Try a Nearley grammar
      
      * Revert "Try a Nearley grammar"
      
      This reverts commit 1e11c07b855a492b905f1291c3eadd93f78ac3de.
      
      Not going with this approach since the error messages are inscrutable.
      
      * switch to PEG.js which has slightly better tooling support
      
      * fix parser
      
      * Fix error reporting
      
      * Adjust grammar for better error messages
      
      Also allow spaces between currency symbol and number
      
      * Fix grammar
      
      * Make #template prefix case insensitive
      
      * Trailing commas
      
      * Remove patch-package from loot-core
      Unverified
      a8656162
Loading