Bug 2060325

Summary: Missing user preference for landing page after switching to developer perspective and post-create flow
Product: OpenShift Container Platform Reporter: Christoph Jerolimov <cjerolim>
Component: Dev ConsoleAssignee: Jaivardhan Kumar <jakumar>
Status: CLOSED NOTABUG QA Contact: spathak <spathak>
Severity: high Docs Contact:
Priority: high    
Version: 4.7CC: aos-bugs, nmukherj, vismishr
Target Milestone: ---   
Target Release: 4.11.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-03-22 13:57:36 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Christoph Jerolimov 2022-03-03 10:37:24 UTC
Description of problem:
As a user, I was stopped from using the developer perspective when switching into a namespace with a lot of workloads (Deployments, Pods, etc.)

This is a follow up on https://bugzilla.redhat.com/show_bug.cgi?id=2006395

We recommend the following safety precautions against a lazy or crashing topology, also if we continue to work on performance improvements to allow more workloads rendered.

At the moment we expect that a topology with around about 100 nodes could be displayed. This could also depend on the node types, the used browser, the computer power of the PC, and how often the workload conditions changes.


Recommended new user preference to skip the topology:

We suggest allowing the user to skip the topology when switching to the developer perspective by defining the default page for that.

1. Add a new user preference tab "Developer"

2. Add a new option "Landing page" with these options:
- Add
- Topology (default)
- Observe
- Search
- Project

3. Load this when the user switches the perspective and show the right page based on that information.

As the topology was also automatically shown after creating/importing an application, we suggest a similar approach here.

4. Add new option "Post-import page" with these options:
- Add (?)
- Topology (default)
- Detail page (depending on the created 'main' resource, for example Deployment, DeploymentConfig or kn Service)
5. Load this when the user created a new Application and redirect based on that information.


Note on backports:
- For 4.9+ we can provide a user preference for that as the user preferences page was available here.
- For 4.7 and 4.8 the UI doesn't support user preferences.  But we can backport 3 and 5, so that the admin or user can set this setting manually in a user settings ConfigMap (saved per user).

Comment 1 Christoph Jerolimov 2022-03-22 13:57:36 UTC
We will follow up on this in this 4.11 or 4.12 story: https://issues.redhat.com/browse/ODC-6590