Implement view for an info.pedia page #39
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Referencing an old PR #28 , now updated for the current code.
In addition to the features mentioned by that PR, here are the additional improvements.
You no longer need to be logged in to be able to view the page
The WikiLive hosts each section as its own live view. This makes it easier to be modified or appended. (I intend to add a short description of the major mechanics of the game)
The resource categories are now changed to suit a descriptive purpose more than their structure. Flavor texts are considered placeholder and may be changed.
![image](https://user-images.githubusercontent.com/22878527/222899491-b23f0e31-cede-4565-9e10-758816a1f278.png)
The buildable tooltip is its own separate live view. This view is used in the wiki, but it can also be used in city_view to simply code.
![image](https://user-images.githubusercontent.com/22878527/222899713-a6469022-4b7a-434b-8322-4309b3d9788a.png)
The resource and buildable list are sectioned with the
![image](https://user-images.githubusercontent.com/22878527/222899340-5749b79b-74f5-4cc0-9ffa-9a3e408cd51e.png)
<details>
tag, and can be collapsed.I sourced an icon for education, from here: https://www.svgrepo.com/svg/89864/open-book You may use a different icon if you wish.
![image](https://user-images.githubusercontent.com/22878527/222899755-d8f4be93-3d1b-43c4-8f01-490dccb482bd.png)
![image](https://user-images.githubusercontent.com/22878527/222899780-edc2d954-d7a6-40f5-a8d5-4895ea8c8f58.png)
Supporting modules have been added to separate specific configurations from the view. This means wiki_live (and city_live) can fetch them and not need to maintain their own copies of their definitions.
![image](https://user-images.githubusercontent.com/22878527/222899918-cf5522ed-2486-477d-a5fb-0230d21f3d71.png)
city_stock_display
is not yet used, but is intended for use with the different forms of stock display on city_viewThis PR does not edit city_view nor any of the city calculations, and should not affect them.