openshiftio / openshift.io

Red Hat OpenShift.io is an end-to-end development environment for planning, building and deploying modern applications.
https://openshift.io
97 stars 66 forks source link

Home and Profile work item components not showing work items for all spaces #4273

Open aptmac opened 6 years ago

aptmac commented 6 years ago
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
  1. Have work items in planner planner
  2. Notice that analyze page work item component seems to be working correctly analyze
  3. Notice that home and profile work item components show empty state profile For reference, this is what it used to show: profile-before
Additional Information

My openshift_io planner WI are showing on the widget though: profile-osio

joshuawilson commented 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?

nimishamukherjee commented 6 years ago

@openshiftio/uxd-team we require your input on this. Do we need to display works items across spaces?

joshuawilson commented 5 years ago

This was changed to a feature-request because the drop-down in the widget allows you to view other spaces.

serenamarie125 commented 5 years ago

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 ?

christianvogt commented 5 years ago

@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.

joshuawilson commented 5 years ago

Agreed. Then we could set the all spaces option as the default.