mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-05 03:41:24 +08:00
This Pull Request introduces changes that replace the use of .sortBy with .sort combined with compare from @ember/utils. This update aims to modernize and standardize sorting operations throughout the codebase. **Main Changes:** * Replaced .sortBy with .sort and compare in various components, controllers, and services to improve sorting practices. * Updated sorting logic to handle optional chaining (?.) for increased robustness. * Adjusted sorting logic, including reversing, in some cases for more clarity and correctness. * Added a new deprecation workflow entry to handle sortBy deprecation logs (discourse.native-array-extensions.sortBy). |
||
|---|---|---|
| .. | ||
| admin/components | ||
| discourse | ||