-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
spin modified but not applied rules #1
Comments
👍 |
updated spin2.mp4 |
@opnsenseuser |
at that time i also wanted to use a moving icon for my sidebar to switch the sidebar. I thought if truenas used something like that, then they would accept it. as you can see unfortunately not. it became a static icon. that's why i decided to cross out the rule for the time being. I am not dependent there and there is an improvement and more recognizable. |
it's always better to try and fail than not try at all) |
you did a great job by the way. i hope they will take it 👍 |
@kulikov-a we're indeed not a fan of large codeblocks on legacy code, ideally these pages still have to be converted to mvc, which will be more complicated with every addition we put in place, certainly if it doesn't fit the existing components we use in the mvc parts of our system. |
@AdSchellevis |
@kulikov-a the code "in the middle"[1] has been refactored already, the gui (and missing api) parts are the issue. but since these pages are a bit too complicated to fit in our standard bootgrid and the underlaying model isn't migrated, it's a lot of work to do this properly. eventually we will have to do this, which is also the reason why the firewall api plugin exists, which could serve more or less as the target platform. If changes add a lot of value, we do tend to include them and cleanup the legacy php pages, but with every addition we do there, it's getting harder to reach the actual goal.... This year I don't expect we will replace the gui, but we are being careful what we do add to the legacy components (less logic and features that are more or less like the new components [bootgrid for example], help to make another step, options for which we don't really have new alternatives are less attractive) Some optical improvements look great in the beginning, but cause us quite some headaches later on.... [1] https://github.com/opnsense/core/tree/master/src/opnsense/mvc/app/library/OPNsense/Firewall |
@AdSchellevis thanks for the clarifications! it seems the general idea has become a little clearer. The question is, is it really worth using the MVC for optical enhancements of this kind (wasting server resources on spinning icons)? |
@kulikov-a I'm not saying we won't add functions to the legacy components, just managing expectations. If you open a PR we can always discuss, but it might not make it to the project for various reasons. |
@AdSchellevis |
Based on idea from the forum
https://forum.opnsense.org/index.php?topic=21634.msg102526#msg102526
Trying to add a changes preview before applying
toggle_spin.mp4
The text was updated successfully, but these errors were encountered: