Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

Replace calls to listeEnvs with listModelsWithInfo #1582

Closed
2 tasks done
frankban opened this issue Apr 21, 2016 · 0 comments
Closed
2 tasks done

Replace calls to listeEnvs with listModelsWithInfo #1582

frankban opened this issue Apr 21, 2016 · 0 comments
Assignees
Milestone

Comments

@frankban
Copy link
Member

frankban commented Apr 21, 2016

So that we have access to more details about existing models and also we stop using hardcoded 'user-admin' tag. That done, we need, as part of the same task, to:

  • show/hide models in the model switcher based on the model lifecycle;
  • hide the profile page manage button for zombie models, so that switching to them is not allowed.
@frankban frankban added this to the 2.2.0 milestone Apr 22, 2016
@frankban frankban self-assigned this Apr 22, 2016
jujugui added a commit that referenced this issue Apr 25, 2016
Replace calls to listEnvs with listModelsWithInfo.

So that we have access to more details about existing models
and also we stop using hardcoded 'user-admin' tag.
More details about models means this branch can also provide the ability to:
- show/hide models in the model switcher based on the model lifecycle;
- hide the profile page manage button for zombie models,
  so that switching to them is not allowed.

Also rename env methods to call models "models" more consistently.

This must be QAed in real models, both GIJoe (for the controller story)
and JEM enabled. Create a new model, switch to it, deploy something, then 
call `app.env.destroyModel()`: the model switcher no longer shows the model,
the profile page shows it without the manage button.

Fixes #1582
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

No branches or pull requests

1 participant