RFC: Rule authoring in the UI as a thin client over git PRs? #394
Replies: 4 comments 1 reply
|
Some thoughts I'm porting over from Discord:
|
|
As mentioned on call, I'd drop all SCM integration, in favour of a simple database table + persistent links for pending rules, so like The pending rules list should also have one-click to access the rule source in SML such that it can be one click to view + one click to copy + whatever SCM stuff they need to do. |
|
For MVP UI, I don't have anything major to add. One nice to do would be to move the "Submit for Review" action button into the validation card. Since you can only submit for review if there are no errors, I think it makes a lot of sense to have the button closer to the status info. I also wonder if the "turn this rule on once review is approved" check box should be in the validation card as well. |








Uh oh!
There was an error while loading. Please reload this page.
The Rules and Features registries in 1.1.0 made it easier to see what an Osprey deployment is running. The natural next step a few of us have been kicking around (and is heavily requested by potential adopters) is making it easier to add a rule from the UI. For the MVP, maybe we could design it so it doesn't give up the git-based governance and source-of-truth model that production deployments rely on today.
Here's how I think it could work:
This keeps git as the source of truth, preserves audit and review, and gives non-engineer operators a friendlier on-ramp for writing rules.
A few things I'd like input on:
If this feels and sounds good, I'm happy to write up a more detailed design doc. If it doesn't, let me know!
All reactions