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
fix: Jump to message only works once #31662
Conversation
🦋 Changeset detectedLatest commit: d10e188 The changes in this PR will be included in the next version bump. This PR includes changesets to release 31 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey, thanks for the contribution!
I'll rename this PR to a more appropriate name.
I understand the reasoning behind what you did to fix the issue, but I think we can do one better. If you reset the setMessageJumQueryStringParameter.ts
file, you can do the following:
const locationPathname = new URL(window.location.href).pathname as LocationPathname
This will have pretty much the same effect, but will be significantly easier to read, and will also prevent us from duplicating other query string parameters.
@gabriellsh I have updated your changes. Please review. |
apps/meteor/client/lib/utils/setMessageJumpQueryStringParameter.ts
Outdated
Show resolved
Hide resolved
apps/meteor/client/lib/utils/setMessageJumpQueryStringParameter.ts
Outdated
Show resolved
Hide resolved
apps/meteor/client/lib/utils/setMessageJumpQueryStringParameter.ts
Outdated
Show resolved
Hide resolved
apps/meteor/client/lib/utils/setMessageJumpQueryStringParameter.ts
Outdated
Show resolved
Hide resolved
ok then I am reseting back all my commits and updating the changes. I guess this will be ok @gabriellsh |
d9c3b90
to
c1f604f
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #31662 +/- ##
===========================================
+ Coverage 54.58% 54.62% +0.03%
===========================================
Files 2280 2283 +3
Lines 50262 50281 +19
Branches 10254 10255 +1
===========================================
+ Hits 27436 27465 +29
+ Misses 20337 20325 -12
- Partials 2489 2491 +2
Flags with carried forward coverage won't be shown. Click here to find out more. |
hey @gabriellsh . I am not sure whether it will be merged or not? what would your recommend me to do? |
any update for this pr @gabriellsh @dougfabris ? |
@SySagar Can you please address the lint issues? |
hey @gabriellsh @dougfabris I have fixed the linting issue. Can you now merge it please? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
hey @yash-rajpal , seems there were some more lint issue. I fixed them up. |
hey @ggazzo can you please approve this |
fix: dynamic slug during search
feat: patch update
Proposed changes (including videos or screenshots)
Updated the slug update logic in the
setMessageJumpQueryStringParameter
module. Now works good.Issue(s)
closes #31653
CORE-56
#31727
Steps to test or reproduce