Skip to content

[Feature Request] Remember trade search options and persist them for all item searches. #1629

@hexadecimaldev

Description

@hexadecimaldev

Hi SnosMe,

Thanks for making a great app and compiling it for many platforms.

My feature request is to remember trade options and persist them between item searches.

I'd like to be able to configure remember last options or something similar so that all searches would look for onlineInLeague, and have been listed within x days etc.

Add opts to those options and let users set them under Price Check settings the same as the league and collapseListings as that may be easier to implement and within pattern, rather then remember last search options

export function createFilters (
  item: ParsedItem,
  opts: CreateOptions
): ItemFilters {
  const filters: ItemFilters = {
    searchExact: {},
    trade: {
      offline: false,
      onlineInLeague: false,
      listed: undefined,
      currency: opts.currency,
      league: opts.league,
      collapseListings: opts.collapseListings
    }
  } 

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions