Commit Graph

  • f4aece4c51 Adding Player Handles (cleanup) (#137) master norswap 2024-07-21 19:45:30 +02:00
  • 8a88c7583b rename parameter to avoid Solidity warning faytey-handles Nicolas "Norswap" Laurent 2024-07-21 19:40:00 +02:00
  • 457c39c213 add player handles Faith M. Roberts 2024-07-03 21:21:22 +01:00
  • 6c5c87677f chore: update deps, update PrivateInfo type ac/misc-fixes ultraviolet10 2024-04-18 14:18:32 +05:30
  • d38f8c5166 fix: modal text style, trigger deps update ultraviolet10 2024-04-18 14:12:52 +05:30
  • a03715948e detect offline client (#129) norswap 2024-04-02 14:37:53 +09:00
  • 46803985d9 offline client detection Blazing-mike 2024-04-02 14:31:25 +09:00
  • 851f71c5a2 Resolved all warnings when running make check. Then ran linter in webdev/src DeckChainy eviterin 2024-03-26 19:51:26 +01:00
  • f812094c1f Renamed getDeck to getDeckCards. Renamed getDeckReal to getDeck. eviterin 2024-03-26 19:39:04 +01:00
  • 0b5d9a129b Fixed a bug where the loading indicator would be prematurely hidden. Also changed it's color eviterin 2024-03-26 19:29:54 +01:00
  • e7b320c362 Removed incorrect deck size limits and small button label changes eviterin 2024-03-08 21:21:21 +01:00
  • ba4dc7d7c4 Save and cancel buttons now have different colors eviterin 2024-03-08 21:18:22 +01:00
  • 0ccfd78f6b Added spacing between decks eviterin 2024-03-08 21:16:49 +01:00
  • fa856def6d Set default name for deck eviterin 2024-03-08 21:16:31 +01:00
  • c2cbafb6c2 Removed console.logs eviterin 2024-03-08 21:09:50 +01:00
  • 48818f1d2a Added an indicator that the player's decks are loading eviterin 2024-03-08 21:06:39 +01:00
  • 8bb08d9c92 checkDeck function also verifies deck min size. joinGame function now validates the deck. eviterin 2024-03-08 20:57:53 +01:00
  • 22af73c852 updated to NOT run deck validity checks on deck creation/modification. eviterin 2024-03-08 20:43:10 +01:00
  • af4f3dac93 Added a meter that displays deck validity eviterin 2024-03-08 20:23:07 +01:00
  • 5288304da4 Show loading modal when loading deck eviterin 2024-03-04 17:15:47 +01:00
  • 29a78eaf6d No longer loads all the deck of the player, but instead loads all the deck names of a player. Only once a deck has been selected do we fetch all the cards of that deck. eviterin 2024-03-04 16:31:52 +01:00
  • a906dac0cd Implemented interface to call the added functions in eviterin 2024-03-04 16:29:17 +01:00
  • 7d0bf6d41d Added two new functions. One to fetch all deck names a player owns and one to fetch the actual deck. eviterin 2024-03-04 16:28:12 +01:00
  • e0f5d3c8cd Moved some logic related to decks from ´collection´ to ´decklist´. added function to fetch all deck names of a given player eviterin 2024-03-03 16:56:22 +01:00
  • 4123b000a2 Modify deck support eviterin 2024-03-03 15:02:40 +01:00
  • 6bdbd822a6 Fixed a bug where player could save a deck and then try loading it before it had been published on chain eviterin 2024-03-03 14:38:48 +01:00
  • 157e8ad9c5 Now shows modal while saving deck eviterin 2024-03-03 13:40:05 +01:00
  • 08a9b2e28a Can now load decks eviterin 2024-03-02 19:25:20 +01:00
  • 032db1df1e Can now save deck onchain eviterin 2024-03-02 18:24:37 +01:00
  • ceaa86ad8f Added ability to fetch all decks of a given player from chain eviterin 2024-03-02 18:09:00 +01:00
  • bddea36032 Deck struct now also consists of name. Named airdropped deck. eviterin 2024-03-02 17:40:01 +01:00
  • 50804390ee Add import and style sorting config + capabilities. (#132) Aritra Chatterjee 2024-03-13 12:23:37 +05:30
  • f0d780b951 fix dep issues in useScrollbox ac/import-style-format Aritra Chatterjee 2024-03-12 16:57:07 +05:30
  • e0732156d5 fix imports Aritra Chatterjee 2024-03-12 16:33:27 +05:30
  • a48d963c46 fix make commands Aritra Chatterjee 2024-03-12 16:33:18 +05:30
  • 3847275659 update eslint rule Aritra Chatterjee 2024-03-12 16:32:52 +05:30
  • 5180ec487b add rule for import restrictions Aritra Chatterjee 2024-03-08 11:21:08 +05:30
  • f7013b594c add .mjs to format rule, fix import style Aritra Chatterjee 2024-03-08 11:11:44 +05:30
  • eb96a28e9e update Makefile command Aritra Chatterjee 2024-03-08 10:53:50 +05:30
  • 8e71ee1b38 format .cjs files Aritra Chatterjee 2024-03-08 10:53:41 +05:30
  • 8f0427e260 add missed file Aritra Chatterjee 2024-03-07 19:10:41 +05:30
  • 645410665f add eslint rule for grouping src imports Aritra Chatterjee 2024-03-07 19:10:24 +05:30
  • 3a5640cb70 add back prettier, some other format changes Aritra Chatterjee 2024-03-07 19:05:17 +05:30
  • 701f868cdc add eslint's fix to make format command Aritra Chatterjee 2024-03-04 14:35:58 +05:30
  • d1c302c853 fix: run eslint imports sort on webapp files Aritra Chatterjee 2024-03-04 14:35:38 +05:30
  • 2ac3cf7d46 feat: style formatting with tailwind prettier plugin Aritra Chatterjee 2024-03-04 11:47:07 +05:30
  • b0d586cdf7 Global prettier reformat. (#131) Aritra Chatterjee 2024-03-04 11:38:09 +05:30
  • 78e953c5ca workflow check ac/reformat-webapp Aritra Chatterjee 2024-03-04 11:36:29 +05:30
  • 1c43484868 add prettier as a dependency Aritra Chatterjee 2024-03-03 09:40:22 +05:30
  • 61e8d7efbe remove format update Aritra Chatterjee 2024-03-03 09:09:06 +05:30
  • 0f02e6e8fa config prettier to check/format inside /src directory Aritra Chatterjee 2024-03-03 09:08:49 +05:30
  • 25f814a880 run prettier --write globally on webapp Aritra Chatterjee 2024-03-03 09:04:58 +05:30
  • 639f9ff65c Add global formatting for the webapp. (#130) Aritra Chatterjee 2024-03-03 09:00:43 +05:30
  • a5ada2765e minor fixes ac/global-lint Aritra Chatterjee 2024-03-03 08:00:12 +05:30
  • 3a73425cea update prettier config Aritra Chatterjee 2024-03-02 16:53:35 +05:30
  • 1b1c696a10 fix: move prettier check command into webapp makefile Aritra Chatterjee 2024-03-02 16:52:05 +05:30
  • 72c12908d5 update global makefile Aritra Chatterjee 2024-03-02 15:50:17 +05:30
  • 2c3d1dd4ab remove unnecessary workflow install Aritra Chatterjee 2024-03-02 15:48:30 +05:30
  • ae728417f6 increase printWidth Aritra Chatterjee 2024-02-27 17:26:47 +05:30
  • a3cbca6591 fix: remove unused import from eslintrc Aritra Chatterjee 2024-02-27 17:24:02 +05:30
  • 56e4295e53 remove default values Aritra Chatterjee 2024-02-27 17:05:55 +05:30
  • 40106281ac add prettier check in gh workflow Aritra Chatterjee 2024-02-27 16:47:06 +05:30
  • 6e2145d735 feat: add prettier format config Aritra Chatterjee 2024-02-27 16:37:03 +05:30
  • 2fb40c14d6 The (Editor and Collection) Merge (#108) norswap 2024-03-01 15:14:39 -07:00
  • 0f1f0aa740 Removed unused imports eviterin 2024-02-27 17:20:34 +01:00
  • 3cf1f440ea Removed unnessecarily complex props from collection and resolved a bug when saving an existing deck eviterin 2024-02-27 17:19:05 +01:00
  • 60aff3f36f Deck display no longer crashes if the player does not own any decks eviterin 2024-02-27 17:04:57 +01:00
  • 928aded81e make check Nicolas "Norswap" Laurent 2024-02-27 03:17:27 -07:00
  • 42f25f7607 Fix bug where deck was not editable eviterin 2024-02-26 09:40:53 +01:00
  • 36e35aed80 Improved flexing the deck panel eviterin 2024-02-22 10:46:24 +01:00
  • 3a83806b1b quick fix starting index is 1 eviterin 2024-02-22 10:21:39 +01:00
  • 1c06d682d6 removed fallback art for cards eviterin 2024-02-21 19:28:31 +01:00
  • 661c69f8a0 add .vs and .vscode to gitignore eviterin 2024-01-23 19:23:56 +01:00
  • 3294eabfc9 fixes eviterin 2024-02-20 19:28:44 +01:00
  • 345996f437 Made deck name buttons scale to daddy component width eviterin 2024-02-20 18:58:12 +01:00
  • 9a8eaf92fb use our own buttons eviterin 2024-02-20 18:52:17 +01:00
  • f859439e47 made text readable by humans eviterin 2024-02-20 18:46:22 +01:00
  • aa8b57895c flex the deck panel eviterin 2024-02-20 18:39:09 +01:00
  • 7705e70fdc Use our own button components and moved them down to their own row eviterin 2024-02-20 18:37:05 +01:00
  • 70c9423103 deck names... eviterin 2024-02-20 18:25:06 +01:00
  • 2661a57c6a Removed redundant comments eviterin 2024-02-20 18:14:14 +01:00
  • a270ef75ec better card art selection eviterin 2024-02-20 08:01:44 +01:00
  • f029ccd7d4 remove extra import eviterin 2024-02-07 16:29:46 +01:00
  • 634a867375 add queryParamLink eviterin 2024-02-07 17:13:00 +01:00
  • 102fc6ddef corrected error message eviterin 2024-01-28 20:38:30 +01:00
  • 46956eb32d made sure the index param stays eviterin 2024-01-30 19:52:14 +01:00
  • 99c3b1eb24 made explicit types eviterin 2024-01-28 19:47:31 +01:00
  • 3d2223bf15 use Deck type instead of card[] eviterin 2024-01-28 19:38:56 +01:00
  • c141bd07ac decks stored in collection instead of _app eviterin 2024-01-28 19:37:12 +01:00
  • f431eba293 extended FablePage type for the Collection Component props ot prevent warnings eviterin 2024-01-28 01:30:21 +01:00
  • 0c01ce5825 remove semicolons eviterin 2024-01-28 01:25:27 +01:00
  • 474592aacf Dynamic card resize in collectionDisplay as per Norswap's recipe eviterin 2024-01-27 22:49:45 +01:00
  • de6fc70ba7 Added custom tailwind box shadow eviterin 2024-01-27 22:43:48 +01:00
  • b1ce4ba21c removed unneeded default props eviterin 2024-01-27 22:07:54 +01:00
  • 3080773d76 added trim and set deck name to be valid as an initial state eviterin 2024-01-27 21:46:55 +01:00
  • 168087a0d3 added deck name validity check for just spaces eviterin 2024-01-27 21:45:16 +01:00
  • 109500a14e readded the props to to keep css. eviterin 2024-01-27 21:34:53 +01:00
  • d4f508b877 file renames and import updates eviterin 2024-01-27 21:33:56 +01:00
  • 8b21444fd0 minor typo eviterin 2024-01-27 21:28:44 +01:00
  • 05d0817d02 minor typo eviterin 2024-01-27 21:28:28 +01:00