[WEB-4182] Fix work item links error messages#7122
[WEB-4182] Fix work item links error messages#7122sriramveeraghanta merged 3 commits intopreviewfrom
Conversation
WalkthroughThis update modifies the error handling in link-related components and store logic, ensuring errors are now propagated instead of silently handled. Additionally, it adjusts the CSS positioning of the close icon in the toast component from fixed to absolute, affecting its placement within the toast container. Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant UI
participant LinkStore
User->>UI: Initiates link update
UI->>LinkStore: updateLink()
LinkStore->>LinkStore: Try to update link
alt Success
LinkStore-->>UI: Return updated link
else Error
LinkStore-->>UI: Throw error
UI->>UI: Show error toast with error.data.error
end
Possibly related PRs
Suggested labels
Suggested reviewers
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (3)
⏰ Context from checks skipped due to timeout of 90000ms (1)
🔇 Additional comments (3)
✨ Finishing Touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
|
Pull Request Linked with Plane Work Items Comment Automatically Generated by Plane |
* fix: backend error message toast when getting error * fix: toast in small screens
Description
Before
After

Before

After

Type of Change
Summary by CodeRabbit
Style
Bug Fixes