Replaced 'promote' with 'sticky' as the pinning sort in automated lists. - #290
Conversation
|
Warning Review limit reachedYou’ve reached a temporary PR review limit under our Fair Usage Limits Policy. Next review available in: 27 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
Comment |
|
Code coverage (threshold: 80%) Per-class coverage |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #290 +/- ##
========================================
Coverage 84.68% 84.68%
========================================
Files 19 19
Lines 235 235
========================================
Hits 199 199
Misses 36 36 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Checklist before requesting a review
[#123] Verb in past tense.#123added to descriptionChangedsectionChanged
promotesort for astickysort as the first (primary) sort in thecivictheme_automated_listview (config/default/views.view.civictheme_automated_list.yml), keepingDESCorder. TheAuthored on(created) DESC secondary sort is unchanged.promotecontrols front-page promotion, not list pinning, so editors could not pin an item to the top of an automated list without also promoting it to the front page;sticky(Sticky at top of lists) now drives the pinning instead.tests/behat/features/paragraph_civictheme_automated_list_sort.featurewith two@apiscenarios: one confirms a sticky item renders above a more recently authored, non-sticky item (and above a merely promoted item); the other confirms that, with nothing sticky, ordering still falls back to authored date. Both were verified locally against the fix (pass) and against the priorpromote-based config (fail).Screenshots
N/A - config-only change to a view's sort order, plus a Behat feature file. No template, styling, or layout changes.
Before / After