Skip to content
This repository has been archived by the owner on Dec 13, 2020. It is now read-only.

Honor "staleTabIds" property from /rest/api/window/commit response #129

Closed
teosarca opened this issue Dec 3, 2016 · 1 comment
Closed
Milestone

Comments

@teosarca
Copy link
Member

teosarca commented Dec 3, 2016

We are going to introduce "staleTabIds" property (optional) on /rest/api/window/commit responses.

It will contain a list of tabIds that become stale and you need to refresh them.
The property will be present only when needed.

First case we are trying to solve with that:

  • create a sales order
  • add some order lines
  • complete the sales order
  • backend story: some underlying APIs generated more order lines for that sales order and we need to also show those to the user
  • in this case we will mark those tabs as stale.

Example:
image

After refreshing the page, it looks like this:
(remark that we have now 2 order lines!!!)
image

@teosarca
Copy link
Member Author

teosarca commented Dec 3, 2016

It would be nice, in case the tab is not visible to just schedule a lazy loading.

About lazy loading, i've created a new issue to gather ideas: #130

@teosarca teosarca added this to the 2017-03 milestone Jan 11, 2017
damianprzygodzki added a commit that referenced this issue Jan 12, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants