Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add under maintenance routing to game #496

Open
3 tasks
mabijkerk opened this issue Jan 18, 2024 · 5 comments
Open
3 tasks

Add under maintenance routing to game #496

mabijkerk opened this issue Jan 18, 2024 · 5 comments
Assignees

Comments

@mabijkerk
Copy link
Member

With recent changes to heat demand in the built environment, we are postponing the update of the game until we have a clear long-term vision for it. This requires both internal and external discussions. In the meantime, the game should be unavailable to our users. To be precise, there are two games, both hosted on https://light.energytransitionmodel.com/. The "Balance energy demand and supply" game already no longer works.

Screenshot 2024-01-18 at 10 46 44
@thomas-qah
Copy link

thomas-qah commented Jan 23, 2024

Having looked at the structure of the application, I would recommend one of the following actions (plans) to make the game(s) unavailable for now:

  1. Use the current application setup and simply do not list any of the games (called scenes in the application) any longer but replace them with a "under maintenance" message. Scenes are defined here in the controller, and displayed here in the view.
  2. From a security perspective, less complexity equals smaller attack surface. To achieve this we could simply cut out the etflex application and replace it with a simple static HTML page (maybe in two versions, English and Dutch, with the former being the default one).

@mabijkerk
Copy link
Member Author

Thanks for this @thomas-qah. I think option 2 would be my preferred option, as long as we do not delete any of the existing content. For the local versus global tool we did something similar, see quintel/etmodel@b08c384. This has the following look in the ETM when you visit https://energytransitionmodel.com/local-globall:

Screenshot 2024-01-24 at 08 29 10

Is option 2 in line with the screenshot presented above @thomas-qah?

@thomas-qah
Copy link

thomas-qah commented Jan 24, 2024

as long as we do not delete any of the existing content.

Definitely! In option 2 (and option 3, see below), the etflex repository would remain as-is.

For the local versus global tool we did something similar.

Interesting! That could be our third option: simply let requests to light.energytransitionmodel.com redirect to a URL in etmodel (such as energytransitionmodel.com/game or /light or so), and display a simple 'under maintenance' page there. This might be the cleanest option. What do you think @mabijkerk?

@noracato
Copy link
Member

That could be our third option: simply let requests to light.energytransitionmodel.com redirect to a URL in etmodel (such as energytransitionmodel.com/game

Great thought! I like this solution, simple and clean

@noracato
Copy link
Member

  • Links quintel.com
  • Fix routing naar juiste url

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants