Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(issue-views): Add character limits on tab titles #77883

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

MichaelSun48
Copy link
Member

Adds "soft" and hard limits to the number of characters in the tab titles to prevent any weird behavior. The hard limit is 128 characters since this is the max character length enforced by the database schema. The soft character limit is approximately 50 characters, and a tooltip showing the full title will appear on hover if the tab title exceeds the maximum width.

Screen.Recording.2024-09-20.at.4.42.14.PM.mov

@MichaelSun48 MichaelSun48 requested a review from a team as a code owner September 20, 2024 23:43
@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Sep 20, 2024
Copy link

codecov bot commented Sep 21, 2024

Codecov Report

Attention: Patch coverage is 11.11111% with 8 lines in your changes missing coverage. Please review.

✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
...issueList/groupSearchViewTabs/editableTabTitle.tsx 11.11% 8 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##           master   #77883   +/-   ##
=======================================
  Coverage   78.12%   78.12%           
=======================================
  Files        6996     6996           
  Lines      310241   310243    +2     
  Branches    50763    50763           
=======================================
+ Hits       242363   242366    +3     
  Misses      56145    56145           
+ Partials    11733    11732    -1     

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Scope: Frontend Automatically applied to PRs that change frontend components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant