feat(date-memories): add DATE_REFLECTION_PENDING priority to HomePriorityEngine
This commit is contained in:
parent
038c1bd6e6
commit
9b5f6b4eb3
|
|
@ -19,8 +19,9 @@ package app.closer.ui.home
|
||||||
* 9. Weekly recap ready
|
* 9. Weekly recap ready
|
||||||
* 10. Capsule unlocked
|
* 10. Capsule unlocked
|
||||||
* 11. Date reminder
|
* 11. Date reminder
|
||||||
* 12. Suggested pack
|
* 12. Date reflection pending
|
||||||
* 13. Explore games
|
* 13. Suggested pack
|
||||||
|
* 14. Explore games
|
||||||
*
|
*
|
||||||
* Rules:
|
* Rules:
|
||||||
* - Show one primary CTA.
|
* - Show one primary CTA.
|
||||||
|
|
@ -49,6 +50,7 @@ object HomePriorityEngine {
|
||||||
val weeklyRecapReady: Boolean = false,
|
val weeklyRecapReady: Boolean = false,
|
||||||
val capsuleUnlocked: Boolean = false,
|
val capsuleUnlocked: Boolean = false,
|
||||||
val dateReminder: Boolean = false,
|
val dateReminder: Boolean = false,
|
||||||
|
val dateReflectionPending: Boolean = false,
|
||||||
val suggestedPackAvailable: Boolean = false,
|
val suggestedPackAvailable: Boolean = false,
|
||||||
val exploreGamesAvailable: Boolean = false
|
val exploreGamesAvailable: Boolean = false
|
||||||
)
|
)
|
||||||
|
|
@ -68,6 +70,9 @@ object HomePriorityEngine {
|
||||||
WEEKLY_RECAP_READY,
|
WEEKLY_RECAP_READY,
|
||||||
CAPSULE_UNLOCKED,
|
CAPSULE_UNLOCKED,
|
||||||
DATE_REMINDER,
|
DATE_REMINDER,
|
||||||
|
// You marked a date done but haven't reflected yet. Value action in the date band: an actionable
|
||||||
|
// shared-memory prompt, ranked above the daily-question closure card.
|
||||||
|
DATE_REFLECTION_PENDING,
|
||||||
// You already revealed today's question — a low-priority "keep the conversation going" closure card.
|
// You already revealed today's question — a low-priority "keep the conversation going" closure card.
|
||||||
DAILY_QUESTION_REVEALED,
|
DAILY_QUESTION_REVEALED,
|
||||||
SUGGESTED_PACK,
|
SUGGESTED_PACK,
|
||||||
|
|
@ -141,6 +146,7 @@ object HomePriorityEngine {
|
||||||
Priority.WEEKLY_RECAP_READY -> input.weeklyRecapReady
|
Priority.WEEKLY_RECAP_READY -> input.weeklyRecapReady
|
||||||
Priority.CAPSULE_UNLOCKED -> input.capsuleUnlocked
|
Priority.CAPSULE_UNLOCKED -> input.capsuleUnlocked
|
||||||
Priority.DATE_REMINDER -> input.dateReminder
|
Priority.DATE_REMINDER -> input.dateReminder
|
||||||
|
Priority.DATE_REFLECTION_PENDING -> input.dateReflectionPending
|
||||||
Priority.SUGGESTED_PACK -> input.suggestedPackAvailable
|
Priority.SUGGESTED_PACK -> input.suggestedPackAvailable
|
||||||
Priority.EXPLORE_GAMES -> input.exploreGamesAvailable
|
Priority.EXPLORE_GAMES -> input.exploreGamesAvailable
|
||||||
}
|
}
|
||||||
|
|
@ -166,7 +172,8 @@ object HomePriorityEngine {
|
||||||
Priority.DAILY_QUESTION_AWAITING_PARTNER,
|
Priority.DAILY_QUESTION_AWAITING_PARTNER,
|
||||||
Priority.DAILY_QUESTION_REVEALED,
|
Priority.DAILY_QUESTION_REVEALED,
|
||||||
Priority.WEEKLY_RECAP_READY,
|
Priority.WEEKLY_RECAP_READY,
|
||||||
Priority.DATE_REMINDER -> true
|
Priority.DATE_REMINDER,
|
||||||
|
Priority.DATE_REFLECTION_PENDING -> true
|
||||||
else -> false
|
else -> false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue