Skip to content

Indicate (non-) matching during import #1023

@morremeyer

Description

@morremeyer

Is your feature request related to a problem? Please describe.
When importing, it is hard to discern if an account is being created for this transaction or if it already exists.
When it is matched by a rename rule, it's impossible to know which rule matched the transaction.

@fhreichert requested this in envelope-zero/backend#738, for which the backend part was implemented in envelope-zero/backend#737.

The transaction preview resource now has a renameRuleId field that is either the zero UUID if none matched or contains the ID of the rename rule that was applied.

Describe the solution you'd like

There are three possible states for the opposing account in an import preview:

  • It was matched exactly by name. (Account ID is set, renameRule ID is zero). In this case, there should be context information showing that this was the case
  • It was matched by a renameRule. (Account ID and renameRule ID are both set). In this case, there should be context information linking to the renameRule (list?))
  • It was not matched at all. (Account ID and renameRule ID are both zero). In this case, there should be an accessible indication that importing this transaction would create a new opposing account

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or improvements to an existing one

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions