Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Submit feedback
    • Contribute to GitLab
  • Sign in
P
purescript-gargantext
  • Project
    • Project
    • Details
    • Activity
    • Releases
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 140
    • Issues 140
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 3
    • Merge Requests 3
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • gargantext
  • purescript-gargantext
  • Issues
  • #57

Closed
Open
Opened Mar 21, 2019 by Nicolas Pouillard@np0 of 2 tasks completed0/2 tasks
  • Report abuse
  • New issue
Report abuse New issue

API error handling

When an API call one should sometimes revert the change locally and warn the user.

For instance, one click one favorite a document, and the API call fails. The frontend should catch the exception and remove the document from the local state of favorites docs.

  • favorite docs
  • deleted docs

...

(I think the ngrams table is less affected due to patches)

Edited Mar 21, 2019 by Nicolas Pouillard
Assignee
Assign to
V4 Release
Milestone
V4 Release
Assign milestone
Time tracking
None
Due date
None
0
Labels
None
Assign labels
  • View project labels
Reference: gargantext/purescript-gargantext#57