-
Payton Burdette authored
Adds child/parent labels to either a parent pipeline or a child pipeline this is dependent on the data returned from the triggered or triggered_by array responses from the controller. Generate changelog entry for new feat Generate locale/gitlab.pot file Refactor child/parent labels BE proposed new data returned from the endpoint. I have to adjust FE to determine if a pipeline project id is the same as the linked pipelines project id. That will determine if the current pipeline is a child or a parent pipeline. Use scss variable instead of hard coded Use scss variable with a padding value of 4px instead of hard coding a padding value on a scss class. Fix eslint issues Fixed eslint issued for passing props without a dash. And had to disable next line of the mock data file for testing. I need the duplicate key. Refactor to determine label type Ran into issue where I was expecting a key value that will not exist had to come up with a workaround. String matches should be refactored, once BE supports the data return we need. Remove scss moving to another MR This MR isn't ready to be merged, so I'm moving this fix to another MR to get it user facing ASAP. Add tooltips for parent/child pipelines Added tooltips and tooltip text for a parent or child pipeline. Also when hovered over the label it hides tooltip for the pipeline so two aren't showing at the same time. Add dynamic class for child pipeline Needed more margin bottom for a child pipeline so the downstream pipelines would not overlap. Also fixed what tooltip text is returned for a label. Remove margin bottom on last child Make sure if a child pipeline is the last element in the column that the new margin bottom is removed. Add back fix for removing extra lines Should of let a merge conflict do this when my Other MR fixed a small UI bug. Refactor how margin top is calc For downstream pipelines, the current margin top calc will not work since the nodes now have extra info. Needed to adjust that and move some scss to new file. Refactor how margin top is calculated Since introducing new nodes of different sizes the old way of calculating margin top for downstream nodes will no longer work. I've introduced a new way to calculate how margin top is calculated. Refactor linked pipeline tests Had duplicate project ids in the mock data, fixed that. Also had to change the way we checked if an event was emitted due to now passing data with the event. Fix eslint and static analysis errors Needed to regenerate gitlab.pot and order attributes correctly in linked pipeline component.
e7b2d546