File or folder cannot show full name with a bubble in the repository when it is very long
Our customer raised following request:
File or folder cannot show full name with a bubble in the repository when it is very long. When we put mouse arrow on the file , it is better if there is a bubble to show the file's full name.
This function can be considered to be added in the following versions.
Designs
- Show closed items
Activity
-
Newest first Oldest first
-
Show all activity Show comments only Show history only
- Alex Ju changed the description
Compare with previous version changed the description
- 🤖 GitLab Bot 🤖 added automation:ml groupgitaly labels
added automation:ml groupgitaly labels
- Maintainer
This issue was automatically tagged with the label groupgitaly by TanukiStan, a machine learning classification model, with a probability of 0.74.
If this label is incorrect, please tag this issue with the correct group label as well as automation:ml wrong to help me learn from my mistakes.
- Maintainer
Setting label(s) Category:Gitaly devopscreate sectiondev based on groupgitaly.
- 🤖 GitLab Bot 🤖 added Category:Gitaly devopscreate sectiondev labels
added Category:Gitaly devopscreate sectiondev labels
- Contributor
Root cause:
When the file name is very long, the full name cannot be displayed.
Solution:
When we put mouse arrow on the file, there is a bubble to show the file's full name.
Diff:
diff --git a/app/assets/javascripts/repository/components/table/row.vue b/app/assets/javascripts/repository/components/table/row.vue index 8ea5fce9..5d7f4213 100644 --- a/app/assets/javascripts/repository/components/table/row.vue +++ b/app/assets/javascripts/repository/components/table/row.vue @@ -164,7 +164,7 @@ export default { :loading="path === loadingPath" css-classes="position-relative file-icon" class="mr-1 position-relative text-secondary"
-
/><span class="position-relative">{{ fullPath }}</span>
-
/><span v-gl-tooltip:tooltip-container class="position-relative" :title="fullPath">{{ fullPath }}</span> </component> <!-- eslint-disable @gitlab/vue-require-i18n-strings --> <gl-badge v-if="lfsOid" variant="muted" size="sm" class="ml-1" data-qa-selector="label-lfs"
Edited by Peng Li -
- Contributor
- Peng Li mentioned in merge request !63039 (merged)
mentioned in merge request !63039 (merged)
- Contributor
- Contributor
Updated the tooltip to correct position.
2 - Kyle Wiebers added severity2 typebug labels
- 🤖 GitLab Bot 🤖 added priority2 label
added priority2 label
@sarahwaldner - I believe this is a groupsource code issue and not a groupgitaly issue.
1 Collapse replies - Developer
Thank you @mjwood
@sean_carroll I am assigning to %14.2 based on priority and severity! Can you please triage and get a LOE for this?
- Developer
@andr3 I believe this is frontend, could you please assist @sarahwaldner with her request.
1 - Developer
@sean_carroll funnily enough, we had a community contribution for this! yay! !63039 (merged) merged two days ago, already in canary.
I've just verified it's working according to what's requested here, so I've done the verification and can now close this issue as resolved. Amazing. :D
/cc @sarahwaldner
1 - Developer
Thanks @lip0091981! (see above)
- Developer
we had a community contribution for this! yay!
🎉 that's awesome @andr3 !
- Mark Wood added Category:Source Code Management groupsource code labels and removed groupgitaly label
added Category:Source Code Management groupsource code labels and removed groupgitaly label
- Mark Wood removed Category:Gitaly label
removed Category:Gitaly label
- Sarah Waldner changed milestone to %14.2
changed milestone to %14.2
- 🤖 GitLab Bot 🤖 added [deprecated] Accepting merge requests label
added [deprecated] Accepting merge requests label
- Sean Carroll added frontend label
added frontend label
- André Luís closed
closed
- André Luís changed milestone to %14.1
changed milestone to %14.1
- André Luís removed [deprecated] Accepting merge requests label
removed [deprecated] Accepting merge requests label
- John Hope mentioned in issue create-stage#12887 (closed)
mentioned in issue create-stage#12887 (closed)