fix: Resolved console error for Collection Page [SPRW-3125]#4150
Conversation
|
/build |
|
🚀 Build triggered for branch ⏳ Build is currently in progress. You will receive a status update here once it completes. |
|
❌ Build dispatch failed for branch Please check the workflow logs for more details. |
|
/build |
|
🚀 Build triggered for branch ⏳ Build is currently in progress. You will receive a status update here once it completes. |
|
✅ Build dispatched successfully for branch You can monitor the build progress in the Actions tab. |
|
/build |
|
🚀 Build triggered for branch ⏳ Build is currently in progress. You will receive a status update here once it completes. |
|
✅ Build dispatched successfully for branch You can monitor the build progress in the Actions tab. |
|
/build |
|
🚀 Build triggered for branch ⏳ Build is currently in progress. You will receive a status update here once it completes. |
|
✅ Build dispatched successfully for branch You can monitor the build progress in the Actions tab. |
|
/build |
|
🚀 Build triggered for branch ⏳ Build is currently in progress. You will receive a status update here once it completes. |
|
✅ Build dispatched successfully for branch You can monitor the build progress in the Actions tab. |
0145639
into
sparrowapp-dev:release/2.38.0
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
Log in to the Sparrow application.
Navigate to a workspace and open the Collections section.
Open any REST request from a collection.
Click on different requests or switch between tabs in the REST Explorer.
Open the browser developer console.
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:
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.