question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

User Dashboard should be configurable enough for reusing in Hosted Che

See original GitHub issue

Is your task related to a problem? Please describe.

Currently, on Hosted Che side we do a few UD related changed in comparison with upstream. I think now after reorg it is a good time to get rid of the rh-che specific changes and make UD generic / configurable enough to be fully reused in the downstream.

Motivation

Every sprint the Hosted Che team spent time for backporting changes from upstream to downstream. For example 7.5.1 related updates - https://github.com/redhat-developer/rh-che/pull/1722

What needs to be done

It looks like we can relatively easily get rid of the Hosted Che specific changes:

image

Also, the “Organization” concept might be soon deprecated upstream - https://github.com/eclipse/che/issues/15304#issuecomment-558880903

I think it should be contributed to the upstream and it should be disabled by default. There should be a configuration option to enable in the upstream

This should be done in upstream. Also, we can have the same FAQ file for Eclipse Che and Hosted Che in the docs coming one after another. Related issue - https://github.com/redhat-developer/rh-che/issues/1479

Describe alternatives you’ve considered

Hosted Che will continue to override UD in downstream every sprint release

Additional context

This issue is part of the https://github.com/eclipse/che/issues/13265 epic

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:11 (11 by maintainers)

github_iconTop GitHub Comments

4reactions
sleshchenkocommented, Jan 23, 2020

@akurinnoy @olexii4 Just to left the result of our discussion here. We agree that we could introduce a more general format for a configuration that later can be extended and gives an ability for example to define navbar elements order or title, etc. For example:

---
configuration:
  views:
    organizations:
      navbar:
        displayed: true
        title: ''
        priority: 1
      enabled: 'true'
      baseRoute: "#teams"
    workspaces:
      views:
        sharing:
          enabled: 'false'
  footer:
    faq:
      title: ''FAQ"
      href/reference: ''che-7/docs/FAQ"
    docs:
      title: "Docs"
      href/reference: /che-7/docs

But it would require even more analysis and work on Dashboard side. So, the proposed format

{
  "configuration": {
    "menu": {
      "disabled": []
    },
    "misc": {
      "idePrefetch": []
     }
  }
}

is good enough to start and later we’ll be able to provide a backward-compatible scenario to migrate to a new format if we’ll see that it’s needed.

2reactions
ibuziukcommented, Jan 14, 2020

@skabashnyuk @sleshchenko since there was a discussion about the potential move of the dashboard and wsloader to separate repos it would be great to solve this issue first. Otherwise, it will much complicate the life for Hosted Che update process cc: @gazarenkov

Read more comments on GitHub >

github_iconTop Results From Across the Web

Changes needed to use upstream Che on che.openshift.io
Dashboard Customization - User Dashboard should be configurable enough for reusing in Hosted Che #15462. Areas that would be problematic to ...
Read more >
Chapter 4. Configuring CodeReady Workspaces
Defines OpenShift namespace in which all workspaces will be created. If not set, every workspace will be created in a new project, where...
Read more >
Dashboard Design - Considerations and Best Practices - Toptal
Dashboard UI designs, analytics, and infographics work well on a dark UI but still should be “handled with care” to ensure sufficient contrast...
Read more >
Save, reuse and share Dashboards (like dashboard picklist)
It would be great if the dashboards can be shared across user accounts. We want to publish the dashboard to our execs. The...
Read more >
Config Cheat Sheet - Docs
Any changes to the Gitea configuration file should be made in ... DESCRIPTION : Gitea (Git with a cup of tea) is a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found