Skip to content

GitLab Next

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
GitLab
GitLab
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 34,902
    • Issues 34,902
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge Requests 1,220
    • Merge Requests 1,220
  • Requirements
    • Requirements
    • List
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Security & Compliance
    • Security & Compliance
    • Dependency List
    • License Compliance
  • Operations
    • Operations
    • Metrics
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Code Review
    • Insights
    • Issue
    • Repository
    • Value Stream
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • GitLab.org
  • GitLabGitLab
  • Issues
  • #201846

Closed
Open
Opened Feb 04, 2020 by Miguel Rincon@mrincon🚀Maintainer0 of 1 task completed0/1 task

Embed: Add link to embedded panels to go to logs page

Goal

Add the View Logs link in the embed.

Screen_Shot_2020-02-03_at_1.50.15_PM

It could simply link to the current time range if none is defined.

Technical Implementation

The embed component should have access to some dashboard information, including the logsPath, this would enable this feature.

backend

The endpoint to load dashboard information should return additional data such as the one in https://gitlab.com/gitlab-org/gitlab/blob/a23dea74967acf609c090f7786e760ed25782d5d/app/helpers/environments_helper.rb#L20

More details here: #201846 (comment 284468161)

frontend

The embed should display the logs link.

Original Discussion

The following discussion from !24240 (merged) should be addressed:

  • @mrincon started a discussion: (+2 comments)

    @nadia_sotnikova @dhershkovitch Do you think we should add the logs link in the embed functionality? There is not technical impediment to having it.

    It could simply link to the current time range if none is defined.

Edited Feb 08, 2020 by Miguel Rincon
Assignee
Assign to
12.9
Milestone
12.9 (Past due)
Assign milestone
Time tracking
None
Due date
None
Reference: gitlab-org/gitlab#201846