Originally my thinking was that if we code React pain points as just react, we won't be able to change the description. Because it we changed it to something like "Issues with React", then that would also appear as the canonical description for React everywhere else even for charts that have nothing to do with pain points.
So my solution was to create separate foo_issues-type codes for the pain points so that they can have their own descriptions or other metadata.
But the downsides are:
- This makes our codebooks larger
- Pain point charts lose access to all existing
react metadata (link to homepage, github, npm , etc.) unless we duplicate it to react_issues, which is not practical.
So the solution I now favor is:
- Only have
react
- Find another way to have context-dependent metadata. See below.
Context-dependant metadata
Examples:
- id: react
name: React
overrides:
- questionIds: [front_end_framework_pain_points]
name: React issues
description: Issues with React
Or:
- id: i18n_issues
name: Internationalization
patterns:
- translation
- locali(z|s)ation
overrides:
- id: web_components_common_pain_points
name: Web Components Internationalization
patterns:
- i18n
Or:
- id: react
name: React
overrides:
- idMatch: *pain_points*
name: React issues
description: Issues with React
Originally my thinking was that if we code React pain points as just
react, we won't be able to change the description. Because it we changed it to something like "Issues with React", then that would also appear as the canonical description for React everywhere else even for charts that have nothing to do with pain points.So my solution was to create separate
foo_issues-type codes for the pain points so that they can have their own descriptions or other metadata.But the downsides are:
reactmetadata (link to homepage, github, npm , etc.) unless we duplicate it toreact_issues, which is not practical.So the solution I now favor is:
reactContext-dependant metadata
Examples:
Or:
Or: