menu: add Favorites section#10028
Conversation
|
Very cool idea! |
|
The idea is certainly nice, but reviewing a PR of this size takes quite some time. Can't promise anything yet as this topic isn't on our roadmap. |
|
I understand In any event, I've now just realised that I've introduced user-awareness into the menu system, which seems to be contrary to https://docs.opnsense.org/development/components/menusystem.html. So I expect you will have an issue with that... |
|
Keep this open. This is extremely useful, no matter what some 8 year old documentation says. The priorities were totally different then. Maybe it should not be implemented exactly this way but at the very least, open an issue/ feature request on this. |
|
My intent is to refactor the code so it is (hopefully) compliant, and create a new PR. Code development frameworks serve a purpose, so I don't have an issue with that. I just should have RTFM more carefully the first time (so much detail xD) |
|
@Greelan less code is easier to review indeed, I'm just trying to manage expectations here, you can surely just keep the PR open, opening a new one with less code is obviously also fine. |
|
I think it is cleaner in a new PR: #10033 Refactoring allowed me to shorten the PR by 15%, and hopefully achieve much better MVC/development framework compliance xD |
Implements a Favorites section:
Some sample screenshots attached.
Javascript / HTML is not my strong suit, so be kind xD