Open
Conversation
|
@brapifra is attempting to deploy a commit to the polar-sh Team on Vercel. A member of the Team first needs to authorize it. |
…unnecessary order.paid matching logic
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📋 Summary
This PR creates a new Customer Activity view that allows organization admins to see the lifecycle on a specific customer.
The activity view shows a timeline of all events, but presented in a much nicer way in terms of UX:
order.paidandbalance.orderevents are a bit redundant when a subscription gets renewed, so we hide them)🎯 What
uipackage if it made sense to reuse it across other packages.🤔 Why
The current
eventsview is not a really helpful UI to quickly check the lifecycle of a specific customer. It's hard to follow what happened when there are many events, it's also hard to differ positive from negative events...🧪 Testing
uv run task testfor backend,pnpm testfor frontend)Added tests for the business logic
uv run task lint && uv run task lint_typesfor backend)Test Instructions
🖼️ Screenshots/Recordings
With a "Non-paid renewal" warning:

📝 Additional Notes
Load morebutton to load more items.Eventspage, it feels like it can be deferred to a future PR where list virtualization across potentially long lists in the app is implemented.✅ Pre-submission Checklist