9b3b3d099f
Fix trade offer png generation ( fixes #27 ).
...
- Updated `card_badge.html` to adjust width properties for better layout consistency.
- Modified `trade_offer_png.html` to change padding for improved visual appearance.
- Enhanced `bubble_up_trade_offer_updates` signal to delete cached images when related instances change, ensuring up-to-date content.
- Updated `TradeOfferPNGView` to pass the request context when rendering the template, improving compatibility with Django's template rendering.
- Refactored `render_trade_offer_png` to use constants for dimensions and improve readability, while also updating context handling for better integration.
2025-05-05 21:53:31 -07:00
afaa392b2f
use <a> tags for card_badge and trade_offer clickable areas (except for main card_badge row on trade_offers, still uses @click for now because the a tag can't wrap that content for some reason). closes #14
2025-04-15 00:15:08 -07:00
b5db5af185
restore quantity display on expanded card_badges and add limits to all trade offer creation (currently 20 unique cards per side, 20 max quantity per card), fixes #3 and fixes #17
2025-04-08 21:29:36 -07:00
1cdeaa9bba
fix png generation to align with new card badges, fixes #2
2025-04-08 14:40:46 -07:00
a83ce746b5
When a user is thanking, check state to see if other user thanked first, if so switch new_state to THANKED_BY_BOTH. fixes #13
2025-04-08 14:12:54 -07:00
7c62c57433
remove trade offer expanding, fix flipping to work with new layout. all cards in trade offer are not expanded
2025-04-04 16:26:47 -07:00
fa4f38301b
Reduce size of card badges, and change trade offers to show all cards by default, but in minimized mode. expand button now toggles between minimized mode and expanded mode for all cards on the trade offer
2025-04-03 21:54:08 -07:00
63e20bace6
Fix expanded state handling for trade offers and modify expand all on trade offers listing to persist between pages
2025-04-02 13:39:15 -07:00
6a61b79bbe
Fix pagination controls, move mixin to common app, fix pagination invocation on all views, and other random bug fixes
2025-04-01 23:01:05 -07:00
7edefe23c3
Move profile and settings into the new unified dashboard, showing user info in one place
2025-03-31 22:20:59 -07:00
2d826734a0
Add tradeOffer image field, tweak image generation to only fire once per tradeOffer, even with simultaneous requests
2025-03-29 15:13:57 -07:00
05a279fa3a
various small bugfixes; add cards list view
2025-03-28 16:03:31 -07:00
d5f8345581
Rewrite how trade offer png's are generated to try to reduce system resources. Only render the specific html code necessary and not the entire trade offer details page.
2025-03-28 00:49:40 -07:00
b9c4d7a61d
Fix friend_code max length issues in tests, and fix in_game_name length issues, also update tests to fit more scenarios
2025-03-27 17:26:07 -07:00
2785e0ed13
Add initial trades tests
2025-03-27 00:16:44 -07:00
65ca344582
Fix create trade offer flow and other related bugs
2025-03-26 11:38:02 -07:00
f3a1366269
Fix gravatar hovercards, and add trade_offer image generation with playwright, for use with opengraph tags on trade_offer_detal.html
2025-03-20 23:59:22 -07:00
fb9f2f5848
Fix card_multiselect and trade create view using old db fields
2025-03-17 15:38:20 -07:00
86c7eba10a
Refactor database models to majorly increase queries needed and decrease load times of home from 30 secs to 5 sec (we will be caching the rest to decrease even further via background tasks)
2025-03-17 14:08:01 -07:00
f7a9b2f823
Add rarity field to trade_offer instead of looking up via cards
2025-03-16 19:27:16 -07:00
9ce5d525b3
Some optimizations to trade_offers to reduce loading times
2025-03-15 15:23:00 -07:00
bc181b12d9
Add in_game_name field to FriendCode model
2025-03-14 09:50:49 -07:00
b20ca8a888
Fix pagination for trade offer lists
2025-03-13 21:03:41 -07:00
3df4b41750
further fixes for card_multiselect breaking when removing all items; values are now static and quanity is stored in data-quantity. Also fix searching via label and change card_multiselect to accept list of cards instead of card_filter
2025-03-13 19:58:33 -07:00
b97ddde71c
fix card_multiselect filtering and quantity controls
2025-03-13 15:48:26 -07:00
0990340cbc
Add all trades, rename trades_list -> my_trades_list, and fix bottom dock bar for sm screen users
2025-03-12 00:42:29 -07:00
d62956d465
finished conversion to tailwind
2025-03-11 23:47:20 -07:00
6e2843c60e
progress on conversion to tailwind
2025-03-11 23:47:20 -07:00
71b3993326
Initial working version with minor bugs
2025-02-26 00:17:06 -08:00