Skip to content

Bug: Cashflow not using default period #118

@iloabn

Description

@iloabn

Before you start (required)

General checklist

  • I have removed personal / sensitive data from screenshots and logs
  • I have searched existing issues and discussions to ensure this is not a duplicate issue

How are you using Sure?

  • I was a paying Maybe customer (hosted version)
  • I use it on PikaPod, Umbrel or similar (VPS included)
  • I am a self-hosted user (local only)

Self hoster checklist

Paying, hosted users should delete this entire section.

If you are a self-hosted user, please complete all of the information below. Issues with incomplete information will be marked as Needs Info to help our small team prioritize bug fixes.

  • Self hosted app commit SHA: 16a1569
    • I have confirmed that my app's commit is the latest version of Sure (latest stable, yes)
  • Where are you hosting?
    • Render
    • Docker Compose
    • Umbrel
    • PikaPod
    • Other (please specify)

Bug description

On the dashboard page, Cashflow doesn't respect my setting of "Default Period", while the section underneath "Net Worth" does.

Image

To Reproduce

Steps to reproduce the behavior:

  1. Go to '/settings/preferences'
  2. Change "Default Period" to anything other than 30 days
  3. Wait until the new value is saved and then navigate back to the dashboard
  4. Notice that the "Net Worth" section is using the new updated default period, while Cashflow is still using 30 days. Independent of your settings.

Expected behavior

I'm expecting that the dashboard respects the default period selected and that the cashflow by default shows the same period that I've selected as default period.

Screenshots and/or recordings

Image showing the default period set to 7 days Image showing that there's a difference between casflow and net worth periods by default

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions