Skip to content

DEV: migratre to objects setting, fix mobile CSS#56

Merged
awesomerobot merged 2 commits into
mainfrom
dev-migrate-update
Jul 14, 2026
Merged

DEV: migratre to objects setting, fix mobile CSS#56
awesomerobot merged 2 commits into
mainfrom
dev-migrate-update

Conversation

@awesomerobot

@awesomerobot awesomerobot commented Jul 14, 2026

Copy link
Copy Markdown
Member

This updates the old list setting to the better structured objects type, and migrates existing settings to it (including a test).

I've also fixed a CSS issue on narrow viewports when Hide_dropdowns was enabled, it was unintentionally hiding the top_menu rather than just the category and tag dropdowns. The initializer has also been refactored to be a bit simpler.

Comment on lines +8 to +12
for (const {
display_name: displayName,
title,
url,
} of settings.nav_links) {

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is great

Comment thread migrations/settings/0001-migrate-nav-links-to-objects.js
@awesomerobot
awesomerobot merged commit b21accc into main Jul 14, 2026
5 checks passed
@awesomerobot
awesomerobot deleted the dev-migrate-update branch July 14, 2026 16:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants