marathon icon indicating copy to clipboard operation
marathon copied to clipboard

Expose all /v2 App attributes in UI

Open ConnorDoyle opened this issue 12 years ago • 16 comments

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

ConnorDoyle avatar Jan 18 '14 00:01 ConnorDoyle

The container option looks like this:

"container": {
  "image": "docker:///zaiste/postgresql",
  "options": ["-e", "X=7"]
}

ssorallen avatar Jan 21 '14 18:01 ssorallen

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.

ssorallen avatar May 08 '14 20:05 ssorallen

@mlunoe +1 for picking up Ross' ace-editor branch to replace our ever-growing input form.

ConnorDoyle avatar Oct 14 '14 16:10 ConnorDoyle

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 avatar Oct 14 '14 16:10 mlunoe

@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

image

aatumanova avatar Feb 11 '15 19:02 aatumanova

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 avatar Feb 11 '15 20:02 ConnorDoyle

@ConnorDoyle good call, here you go http://invis.io/3A27E9VME!

aatumanova avatar Feb 11 '15 20:02 aatumanova

:fireworks: :tada: :tada: :fireworks: :fireworks: :fireworks: :fireworks: :fireworks: :fireworks: :tada: :fireworks:

ssorallen avatar Feb 11 '15 20:02 ssorallen

Thank you @aatumanova ! Looks great! :)

mlunoe avatar Feb 11 '15 22:02 mlunoe

This is great, @mlunoe @aldipower when can I expect a PR for this? ;-)

drexin avatar Feb 12 '15 15:02 drexin

This is supposed to be a workday assignment :)

mlunoe avatar Feb 12 '15 16:02 mlunoe

@aatumanova Look's really cool! :) @mlunoe Yeah, good workday task.

aldipower avatar Feb 12 '15 19:02 aldipower

@mlunoe I remember that Phil worked on this issue during his workday. Do you remember what happened with it?

aatumanova avatar May 28 '15 20:05 aatumanova

Should we check off the checkboxes? Did the PR cover all issues?

mlunoe avatar Jul 21 '15 18:07 mlunoe

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.

philipnrmn avatar Jul 22 '15 07:07 philipnrmn

In that case I think we should re-open this issue until it is implemented

mlunoe avatar Jul 22 '15 18:07 mlunoe