diff --git a/make_post_sell/models/offer.py b/make_post_sell/models/offer.py index f67dfd1..50b7ee0 100644 --- a/make_post_sell/models/offer.py +++ b/make_post_sell/models/offer.py @@ -104,7 +104,7 @@ OFFER_EVENT_INT_TO_HUMAN = { # Defaults โ€” shop settings override these per-shop. -DEFAULT_OFFER_EXPIRATION_HOURS = 48 # 2 days, pre-acceptance window +DEFAULT_OFFER_EXPIRATION_HOURS = 72 # 3 days, pre-acceptance window DEFAULT_OFFER_MAX_ROUNDS = 3 DEFAULT_OFFER_AUTO_ACCEPT_PCT = 95 DEFAULT_OFFER_AUTO_DECLINE_PCT = 50 diff --git a/make_post_sell/models/shop.py b/make_post_sell/models/shop.py index f656592..e4f184c 100644 --- a/make_post_sell/models/shop.py +++ b/make_post_sell/models/shop.py @@ -200,7 +200,7 @@ class Shop(RBase, Base): BigInteger, nullable=False, default=50, server_default="50" ) offer_expiration_hours = Column( - BigInteger, nullable=False, default=48, server_default="48" + BigInteger, nullable=False, default=72, server_default="72" ) offer_max_rounds = Column( BigInteger, nullable=False, default=3, server_default="3" diff --git a/make_post_sell/templates/offer.j2 b/make_post_sell/templates/offer.j2 index 2e36753..a847856 100644 --- a/make_post_sell/templates/offer.j2 +++ b/make_post_sell/templates/offer.j2 @@ -44,15 +44,13 @@

Paid — this offer is complete.

- {% elif can_act %} -
-

It's your turn — accept, counter, or decline below.

-
- {% elif is_open %} -
-

Waiting on the other party to respond.

-
{% endif %} + {# can_act / is_open notices intentionally absent โ€” the "Your turn" + and "Waiting on the other party ยท they have X to respond" wells + render directly below and carry the same copy. Same pattern as + the dropped accepted-banner โ€” when there's a follow-on action + block carrying the message, the alert stripe just orphans a + band of color in the middle of the page. #} {% if can_act %}
diff --git a/make_post_sell/tests/test_integration.py b/make_post_sell/tests/test_integration.py index 89bc040..56c071f 100644 --- a/make_post_sell/tests/test_integration.py +++ b/make_post_sell/tests/test_integration.py @@ -4577,7 +4577,7 @@ class TestPricingModePersistence(DatabaseIntegrationTests): fetched = self.dbsession.query(Shop).get(shop_id) self.assertEqual(fetched.offer_auto_accept_threshold_pct, 95) self.assertEqual(fetched.offer_auto_decline_threshold_pct, 50) - self.assertEqual(fetched.offer_expiration_hours, 48) + self.assertEqual(fetched.offer_expiration_hours, 72) self.assertEqual(fetched.offer_max_rounds, 3) self.assertEqual(fetched.offer_min_buyer_account_age_hours, 0) # Booleans/nullable: offer_enabled defaults None (no server_default set)