Skip to content

fix: Resolved console error for Collection Page [SPRW-3125]#4150

Merged
LordNayan merged 6 commits intosparrowapp-dev:release/2.38.0from
mayankjha-eng:fix/SPRW-3125/collections-page
Mar 19, 2026
Merged

fix: Resolved console error for Collection Page [SPRW-3125]#4150
LordNayan merged 6 commits intosparrowapp-dev:release/2.38.0from
mayankjha-eng:fix/SPRW-3125/collections-page

Conversation

@mayankjha-eng
Copy link
Copy Markdown
Contributor

@mayankjha-eng mayankjha-eng commented Mar 11, 2026

Description

This hotfix improves the stability of the Collections page by adding safeguards for null or missing data and UI references. It ensures the page loads correctly and user interactions such as opening, expanding, or editing collection items work without errors. The update also ensures API responses with empty or null values are handled gracefully, preventing console errors and improving overall reliability.

Add Issue Number

SPRW-3125

Add Screenshots/GIFs

sprw-3125.mp4

Add Known Issue

The Motion component may attempt to access DOM styles before the underlying element is fully available, which can trigger a non-blocking console error (getComputedStyle). This does not affect application functionality or UI behavior.

Steps to Reproduce

  1. Log in to the Sparrow application.

  2. Navigate to a workspace and open the Collections section.

  3. Open any REST request from a collection.

  4. Click on different requests or switch between tabs in the REST Explorer.

  5. Open the browser developer console.

  6. Observe the console logs.

A console error related to getComputedStyle from the Motion animation may appear when the request view loads or switches.
The error does not affect UI behavior or functionality.

Contribution Checklist:

  • The pull request only addresses one issue or adds one feature.
  • I have linked an issue to the pull request.
  • I have linked a PR type label to the pull request.
  • The pull request does not introduce any breaking changes
  • I have added screenshots or GIFs to help explain the change if applicable.
  • I have read the contribution guidelines.

Note: Keeping the PR small and focused helps make it easier to review and merge. If you have multiple changes you want to make, please consider submitting them as separate pull requests.

@LordNayan
Copy link
Copy Markdown
Member

/build

@github-actions
Copy link
Copy Markdown

🚀 Build triggered for branch fix/SPRW-3125/collections-page from mayankjha-eng/sparrow-app.

⏳ Build is currently in progress. You will receive a status update here once it completes.

@github-actions
Copy link
Copy Markdown

Build dispatch failed for branch fix/SPRW-3125/collections-page from mayankjha-eng/sparrow-app.

Please check the workflow logs for more details.

@mayankjha-eng mayankjha-eng changed the base branch from main to release/2.38.0 March 12, 2026 06:23
@LordNayan
Copy link
Copy Markdown
Member

/build

@github-actions
Copy link
Copy Markdown

🚀 Build triggered for branch fix/SPRW-3125/collections-page from mayankjha-eng/sparrow-app.

⏳ Build is currently in progress. You will receive a status update here once it completes.

@github-actions
Copy link
Copy Markdown

Build dispatched successfully for branch fix/SPRW-3125/collections-page from mayankjha-eng/sparrow-app.

You can monitor the build progress in the Actions tab.

@mayankjha-eng mayankjha-eng changed the title Fix/sprw 3125/collections page fix: Resolve console error for Collection Page [SPRW-3125] Mar 12, 2026
@mayankjha-eng mayankjha-eng changed the title fix: Resolve console error for Collection Page [SPRW-3125] fix: Resolved console error for Collection Page [SPRW-3125] Mar 12, 2026
@mayankjha-eng
Copy link
Copy Markdown
Contributor Author

/build

@github-actions
Copy link
Copy Markdown

🚀 Build triggered for branch fix/SPRW-3125/collections-page from mayankjha-eng/sparrow-app.

⏳ Build is currently in progress. You will receive a status update here once it completes.

@github-actions
Copy link
Copy Markdown

Build dispatched successfully for branch fix/SPRW-3125/collections-page from mayankjha-eng/sparrow-app.

You can monitor the build progress in the Actions tab.

@LordNayan
Copy link
Copy Markdown
Member

/build

@github-actions
Copy link
Copy Markdown

🚀 Build triggered for branch fix/SPRW-3125/collections-page from sparrowapp-dev/sparrow-app.

⏳ Build is currently in progress. You will receive a status update here once it completes.

@github-actions
Copy link
Copy Markdown

Build dispatched successfully for branch fix/SPRW-3125/collections-page from sparrowapp-dev/sparrow-app.

You can monitor the build progress in the Actions tab.

@LordNayan
Copy link
Copy Markdown
Member

/build

@github-actions
Copy link
Copy Markdown

🚀 Build triggered for branch fix/SPRW-3125/collections-page from mayankjha-eng/sparrow-app.

⏳ Build is currently in progress. You will receive a status update here once it completes.

@github-actions
Copy link
Copy Markdown

Build dispatched successfully for branch fix/SPRW-3125/collections-page from mayankjha-eng/sparrow-app.

You can monitor the build progress in the Actions tab.

@LordNayan LordNayan merged commit 0145639 into sparrowapp-dev:release/2.38.0 Mar 19, 2026
1 of 3 checks passed
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.

2 participants