Use single list for desktop and mobile nav bars #2227
Reference in New Issue
Block a user
Delete Branch "rules-in-sidebar"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
When working on the rules, I noticed that the "Rules" item in the settings nav wasn't available on mobile. Digging into this, desktop and mobile were using two different hardcoded list. I've changed this so both views are dynamically generated from a single list, which simplifies the nav bar code, ensures rules shows up on mobile, and future proofs the nav bars from diverging.
This also moves the
"Rules"text to the locales file.Good idea here!