-
-
Notifications
You must be signed in to change notification settings - Fork 11k
Fixed position of member metric for latest post #24363
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
WalkthroughThe conditional logic determining the CSS grid placement for the member growth metric in the LatestPost component was updated. The new logic requires that email metrics are being displayed, in addition to either web metrics not being shown or web analytics being disabled, for the member metric to move to the second row and first column of the grid. This change refines the conditions under which the grid position of the member metric is altered, making it dependent on the simultaneous presence of email metrics and the previous web-related conditions. No changes were made to exported or public entities. Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Note ⚡️ Unit Test Generation is now available in beta!Learn more here, or try it out under "Finishing Touches" below. 📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
✨ Finishing Touches
🧪 Generate unit tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
e4a72cb
to
e4d8908
Compare
ref https://linear.app/ghost/issue/ENG-2455/fix-position-of-member-metric-on-latest-posts - The member metric (ie. no. of new members the post generated) in the Latest post section on Analytics overview had to be positioned as the last item, if the post [has been sent as an email] and [there's no web analytics data (email-only post) or web analytics is turned off] — the reason for this is purely aesthetical: in this case it looks better if the member metric appears in the 2nd row of the grid. The current condition had not contained the first part ("has been sent as an email"), this PR added it.
e4d8908
to
4ec267c
Compare
ref https://linear.app/ghost/issue/ENG-2455/fix-position-of-member-metric-on-latest-posts