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

Console App: When Contact is opened as subtab of Account then Timewarp on Account shows an error #238

Closed
juhalassila opened this issue Mar 3, 2023 · 3 comments · Fixed by #271
Assignees
Labels
bug Something isn't working

Comments

@juhalassila
Copy link

Repro

  1. Create records: Account with a related Contact.
  2. Setup Time Warp both on Account and on Contact.
  3. In Setup > App Manager > [Console App] set a Navigation Rule: Contacts open as Subtabs of Account.
  4. In Console App, navigate to Contacts.
  5. Open a Contact.
  6. Observe Contact: Time Warp = OK.
  7. Observe Account: Time Warp = NOT OK.
  8. Observe error text: Houston..we've had a problem. Cannot read properties of null (reading'redraw').

However, when I open the Account so that it opens as a Workspace tab then Time Warp of the Account is OK.

@github-actions
Copy link

github-actions bot commented Mar 3, 2023

Hello @juhalassila , thank you for submitting an issue we appreciate your time. We will take a look and give you an update as soon as we can. We aim for a 72 hour response time.

@deejay-hub deejay-hub added the triage Investigate and triage issue label Mar 4, 2023
@deejay-hub
Copy link
Owner

Hi @juhalassila thanks for raising this. We've reproduced the issue and will get back to you when we've had a chance to do a detailed analysis on what's happening.

@deejay-hub deejay-hub added bug Something isn't working and removed triage Investigate and triage issue labels Apr 6, 2023
@deejay-hub
Copy link
Owner

deejay-hub commented Oct 18, 2023

The component loads but the offset width is zero for the parent tab. This creates the issue that the records and minimap plot in the first pixel. This occurs since the DOM is not updated until the tab has the focus.

We'll add some error handling in the next release to help with a work around. When you click the parent tab we'll display an error that requires the user to click the refresh button. Not great but a temp measure.
image

When the workspace API is GA we'll add some logic to auto refresh the timeline when the tab has focus.
https://help.salesforce.com/s/articleView?id=release-notes.rn_lwc_workspaceAPI.htm&release=246&type=5

@deejay-hub deejay-hub self-assigned this Nov 14, 2023
@deejay-hub deejay-hub linked a pull request Nov 14, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants