Skip to content

Aggregate tailer tooltip host on instance number and tasks dropdown#1022

Merged
ssalinas merged 3 commits intomasterfrom
aggregate-tailer-tooltip-host-on-instance-count-and-maybe-tasks-dropdown
May 9, 2016
Merged

Aggregate tailer tooltip host on instance number and tasks dropdown#1022
ssalinas merged 3 commits intomasterfrom
aggregate-tailer-tooltip-host-on-instance-count-and-maybe-tasks-dropdown

Conversation

@Calvinp
Copy link
Contributor

@Calvinp Calvinp commented May 3, 2016

This implements a tooltip showing the host and deploy id on the instance number in the aggregate tailer, and one showing only the host on the dropdown showing all the tasks.

splits = taskId.split('-')
splits[splits.length - 3]

@getDeployIdFromTaskId: (taskId) ->
Copy link
Member

Choose a reason for hiding this comment

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

I think it might be a bit cleaner and more reusable to have a model for the TaskId. i.e. have something like a fromString method for the taskId model to set the attributes. Reusable where we need it, and you are then only calling the split once when you build the object instead of multiple times for the same string

…, to avoid having to split the taskId over and over
@ssalinas ssalinas modified the milestone: 0.6.0 May 4, 2016
@Calvinp Calvinp added the hs_qa label May 4, 2016
@ssalinas
Copy link
Member

ssalinas commented May 9, 2016

LGTM

@ssalinas ssalinas merged commit d018e93 into master May 9, 2016
@ssalinas ssalinas deleted the aggregate-tailer-tooltip-host-on-instance-count-and-maybe-tasks-dropdown branch May 9, 2016 13:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants