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.

Inconsistent devfile selection in dashboard; no way to specify preferred devfile

See original GitHub issue

Describe the bug

In Che 6 we had functionality to specify, through config, the default stack that is selected when creating a workspace. In Che 7, this appears to work in a much more strange way:

  • Devfiles in the dashboard are sorted alphabetically
  • The default selected devfile when entering the page is the first devfile in the index.json, which ends up being the first subdirectory in devfiles

This results in the selected devfile being in a semi-random spot on the list (in current nightlies, it’s near the middle).

Che version

  • nightly

Expected behavior

At minimum, the default selected devfile would be the top one on the sorted list (e.g. angular, currently).

Screenshots

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
tsmaedercommented, Oct 28, 2019

More of a nuisance.

0reactions
sleshchenkocommented, Oct 5, 2020

where we wanted devfiles to appear in a certain order and have a specific devfile selected by default

We had a dedicated issue for that on Dashboard side which was closed by inactivity and I even did not find it ) So, if it’s a case - a new issue should be created for that.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Solved: File contains inconsistencies and cannot be opened...
my document is no longer on my Start Page recent files list so I cannot try the "open with no data" trick... I'm...
Read more >
Chapter 4. Authoring devfiles - Red Hat Customer Portal
This section explains the concept of a devfile and how to configure a CodeReady Workspaces workspace by using a devfile of the 1.0...
Read more >
OpenShift Container Platform 4.8 release notes
Red Hat did not publicly release OpenShift Container Platform 4.8.0 as the GA ... You can now specify a custom time range for...
Read more >
Creating applications using the Developer perspective | OKD 4
Helm chart: Select the required Helm chart to simplify deployment of applications and services. Devfile: Select a devfile from the Devfile registry to ......
Read more >
intelLinux RedHat SuSE Serviceguard Enterprise A.12.00.30
Defect: QXCR1001432645 Subnet selection in the dashboard page does not ... /dev/file is not a valid disk device or VG Sep 29 23:17:51...
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