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: increase and support overriding jump to message limit #1718

Merged
merged 1 commit into from
Aug 19, 2022

Conversation

petyosi
Copy link
Contributor

@petyosi petyosi commented Aug 19, 2022

🎯 Goal

The default limit of 25 can be too small for tall screens (or short items), causing additional queryChannel request and potential scroll glitches.

🛠 Implementation details

Introduce an additional parameter for jumpToMessage, defaulting it to 100 (default value for pagination).

🎨 UI Changes

@codecov
Copy link

codecov bot commented Aug 19, 2022

Codecov Report

Merging #1718 (7b1cb23) into develop (c8a490e) will decrease coverage by 0.02%.
The diff coverage is 0.00%.

@@             Coverage Diff             @@
##           develop    #1718      +/-   ##
===========================================
- Coverage    79.65%   79.63%   -0.03%     
===========================================
  Files          229      229              
  Lines         5795     5794       -1     
  Branches      1642     1642              
===========================================
- Hits          4616     4614       -2     
- Misses        1038     1039       +1     
  Partials       141      141              
Impacted Files Coverage Δ
src/components/Channel/Channel.tsx 80.00% <0.00%> (-0.42%) ⬇️
src/context/ChannelActionContext.tsx 57.89% <ø> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@petyosi petyosi merged commit 8c720f4 into develop Aug 19, 2022
@petyosi petyosi deleted the increase-jump-message-page-size branch August 19, 2022 14:18
@MartinCupela MartinCupela mentioned this pull request Aug 29, 2022
github-actions bot pushed a commit that referenced this pull request Aug 29, 2022
# [9.5.0](v9.4.1...v9.5.0) (2022-08-29)

### Bug Fixes

* include mdast-util-find-and-replace into our CJS bundle ([#1702](#1702)) ([61c4eec](61c4eec)), closes [#1698](#1698)
* prevent double submissions in korean ([#1720](#1720)) ([5d781d8](5d781d8))
* replace FileReader with URL.createObjectURL ([#1701](#1701)) ([c8a490e](c8a490e))
* **Vite:** add emoji-mart (emoji, picker) re-export ([#1724](#1724)) ([c90cf4b](c90cf4b))

### Features

* increase and support overriding jump to message limit ([#1718](#1718)) ([8c720f4](8c720f4))
@petyosi
Copy link
Contributor Author

petyosi commented Aug 29, 2022

🎉 This PR is included in version 9.5.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

github-actions bot pushed a commit that referenced this pull request Sep 6, 2022
# [10.0.0-theming-v2.3](v10.0.0-theming-v2.2...v10.0.0-theming-v2.3) (2022-09-06)

### Bug Fixes

* include mdast-util-find-and-replace into our CJS bundle ([#1702](#1702)) ([#1703](#1703)) ([8010889](8010889)), closes [#1698](#1698)
* prevent double submissions in korean ([#1720](#1720)) ([5d781d8](5d781d8))
* ThemingV2 beta adjustments ([#1728](#1728)) ([785ee11](785ee11))
* **ThemingV2:** MessageInputFlat missing lodash/zipObject ([#1721](#1721)) ([dd8a457](dd8a457))
* **Vite:** add emoji-mart (emoji, picker) re-export ([#1724](#1724)) ([c90cf4b](c90cf4b))

### Features

* increase and support overriding jump to message limit ([#1718](#1718)) ([8c720f4](8c720f4))
* **ThemingV2:** PopperTooltip component ([#1714](#1714)) ([9b6301e](9b6301e))
@petyosi
Copy link
Contributor Author

petyosi commented Sep 6, 2022

🎉 This PR is included in version 10.0.0-theming-v2.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants