Open digitaldonkey opened 6 years ago
The screen now different. A server selector would still be interesting.
I'd be keen to help on this, if it's still relevant? So is the idea to have something like this, possibly without the submit button so that it automatically submits when changed:
...where you can switch the status page to any ACTIVE server.
By 'active' do you mean servers that are enabled (is_enabled: true)?
@foxtrotcharlie that looks great! I think that screenshot is exactly what @digitaldonkey wanted to have on this page.
By 'active' do you mean servers that are enabled (is_enabled: true)?
Yup :)
Great. Do you use a Drupal rendered Select? It looks a little unstyled.
Default value should be the current default server and all active servers should be selectable. We could also parameterize the page like reports/ethereum/machine_name
Would be happy for a PR.
Thanks for the feedback @digitaldonkey & @amateescu! Yes, it is a Drupal rendered select. Working on parameterising the page. Will submit PR once done.
Would one of you mind having a look here please: https://github.com/digitaldonkey/ethereum/pull/35 ?
I have some questions. Thanks!
Should networks or perhaps even nodes become an Entity in itself to extend their usefulness overall?
Should networks or perhaps even nodes become an Entity in itself to extend their usefulness overall?
They both are config entities. Just without a UI implemented. You are welcome to add it.
Can you elaborate on how it would improve the usefulness from your perspective?
The Server status page at admin/reports/ethereum currently works only for the default server.
With the refactored Server settings there should be a SELECT field on top, where you can switch the status page to any ACTIVE server. Ideally we can reach every server config with admin/reports/ethereum/<id>
For reference. The Servers are Drupal config Entities now. With the following properties.
https://github.com/digitaldonkey/ethereum/blob/1a77d2644a84c7587ecca54596d252a624e9dec3/config/optional/ethereum.ethereum_server.infura_ropsten.yml#L1-L6