-
Notifications
You must be signed in to change notification settings - Fork 10
CHI-3279: Fix referencing for timelines to prevent issues with case search results going blank. Fix orphaned case check #2952
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
Open
stephenhand
wants to merge
23
commits into
v2.30-rc
Choose a base branch
from
CHI-3279-fix_names
base: v2.30-rc
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…ries CHI-3279 Remove categories & connected contacts from typesz
…filter CHI-3279: Remove categories filter
…lts going blank. Fix orphaned case check
GPaoloni
approved these changes
May 16, 2025
@@ -145,7 +132,8 @@ export async function getCaseTimeline( | |||
if (isApiCaseSectionTimelineActivity(timelineActivity)) { | |||
activity = convertApiCaseSectionToCaseSection(activity); | |||
} else if (isApiContactTimelineActivity(timelineActivity)) { | |||
activity = convertApiContactToFlexContact(activity); | |||
// Bug in HRTM strips the caseId from the contact activity, workaround here adds it back |
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.
Should we address this?
Comment on lines
+118
to
+128
newGetTimelineAsyncAction( | ||
connectedCase.id, | ||
'print-contacts', | ||
[], | ||
true, | ||
{ | ||
offset: 0, | ||
limit: MAX_PRINTOUT_CONTACTS, | ||
}, | ||
`case-${connectedCase.id}`, | ||
), |
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.
Wouldn't be easier to expose a useGetTimeline
hook, rather than using this over and over in different useEffect
s?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Checklist
Other Related Issues
None
Verification steps
AFTER YOU MERGE
You are responsible for ensuring the above steps are completed. If you move a ticket into QA without advising what version to test, the QA team will assume the latest tag has the changes. If it does not, the following confusion is on you! :-P