Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configurable filters -- view a subset of sites #11

Open
narc0tiq opened this issue Oct 4, 2015 · 3 comments
Open

Configurable filters -- view a subset of sites #11

narc0tiq opened this issue Oct 4, 2015 · 3 comments

Comments

@narc0tiq
Copy link
Owner

narc0tiq commented Oct 4, 2015

Currently sites are filtered according to three filters: none, all, and warnings-only, where the last has a configurable threshold for the estimated time to depletion. We should be able to support more filters, and possibly also configure the ones we have:

  • less than X% remaining (old versions already had this, but it was removed)
  • sites with estimated time to depletion less than X minutes (@tivec))
  • idle sites (not including untapped sites (at 100% remaining)) (@tivec)
  • sites with miners that no longer have anything under them (but we don't currently keep track of miners at all)
  • active sites (being mined, i.e., non-zero ore-per-minute/miners are present) (@tivec)
    • interestingly, we have this being tracked by the sites themselves right now, check yarm_site.etd_is_lifetime
  • sites with [specific ore] -- which can include a virtual "total" site summarizing all the data (@cpw)
    • this might work better as a separate set of filters that could apply additively with any of the others
  • all sites with warning conditions (i.e., union of the first two filters)
  • all sites

Where applicable, the filters' numbers should be configurable, with separate values for finite (e.g., ore) and infinite (e.g., oil) resource sites, as the same numbers don't usually make sense for both.

@narc0tiq narc0tiq changed the title Configurability for the sites above the fold Configurable filters -- view a subset of sites Nov 12, 2015
@narc0tiq narc0tiq modified the milestone: 0.8 Aug 17, 2016
@narc0tiq
Copy link
Owner Author

Some progress was made in v0.8 -- instead of the expando, there are now filters, they're just not configurable yet.

@narc0tiq narc0tiq removed this from the Next major version milestone Mar 23, 2019
@narc0tiq narc0tiq added this to the Stretch goals for 1.0 milestone Nov 18, 2024
@narc0tiq
Copy link
Owner Author

narc0tiq commented Nov 18, 2024

Updated the OP to reflect the current reality; with the big refactor in 1.0, adding filters has become somewhat more reasonable, and they could perhaps be further improved

@narc0tiq
Copy link
Owner Author

NB: #117 had a similar but distinct list:

  • no sites (exists)
  • remaining % < configurable % (exists, but named "warnings")
  • ETD < configurable number of minutes/hours
  • all warnings (composite of the warning states from above)
  • only sites with finite products (i.e., regular ores)
  • only sites with infinite products (i.e., oil, or some mod ores)
  • all sites (exists)
  • ore summary (Show a summary of known ore sites (e.g., by ore type) #8)

I'm looking at this and thinking that's a lot of buttons; YARM is already starting to go towards a minor UI mess, if we add all these and the order-by UI from #116 we'll have to organize things differently. I suppose 1.0 is a good opportunity to do just that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant