Skip to content

(feat) Integrate legacy Luci views inside new Luci-ng app #44

@ianchi

Description

@ianchi

In some talks we have agreed that it would be great to have some way to integrate legacy views in the new app, to leverage all the existing extensions.
Quoting some background on #42 from @jow-

My idea here is to build some kind of special legacy LuCI theme which removes header and footer markup but includes some special .js file instead which takes care of rendering the LuCI-NG framing around the legacy content markup. I have already started to convert legacy LuCI to ubus login sessions so that message passing between old and new LuCI becomes easier.

At this stage I am skeptical about how feasible a deeper integration is, like refactoring the old Lua/HTML CBI to output JSON schemas instead as this would require a lot of message-passing with the backend to execute embedded Lua code snippets and expose their inputs/outputs via some RPC channel.

I'm leaving this issue opened to track anything related to this topic

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions