Add deck URL loading for Moxfield and Archidekt#10570
Add deck URL loading for Moxfield and Archidekt#10570Madwand99 wants to merge 1 commit intoCard-Forge:masterfrom
Conversation
|
You might not be aware but there's already another deck URL importer PR here: #10247 |
|
Nope, I didn't know. Oh well, maybe this one has some useful ideas. |
Comparison with #10247I also looked at the similar work in #10247. That PR takes a different but related approach: it adds URL fetching to the Deck Import dialog and converts supported remote decklists into plain import text. This branch instead adds URL loading as a first-class Deck chooser source, builds Both approaches have useful ideas, but they serve slightly different workflows. What this branch does well
Useful ideas from #10247
Suggested future directionIf we add a third or fourth provider, we should consider refactoring |
|
@Madwand99 some thoughts after testing both this and #10247 (bearing in mind I'm not a dev, but I do almost exclusively use desktop and have an interest in the UI flow):
(@Jetz72 FYI) |
|
Yes, I'm aware of the comment. It is a good one. I, in turn, find the idea of loading an existing deck using the deck editor very counter-intuitive. URL decks are "net decks", why shouldn't they be loadable where other net decks are loaded? Of course, I wouldn't mind if the loading were available in both locations, and simply used a common URL loading back-end. |
Summary
Adds a new “Provide Deck URL” option to the deck chooser, allowing users to load decklists directly from supported deckbuilding sites. This initial implementation supports Moxfield and Archidekt URLs.
Loaded URL decks are saved under the user deck directory in
decks/URL, include source URL metadata, and can be selected/reloaded later from the deck chooser.Details
Provide Deck URLas a deck source option.Deck TypeSource URL