Skip to content

[TAS-5234] ✨ Add local-histories page#649

Merged
williamchong merged 14 commits intolikecoin:developfrom
AuroraHuang22:feature/local-histories
Mar 3, 2026
Merged

[TAS-5234] ✨ Add local-histories page#649
williamchong merged 14 commits intolikecoin:developfrom
AuroraHuang22:feature/local-histories

Conversation

@AuroraHuang22
Copy link
Copy Markdown
Contributor

3ook_com · 19 12 · 01-28

@notion-workspace
Copy link
Copy Markdown

地方誌UI

AuroraHuang22 added a commit that referenced this pull request Jan 28, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR introduces a new “Local Histories” landing page and integrates it into the store, including data, map visualization, and i18n support.

Changes:

  • Added a dedicated /local-histories page with a regional map, filters, and featured local-history listings sourced from a new featured-local-histories constant.
  • Wired the “Local Histories” tag into the store page tag system, including navigation, analytics logging, and localized copy in both zh-Hant and en.
  • Added new visual assets (Taiwan map SVG and region background images) and a map component that focuses on regions when selected.

Reviewed changes

Copilot reviewed 6 out of 13 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
pages/local-histories.vue New Local Histories landing page with regional overview, map integration, filters, and featured listing cards backed by featuredLocalHistories.
components/LocalHistoriesMap.vue SVG-based Taiwan map component with region grouping and animated zoom/pan behavior driven by the selected region.
constants/featured-local-histories.ts Defines the curated list of local histories (titles, regions, summaries, tags, and publish status) consumed by the new page.
pages/store/index.vue Adds a custom “Local Histories” tag into the store tag list and routes clicks on that tag to the new /local-histories page with analytics.
i18n/locales/zh-Hant.json Adds zh-Hant translations for the new page and regional copy, including hero text, overview, and search/filter labels.
i18n/locales/en.json Adds English translations mirroring the zh-Hant Local Histories page texts.
assets/images/taiwan-map.svg Adds the source SVG map of Taiwan (with county/city paths and label points) used as the basis for the interactive map component.
public/images/islands.jpg Adds a background image used for the “islands” region card on the Local Histories page.

Comment thread pages/local-histories.vue Outdated
Comment thread pages/local-histories.vue
Comment thread i18n/locales/zh-Hant.json
Comment thread i18n/locales/zh-Hant.json
Comment thread i18n/locales/en.json
Copy link
Copy Markdown
Member

@nwingt nwingt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe add border & bg color to map?

Before

After

Comment thread i18n/locales/zh-Hant.json Outdated
Comment thread i18n/locales/en.json Outdated
Comment thread public/images/north.jpg Outdated
Comment thread public/images/taiwan-banner.jpg Outdated
Comment thread pages/local-histories.vue Outdated
@nwingt
Copy link
Copy Markdown
Member

nwingt commented Jan 29, 2026

For mobile, I think instead of showing map, it is better to show the accordion list
Screenshot 2026-01-29 at 23 02 00
Screenshot 2026-01-29 at 23 02 44

nwingt pushed a commit that referenced this pull request Jan 29, 2026
nwingt pushed a commit that referenced this pull request Jan 30, 2026
nwingt pushed a commit that referenced this pull request Jan 30, 2026
nwingt pushed a commit that referenced this pull request Jan 30, 2026
nwingt pushed a commit that referenced this pull request Feb 1, 2026
nwingt pushed a commit that referenced this pull request Feb 2, 2026
williamchong pushed a commit that referenced this pull request Feb 2, 2026
nwingt pushed a commit that referenced this pull request Feb 2, 2026
williamchong pushed a commit that referenced this pull request Feb 3, 2026
williamchong pushed a commit that referenced this pull request Feb 4, 2026
williamchong pushed a commit that referenced this pull request Feb 4, 2026
williamchong pushed a commit that referenced this pull request Feb 4, 2026
williamchong pushed a commit that referenced this pull request Feb 6, 2026
nwingt pushed a commit that referenced this pull request Feb 6, 2026
nwingt pushed a commit that referenced this pull request Feb 6, 2026
✨ Add local-histories page
nwingt pushed a commit that referenced this pull request Feb 6, 2026
✨ Add local-histories page
nwingt pushed a commit that referenced this pull request Feb 26, 2026
✨ Add local-histories page
williamchong pushed a commit that referenced this pull request Feb 26, 2026
✨ Add local-histories page
nwingt pushed a commit that referenced this pull request Feb 26, 2026
✨ Add local-histories page
williamchong pushed a commit that referenced this pull request Feb 26, 2026
✨ Add local-histories page
nwingt pushed a commit that referenced this pull request Feb 26, 2026
✨ Add local-histories page
williamchong pushed a commit that referenced this pull request Feb 26, 2026
✨ Add local-histories page
nwingt pushed a commit that referenced this pull request Feb 27, 2026
✨ Add local-histories page
nwingt pushed a commit that referenced this pull request Feb 27, 2026
✨ Add local-histories page
nwingt pushed a commit that referenced this pull request Feb 27, 2026
✨ Add local-histories page
nwingt pushed a commit that referenced this pull request Feb 28, 2026
✨ Add local-histories page
nwingt pushed a commit that referenced this pull request Feb 28, 2026
✨ Add local-histories page
AuroraHuang22 added a commit that referenced this pull request Mar 2, 2026
williamchong pushed a commit that referenced this pull request Mar 2, 2026
williamchong pushed a commit that referenced this pull request Mar 2, 2026
williamchong pushed a commit that referenced this pull request Mar 2, 2026
williamchong pushed a commit that referenced this pull request Mar 2, 2026
williamchong pushed a commit that referenced this pull request Mar 2, 2026
williamchong pushed a commit that referenced this pull request Mar 2, 2026
williamchong pushed a commit that referenced this pull request Mar 2, 2026
williamchong pushed a commit that referenced this pull request Mar 2, 2026
@williamchong williamchong merged commit 32bb7e2 into likecoin:develop Mar 3, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants