Expose all /v2 App attributes in UI
The Marathon web client should expose the following attributes when creating, viewing or modifying an application:
- [x] ports
- [x] constraints
- [x] container options
- [x] environment variables
The container option looks like this:
"container": {
"image": "docker:///zaiste/postgresql",
"options": ["-e", "X=7"]
}
The ace-editor branch was my experiment in integrating the Ace editor for working with Marathon configs in the browser. I'd like to continue down that route rather than doing a funny conversion from form fields -> JSON when creating an app and from JSON -> form fields when editing an app.
@mlunoe +1 for picking up Ross' ace-editor branch to replace our ever-growing input form.
I will look at it, when I get the time. First I need to get it up-to-date with the current state of the frontend
@mlunoe @ConnorDoyle hey guys! Below is a stab at integrating docker container settings in our app config form, let me know what you think. Here's a summary of the changes:
- Tweak to form layout to help it feel simple: grouping form inputs and hiding optional and docker settings.
- Move command out of optional settings, because it's not completely optional (must have command and/or docker)
- Add docker container settings after optional settings.
Please check my copywriting for the docker privileges, not 100% if I communicated that setting correctly!
PSD: https://drive.google.com/open?id=0B6i94AxJ4LMQY01JbnpjVnpaWFU&authuser=0

Looking snazzy!
Anastasia, could we put this on invision to make commenting easier?
Thanks,
Connor
On Feb 11, 2015, at 11:51, aatumanova [email protected] wrote:
@mlunoe @ConnorDoyle hey guys! Below is a stab at integrating docker container settings in our app config form, let me know what you think. Here's a summary of the changes:
• Tweak to form layout to help it feel simple: grouping form inputs and hiding optional and docker settings. • Move command out of optional settings, because it's not completely optional (must have command and/or docker) • Add docker container settings after optional settings. Please check my copywriting for the docker privileges, not 100% if I communicated that setting correctly!
PSD: https://drive.google.com/open?id=0B6i94AxJ4LMQY01JbnpjVnpaWFU&authuser=0
— Reply to this email directly or view it on GitHub.
@ConnorDoyle good call, here you go http://invis.io/3A27E9VME!
:fireworks: :tada: :tada: :fireworks: :fireworks: :fireworks: :fireworks: :fireworks: :fireworks: :tada: :fireworks:
Thank you @aatumanova ! Looks great! :)
This is great, @mlunoe @aldipower when can I expect a PR for this? ;-)
This is supposed to be a workday assignment :)
@aatumanova Look's really cool! :) @mlunoe Yeah, good workday task.
@mlunoe I remember that Phil worked on this issue during his workday. Do you remember what happened with it?
Should we check off the checkboxes? Did the PR cover all issues?
I think we can check off container settings and constraints, but not EVs.
There's a further piece of work that needs to be done, which is making sure that all available app fields are supported in this modal. For the moment we've implemented the design relatively faithfully and so omitted some fields, but we need to consider how to represent things like dependencies.
In that case I think we should re-open this issue until it is implemented