Skip to content
Snippets Groups Projects

Small improvements for Cycle Analytics

Merged username-removed-408881 requested to merge add-additional-checks-to-ca-data into master
2 unresolved threads

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
61 setStageEvents(events) {
62 this.state.events = this.decorateEvents(events);
66 setStageEvents(events, stage) {
67 this.state.events = this.decorateEvents(events, stage);
63 68 },
64 decorateEvents(events) {
69 decorateEvents(events, stage) {
65 70 const newEvents = [];
66 71
67 72 events.forEach((item) => {
68 73 if (!item) return;
69 74
70 item.totalTime = item.total_time;
71 item.author.webUrl = item.author.web_url;
72 item.author.avatarUrl = item.author.avatar_url;
75 const eventItem = Object.assign({}, DEFAULT_EVENT_OBJECTS[stage.slug], item);
  • 79 eventItem.author.avatarUrl = eventItem.author.avatar_url;
    73 80
    74 if (item.created_at) item.createdAt = item.created_at;
    75 if (item.short_sha) item.shortSha = item.short_sha;
    76 if (item.commit_url) item.commitUrl = item.commit_url;
    81 if (eventItem.created_at) eventItem.createdAt = eventItem.created_at;
    82 if (eventItem.short_sha) eventItem.shortSha = eventItem.short_sha;
    83 if (eventItem.commit_url) eventItem.commitUrl = eventItem.commit_url;
    77 84
    78 delete item.author.web_url;
    79 delete item.author.avatar_url;
    80 delete item.total_time;
    81 delete item.created_at;
    82 delete item.short_sha;
    83 delete item.commit_url;
    85 delete eventItem.author.web_url;
  • merged

  • @jameslopez looks like this wasnt picked into 8.17

  • added ~149423 label

  • Ah, it had no label... Should go in the next patch release :)

  • I can see this merge commit tagged into v8.18.0.pre

  • Also this seems to be a clone of https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/9126/commits

    Can we close both, has it been picked into stable?

  • Picked into8.17-stable will go into 8.17.3

  • Felipe Artur removed ~149423 label

    removed ~149423 label

  • For the record, we closed !9126 (merged) as a duplicate. We picked this one, as the changes weren't on 8.17.3 stable.

  • Jacob Schatz mentioned in commit 5343a65b

    mentioned in commit 5343a65b

  • Please register or sign in to reply
    Loading