Skip to content
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

Improve path selection UX #39

Open
lewispb opened this issue May 9, 2024 · 0 comments
Open

Improve path selection UX #39

lewispb opened this issue May 9, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@lewispb
Copy link
Member

lewispb commented May 9, 2024

At the moment, it's only possible to configure paths in the Admin UI using a regex.

It'd be nice to take advantage of Rails routes to support picking the path from a list of application routes.

For an example of the sort of list of routes that would be useful:

Rails.application.routes.routes.map {_1.path.to_regexp }.uniq

We could call this directly in a single app install of MC-W, but for a two app install we'd need to have the Admin app read the list of potential apps from the Protected app. This would likely involve some sort of HTTP request from the Admin app to an API available on the Protected app.

@lewispb lewispb added the enhancement New feature or request label May 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant