Closed fenhl closed 2 years ago
Do you want to make this a checklist, so we can check things off as we merge things or decide that we don't want to merge them?
Some quick notes:
is:mainfront
for? I thought it's a shortcut for is:front is:primary
, but only first part of split card counts for is:mainfront
.is:custom
/ st:custom
code, they'll just return no cards for me.CardController#list
sounds good (then again, I had some Russian bot problems before 😅)Checklist added.
is:mainfront
is to have an easy way of filtering down to one result per physical card, which is:primary
doesn't accomplish due to its handling of split cards. For example, it's used in the Discord bot commands %mjt
and %momir
.sort:number
exists as well. Starting with colorless is more intuitive for the Commander players I've asked (and searching for deck commanders is probably the most common use-case for sort:color
).is:custom
/st:custom
makes sense, especially since I'm not the only one in the custom Magic community maintaining a fork of this. Moved up into mergeable.CardController#list
I'd ideally like to return JSON so that the bot doesn't have to parse HTML. Haven't figured out how to get rid of the application.html.haml
wrapper yet.I merged a few minor things. Still a lot to go.
I plan to open PRs for format checks and Canlander tomorrow. Maybe others too depending on how long that takes.
I merged in a few other things, but they're related to custom/errata stuff, so can't even verify that I did it right.
is:front is:primary
is redundant, right? Since is:primary
implies is:front
Yes it is redundant.
Didn't get around to working on this after all but I should have time next week.
Oh right. Do you want to continue with it?
Apologies, I've been busy with other things lately, but this is definitely still on my radar.
@fenhl Are you still interested in this, or did you move on to other things? It looks like https://lore-seeker.cards/ is no longer up.
I'm taking a break from Magic (not sure if and when I'll play again) and handed Lore Seeker over to @EikePeace, who has been having trouble setting everything up afaik.
Closing long inactive feature requests. Feel free to reopen if still interested.
As you suggested in #71, here's a quick summary of the changes between master and lore-seeker:
Mergeable into master
is:errata
(#75 is a bit outdated)rulings
condition (checks number of rulings, conflicts with your newrulings
condition, would be nice to have both)search-engine/lib/color_balanced_card_sheet.rb
makesweights.nil?
a hard error since this indicates a set not generating boosters as specifiedis:mainfront
search-engine/lib/sorter.rb
(fewer colors first, shards and wedges in the order WotC lists them)CardController#list
(bot-friendly search API)is:custom
andst:custom
conditionsRequires Discord integration
sort:default
)Custom cards and other Lore Seeker-specific things
dev?
(true
on dev.lore-seeker.cards which is both new feature testing ground and next rotation spoilers page)