Skip to content

GitLab

  • Menu
    • Projects Groups Snippets
      Help
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Merge requests
  • !5994

Closed
Created 11 years ago by Administrator@rootOwner
  • Report abuse
Report abuse

Increased truncation for issue titles on milestone#show

  • Overview 3
  • Commits 1
  • Changes 2

Created by: jasonblanchard

Not sure if this is a problem for anyone else, but I find the 40 character truncation for issue titles on the milestone#show page a bit too short. It makes it difficult to browse and keep track of issues on that page.

I've doubled the character limit to 80 characters. I also re-ordered the title div and the user icon div so that it does not get pushed below the title at the first breakpoint.

Before: screen shot 2014-01-06 at 6 34 23 pm

After: screen shot 2014-01-06 at 7 24 22 pm

Loading
Loading

  • Administrator
    Administrator @root started a thread on commit 35941c7a 11 years ago
    app/views/projects/milestones/_issues.html.haml
    3 3 %ul.well-list
    4 4 - issues.each do |issue|
    5 5 %li
    6 = link_to [@project, issue] do
    7 %span.badge{class: issue.closed? ? 'badge-important' : 'badge-info'} ##{issue.iid}
    8 = link_to_gfm truncate(issue.title, length: 40), [@project, issue]
    9 6 - if issue.assignee
    10 7 .pull-right
    11 8 = image_tag avatar_icon(issue.assignee.email, 16), class: "avatar s16"
    9 = link_to [@project, issue] do
    10 %span.badge{class: issue.closed? ? 'badge-important' : 'badge-info'} ##{issue.iid}
    11 = link_to_gfm truncate(issue.title, length: 80), [@project, issue]
    • Administrator
      Administrator @root · 11 years ago
      Owner

      Created by: jasonblanchard

      Changed length: 40 to length: 80 on this line.

      By Administrator on 2014-01-07T00:30:42 (imported from GitLab project)

  • Administrator
    Administrator @root · 11 years ago
    Owner

    Created by: jvanbaarsen

    @randx Seems good to me?

    By Administrator on 2014-01-09T09:02:26 (imported from GitLab project)

  • Administrator
    Administrator @root · 11 years ago
    Owner

    Created by: jvanbaarsen

    @Razer6 This problem has been solved in 6.5: https://www.dropbox.com/s/ebg2igrwgrxevpp/Screenshot%202014-01-29%2018.21.22.png

    By Administrator on 2014-01-29T17:21:46 (imported from GitLab project)

  • You're only seeing other activity in the feed. To add a comment, switch to one of the following options.
Please register or sign in to reply
0 Assignees
None
Assign to
0 Reviewers
None
Request review from
Milestone
No milestone
None
None
Time tracking
0
Labels
None
Assign labels
  • No matching results
  • Manage project labels
Lock merge request
Unlocked
participants
Reference:
Source branch: github/fork/jasonblanchard/milestone-issue-titles

    0 pending comments

Menu

Projects Groups Snippets
Help