Skip to content

Restore bugs-tab and releases-tab title - #4134

Merged
yakov116 merged 5 commits into
mainfrom
yakov116-patch-1
Mar 21, 2021
Merged

yakov116 merged 5 commits into
mainfrom
yakov116-patch-1

Conversation

@yakov116

@yakov116 yakov116 commented Mar 19, 2021 •

Copy link
Copy Markdown
Member

closes #4133

image

@yakov116 yakov116 changed the title Restore bug-tab title Restore bug-tab and release-tab title Mar 19, 2021
@yakov116 yakov116 changed the title Restore bug-tab and release-tab title Restore bugs-tab and release-tab title Mar 19, 2021
@yakov116 yakov116 changed the title Restore bugs-tab and release-tab title Restore bugs-tab and releases-tab title Mar 19, 2021
@fregante

Copy link
Copy Markdown
Member

That's a useless tooltip. It only makes sense if the number has been shortened, not always.

@yakov116

Copy link
Copy Markdown
Member Author

Worth the if statement?

@fregante fregante left a comment •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Related #3633 (comment)

😃

Worth the if statement?

Good point, but thankfully we can use ternary operators.

Merge after these changes:

// Set temporary counter
const bugsCounter = select('.Counter', bugsTab)!;
bugsCounter.textContent = '0';
bugsCounter.title = '';

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

We still need to reset this as soon as possible because the count is loaded later

Comment thread source/features/bugs-tab.tsx Outdated
Comment thread source/features/releases-tab.tsx Outdated
Comment thread source/features/releases-tab.tsx Outdated
Comment thread source/features/bugs-tab.tsx
@yakov116

Copy link
Copy Markdown
Member Author

Good point, but thankfully we can use ternary operators.

But typescript does not like you it 😄

@yakov116
yakov116 merged commit ec19b45 into main Mar 21, 2021
@yakov116
yakov116 deleted the yakov116-patch-1 branch March 21, 2021 04:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

Add tooltips for bugs-tab and releases-tab

2 participants