Skip to content

[GH-61]: Add tooltip for pull request and issue links#301

Merged
avas27JTG merged 33 commits intomattermost:masterfrom
Brightscout:link_tooltip
Nov 29, 2023
Merged

[GH-61]: Add tooltip for pull request and issue links#301
avas27JTG merged 33 commits intomattermost:masterfrom
Brightscout:link_tooltip

Conversation

@shivamjosh
Copy link
Copy Markdown
Contributor

@shivamjosh shivamjosh commented Jun 6, 2022

Summary

This PR adds a tooltip for the pull requests and issue links.

Screenshots:
Issue tooltip:
image

Merge request tooltip:
image

Ticket Link

#61

@shivamjosh shivamjosh requested a review from mickmister as a code owner June 6, 2022 12:05
@mattermod
Copy link
Copy Markdown
Contributor

Hello @shivamjosh,

Thanks for your pull request! A Core Committer will review your pull request soon. For code contributions, you can learn more about the review process here.

@codecov
Copy link
Copy Markdown

codecov bot commented Jun 6, 2022

Codecov Report

Attention: 46 lines in your changes are missing coverage. Please review.

Comparison is base (c56accf) 33.61% compared to head (424eec9) 33.25%.

Files Patch % Lines
server/api.go 4.16% 46 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #301      +/-   ##
==========================================
- Coverage   33.61%   33.25%   -0.36%     
==========================================
  Files          22       22              
  Lines        3924     3972      +48     
==========================================
+ Hits         1319     1321       +2     
- Misses       2474     2520      +46     
  Partials      131      131              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@mickmister mickmister requested review from DHaussermann and levb June 12, 2022 20:44
@mickmister mickmister added 2: Dev Review Requires review by a core committer 3: QA Review Requires review by a QA tester labels Jun 12, 2022
@mickmister mickmister requested a review from pvev June 12, 2022 20:47
>
{data.repo}
</a>
&nbsp;on&nbsp;<span>{date}</span>
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

what do you thing about setting the space using css instead of &nbsp?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Added CSS styling.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Alternatively, I think it can be implemented as:

</a>
{' on '}
<span>{date}</span>

Copy link
Copy Markdown

@raghavaggarwal2308 raghavaggarwal2308 Aug 26, 2022

Choose a reason for hiding this comment

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

@mickmister Updated

@shivamjosh shivamjosh requested a review from pvev June 22, 2022 12:45
Copy link
Copy Markdown

@pvev pvev left a comment

Choose a reason for hiding this comment

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

thanks @shivamjosh , nice work!

@trilopin trilopin added this to the v1.8.0 milestone Apr 19, 2023
@mattermost-build
Copy link
Copy Markdown
Contributor

This PR has been automatically labelled "stale" because it hasn't had recent activity.
A core team member will check in on the status of the PR to help with questions.
Thank you for your contribution!

@raghavaggarwal2308
Copy link
Copy Markdown

@DHaussermann Gentle reminder for review

@raghavaggarwal2308
Copy link
Copy Markdown

@DHaussermann Gentle reminder for review

4 similar comments
@raghavaggarwal2308
Copy link
Copy Markdown

@DHaussermann Gentle reminder for review

@raghavaggarwal2308
Copy link
Copy Markdown

@DHaussermann Gentle reminder for review

@raghavaggarwal2308
Copy link
Copy Markdown

@DHaussermann Gentle reminder for review

@raghavaggarwal2308
Copy link
Copy Markdown

@DHaussermann Gentle reminder for review

@hanzei hanzei requested review from AayushChaudhary0001 and removed request for DHaussermann October 16, 2023 20:19
@mattermost-build
Copy link
Copy Markdown
Contributor

This PR has been automatically labelled "stale" because it hasn't had recent activity.
A core team member will check in on the status of the PR to help with questions.
Thank you for your contribution!

Copy link
Copy Markdown

@AayushChaudhary0001 AayushChaudhary0001 left a comment

Choose a reason for hiding this comment

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

Tested and approved. working fine for both pull requests links and issue links, LGTM.

@avas27JTG avas27JTG merged commit b5184fa into mattermost:master Nov 29, 2023
@avas27JTG avas27JTG deleted the link_tooltip branch November 29, 2023 09:17
@avas27JTG avas27JTG modified the milestones: v1.9.0, v1.8.0 Nov 29, 2023
@avas27JTG avas27JTG mentioned this pull request Nov 29, 2023
@mickmister
Copy link
Copy Markdown
Contributor

mickmister commented Dec 15, 2023

The RC for this release is running on community, though I'm not seeing the link tooltip working for our self-hosted version of GitLab. @avas27JTG @raghavaggarwal2308 Any ideas why this might be the case? There is no HTTP request being made by the frontend to fetch the tooltip information. No errors in the browser console either.

@ayusht2810
Copy link
Copy Markdown
Contributor

@mickmister The release candidate v1.8.0-rc1 was missing the link_tooltip component therefore the tooltip was not visible. I have synced the bump version PR with the latest master, and the tooltip is working fine now.

@hanzei hanzei added 4: Reviews Complete All reviewers have approved the pull request and removed Lifecycle/1:stale 3: QA Review Requires review by a QA tester labels Dec 18, 2023
@avas27JTG avas27JTG modified the milestones: v1.8.0, v1.9.0 Dec 19, 2023
@mickmister mickmister mentioned this pull request Jan 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4: Reviews Complete All reviewers have approved the pull request

Projects

None yet

Development

Successfully merging this pull request may close these issues.