You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One proposal that could make this simpler, and also help with #117, would be to let users optionally "bring their own UI" by providing a Plug to be used for the UI in router.ex in place of the default one that renders index.html.
ui_plug=Application.get_env(:vintage_net_wizard,:ui,DefaultUIPlug)# Here I an namespacing the UI under /ui, which I think is a good idea# if we make the UI customizableforward"/ui",to: ui_plug# Other API endpoints could stay as they are, so the UI can use them:forward"/api/v1",to: VintageNetWizard.Web.Api
This is a relatively small change that would enable users to customize the UI without having to fork the project. It would also make further development on the project more flexible, clarify what part is public API that one can rely upon and what part is private implementation details, and make it possible for people to create alternative wizard UIs (maybe including I18n) and offer them as libraries.
All text is currently hardcoded English strings. This issue is for refactoring the code base to support translations.
The text was updated successfully, but these errors were encountered: