Open aptmac opened 6 years ago
@aslakknutsen @michaelkleinhenz @alexeykazakov Is this an API issue? Can we query for all work items that are assigned to a user across spaces?
@openshiftio/uxd-team we require your input on this. Do we need to display works items across spaces?
This was changed to a feature-request because the drop-down in the widget allows you to view other spaces.
If there is a performant way to query across spaces, I would suggest that we alter the drop-down to include an "All Spaces" option. This will enable users to quickly get an understanding of their workitems across their spaces quickly. Thoughts @joshuawilson @christianvogt ?
@serenamarie125 that seems very reasonable to me. GH also allows this.
I think this may already be available with the query. I know that in the query tab, we always add the current space to the query before sending the server request. So if we just omit that we could query for all work items assigned to the user.
Agreed. Then we could set the all spaces
option as the default.
Issue Overview
The home and profile work item components no longer display work item information for all spaces. What I mean by this, is I can see work items from the openshift_io planner for example, but one of my own spaces with work items will show nothing. All of the work item network responses for the components came back with no work item data.
If I had to guess, this may have something to do with the new work-item service that was updated at https://github.com/fabric8-ui/fabric8-ui/pull/3282
Expected Behaviour
I expect my work items to be shown.
Current Behaviour
Work items are not shown; the empty state is shown.
Steps To Reproduce
Additional Information
My openshift_io planner WI are showing on the widget though: