Skip to content

fix: display 10 entries per page in rep history #213

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

Merged
merged 1 commit into from
Aug 4, 2022

Conversation

Josh-Cena
Copy link
Contributor

@Josh-Cena Josh-Cena commented Jul 24, 2022

Fix #212

Each entry is now about 150 characters long, so 10 seems safer

Comment on lines -184 to +186
}>${rg.amount > 1 ? ' et al.' : ''}) at <t:${
(+new Date(rg.date) / 1000) | 0
}>`;
}>${rg.amount > 1 ? ' et al.' : ''}) at <t:${Math.floor(
+new Date(rg.date) / 1000,
)}>`;
Copy link
Contributor

Choose a reason for hiding this comment

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

Fiiine

Copy link
Contributor Author

Choose a reason for hiding this comment

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

What if the bot is in use after year 2106?

@orta
Copy link
Member

orta commented Aug 4, 2022

Looks reasonable to me

@orta orta enabled auto-merge August 4, 2022 15:06
@orta orta merged commit 66efc1e into typescript-community:master Aug 4, 2022
@Josh-Cena Josh-Cena deleted the trunc-history branch August 4, 2022 15:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

!history errors because each message page is now much longer
3 participants