rubycentral / cfp-app

Rails app for managing a conference CFP
MIT License
223 stars 154 forks source link

Control the order of navigation links #282

Closed jonsgreen closed 2 years ago

jonsgreen commented 2 years ago

Control the order of navigation links

Reason for Change

From Miro Story:

As a designer, I need to be able to determine the ordering of navigation links, so that I can control the layout of navigation on the site. This lets me put important links first.

This PR cleverly uses selectize along with the included drag-and-drop plugin to select and order both the static and dynamic pages to control the visibility and order of the navigation links. Hopefully this simplifies the navigation management. While working on the navigation links I recognized that using a select gets selectize to submit the values as an array which I was able to similarly use to cleanup Website#footer_categories.

Changes

Control the order of navigation links