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

Feature - 3240: Add volumes tab to application page #647

Merged
merged 30 commits into from
Mar 4, 2016

Conversation

Poltergeist
Copy link
Contributor

This introduces a new tab to the application page which shows details about the volumes associated with the application. For now this are only the configured volumes. This has been builded with the volumes at the tasks in mind.

This tab is only shown if there are any Volumes configured with the application.

This introduces a Volume tab at the Task details which has the same capabilities like the application page tab.

This introduces a detail view for a volume which has some information on the volumes as links to the parent task and application.

This Introduces tooltips in the create and edit modal to show the user some information on local volumes.

This introduces a warning when the user tries to scale down an application which has a volume associated with it.

This adds a work around to add a resident app if a volume is associated with it.

This closes mesosphere/marathon#3240

@aldipower
Copy link
Contributor

This is a great feature! Cool!
Sorry for being so late with reviewing. I didn't forgot it.

"dropup": !state.sortDescending
});

var idClassSet = classNames({
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This and the following lines have a lot of repetition.
Could you condense this into something reusable?

Similar to this.getCaret() maybe?

@aldipower
Copy link
Contributor

Thank you so much for taking care of this.

Philipp Hinrichsen added 10 commits March 4, 2016 16:04
@Poltergeist Poltergeist force-pushed the feature/volumes-tab branch 2 times, most recently from 0f90cbe to 058a4c4 Compare March 4, 2016 15:53
@Poltergeist
Copy link
Contributor Author

@aldipower I added the suggestions you commented on the code in the first go. Thank you for taking time reviewing this PR.

return null;
}

return volumes.reduce((memo, volume) => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wouldn't a reverse .find() do the job more descriptive?

@aldipower
Copy link
Contributor

Looks beautiful! Hallelujah!

aldipower added a commit that referenced this pull request Mar 4, 2016
Feature - 3240: Add volumes tab to application page
@aldipower aldipower merged commit ff7e97b into master Mar 4, 2016
@aldipower aldipower deleted the feature/volumes-tab branch March 4, 2016 16:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants