4e50e1545c
Refactor card badge and multiselect template tags to properly implement and/or improve caching and context handling
...
- Updated `card_badge` and `card_multiselect` template tags to utilize `reverse_lazy` for URL resolution.
- Enhanced caching mechanisms in `card_badge.html` and `card_multiselect.html` to improve performance.
- Introduced a new template `_card_multiselect_options.html` for rendering multiselect options.
- Improved context management in `card_multiselect` to handle selected cards and dynamic placeholders.
- Added error handling for query hashing in `card_multiselect` to ensure robustness.
- Updated `trade_offer_tags` to optimize database queries using `select_related` for related objects.
2025-04-29 13:50:52 -07:00
7d94dc001f
update caching on homepage, and add db checks to healthcheck
2025-04-29 12:50:07 -07:00
6a44ef30a3
build fixes and static files fix, closes #28
2025-04-19 17:10:46 -07:00
7c872740b5
fix trade history misalignment
2025-04-17 19:24:13 -07:00
fca80b88d4
increase trade_offer size from w-87 to w-90
2025-04-17 18:44:27 -07:00
1c702e9e31
Fix card-multiselect js errors on page load when no card multiselect is on page
2025-04-17 18:39:48 -07:00
843b2b6e55
fix pagination of card detail sections
2025-04-17 18:36:13 -07:00
725061e151
fix trade offer tag card gap spacing
2025-04-17 16:56:41 -07:00
b894b60b65
reorganizing build scripts
2025-04-17 16:21:26 -07:00
318571bb7e
Remove example keys and replace with environ access
2025-04-16 22:34:47 -07:00
10386b1ce9
make card_multiselect DRY, closes #26
2025-04-15 00:51:52 -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
86b061c971
add email setting, closes #5 . other misc small fixes
2025-04-13 21:22:43 -07:00
135bd95a6a
smaller text size on trade_acceptance card
2025-04-13 00:42:31 -07:00
9e501af1ac
fix card_badges to always be links to card detail page
2025-04-13 00:33:56 -07:00
5fbe80e83a
update trade acceptance styling and layout, and also trade acceptance update/details page. fixes #16
2025-04-12 22:10:46 -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
52663c83ef
remove avatar dropdown in header, and change click to redirect to dashboard
2025-04-08 01:55:05 -07:00
dd2ee7b558
update email templates to link to trade offer itself and unify language
2025-04-08 01:23:52 -07:00
bd7a65975f
Bugfixes for emails and bugfixes for trade acceptance quantities being checked on create, closes #1
2025-04-08 00:59:40 -07:00
32da8157a6
Refactor email templates
2025-04-07 19:01:51 -07:00
e37731b74d
Add javascript marquee effect for overflowing text on card badge names
2025-04-06 23:49:22 -07:00
262f0ea190
fix card badges to have better rarity visibility and other bugfixes
2025-04-06 22:33:01 -07:00
37d8bd5981
Another attempt at getting the trade flipping and collapsing looking correct
2025-04-06 20:27:49 -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
01becbee48
Fixes to trade expansion and trade acceptance appearance
2025-04-03 17:09:51 -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
138a929da6
Various small bug fixes, break out pagination for cards into its own mixin and templatetag
2025-03-29 00:27:40 -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
15f8eb7cf4
Update seed data to include new cards, and modify hex codes for existing decks to be more different. Also add functionality to set a dark font color for card_badges if the bg color is too light
2025-03-28 00:39:08 -07:00
2cb35e853d
Allow theme button to toggle between 3 themes: system (prefers-dark-theme), dark, light
2025-03-27 23:16:10 -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
4c0db9f842
Fix Gravatar profiles showing on hover and add gravatar explanation and profile page for users
2025-03-18 14:27:16 -07:00
2451a6c630
Update trade offer acceptance update template buttons to have better text and styling
2025-03-18 14:21:18 -07:00
fb9f2f5848
Fix card_multiselect and trade create view using old db fields
2025-03-17 15:38:20 -07:00
c77e32a82d
Change _messages fragment to have default of alert-info instead of bg-base-100
2025-03-17 15:22:46 -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
27c7238a82
Enable caching via DB and update cache timeouts
2025-03-15 22:16:00 -07:00
9ce5d525b3
Some optimizations to trade_offers to reduce loading times
2025-03-15 15:23:00 -07:00
0ac8ac8d5c
fix friend_code editing
2025-03-15 15:22:41 -07:00
36f97be9d0
Fix styling of friend codes list
2025-03-14 11:08:01 -07:00
bc181b12d9
Add in_game_name field to FriendCode model
2025-03-14 09:50:49 -07:00