Duplicate stock symbols in StockWidget shows "loading data" #282
Labels
No labels
bug
conflicts
documentation
DO NOT MERGE
duplicate
enhancement
good first issue
hardware
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
greg/info-orbs#282
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
If I want to have the same symbol shown more than once, that should work ;) But the second request for data shows
E: Duplicate Task. Task already in the queue to waiting to be processed.And the widget isn't drawn properly.
This becomes a slightly-less silly edge-case when using >1 page of stocks per #268
Yeah the key for tasks is the url. We could could probably just append something to that like the screen number. But also from an efficiency standpoint is there any reason to go fetch data you are already requesting? I.e should the stock widget be changed to either not allow dup's or somehow share data between them?
I think it would make sense to use the same data for both screens, without requesting the data twice.