Blog placements do not record or show which post they came from

Open
#79 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
javascript, json
Domain
data

Research direction

Start with the 67 blog placements in gamev2/config.json and the posts array added by change #47, noting which states lack ids. The first step is a maintainer decision on whether the post title or link should appear in game, which this issue does not settle. Once decided, backfill ids: the photo id equals the post id for the 54 states with a photo, and the www-jp post list covers the rest. Done means every state has a post id and the agreed display is decided.

Written by the indexing model from the issue text.

Description

The 67 existing blog placements in gamev2/config.json carry no post id or title, so the game cannot link a character's dialogue back to the post (for example a caption in the dialogue box or a title in the date picker). From the #47 change onward new placements record "posts": [{"id", "lines"}], but nothing displays it and old states have no ids.

Needs: a decision on whether to surface the post (title/link) in game, and a one-off backfill mapping existing states to post ids (the photo id equals the post id for the 54 states that have a photo; the rest need the www-jp post list).

Found while implementing #47.

Dominant language
JavaScript
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from devhou-se/game

All issues in devhou-se/game

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.