add /tiles/test
route to easily reference tiles from different titles and game states
#9175
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.
can display a tile as it appears on the board at any given point in any given fixture
rendered; a link to the fixture at the action is rendered in the tile block
include tiles showing the problems reported in the following issues:
Tile text hiding dit #4992
18Ireland: IR7 and IR8 render incorrectly #5153
1856: CPR Destination overlaps Green Toronto's city value #5167
[18Mag] Yellow O-O tiles have town name over price #5673
[1828.games] H22 private blocker rendering #5981
[1888] Mountain Tile L41 Renders Improperly #6604
Some problems with tile renderings #7765
1830 : overlapping labels on OO tile 59 #8178
add completed 1868 Wyoming game as a fixture
screenshots in [core] allow icons and upgrades to have a
loc
set to specify rendering location, use for DTs in 1868WY #9174move fixtures from
/spec/fixtures/
into/public/fixtures/
so the JSON can be accessed via/fixtures/<title>/<fixture_id>.json
test cases defined in a location accessible by both the view code and server side code (
lib/engine/test_tiles.rb
) so that when the page is initially served up, it already includes the<script>
tags for the games being testedtitle
, can also havetitle
,fixture
,action
, andany
kwargs
used byrender_tile_blocks
Screenshot before fixtures finish processing:
Done: