basecamp / basecamp/mission_control-web

Improve path selection UX

Open
#39 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Ruby
Stars
102
Forks
7
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue names no files or tests. Start by locating the Admin UI's regex-based path configuration and the Rails route list, then investigate how the Admin app could obtain routes from the Protected app in a two-app install. Done means paths can be selected from application routes in both single-app and two-app deployments.

Written by the indexing model from the issue text.

Assessment

Tech stack
rails, ruby
Domain
api, full-stack
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.