Skip to content

GitLab Next

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • GitLab GitLab
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 43,111
    • Issues 43,111
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 1,369
    • Merge requests 1,369
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GitLab.org
  • GitLabGitLab
  • Issues
  • #201846
Closed
Open
Created 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
Time tracking