Skip to content

♻️ Refactor and add back buttons and map previews to local histories pages#887

Open
williamchong wants to merge 3 commits intolikecoin:developfrom
williamchong:feature/hk
Open

♻️ Refactor and add back buttons and map previews to local histories pages#887
williamchong wants to merge 3 commits intolikecoin:developfrom
williamchong:feature/hk

Conversation

@williamchong
Copy link
Copy Markdown
Member

@williamchong williamchong commented Mar 27, 2026

image

This comment was marked as resolved.

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.

Please fix the hover buttons style

- Add back-to-store button on index, back-to-index on Taiwan/HK pages
- Render map components as decorative card backgrounds on index page
- Override map styles for static display (white fills, no GPU layers)
- Use useIntersectionObserver + useTransition for stats animation
- Add refDebounced for search input filtering
- Remove redundant expandedRegion state and featuredItems alias
- Fix card toggle behavior in Taiwan page to match Hong Kong
- Override ghost button hover bg with translucent white for dark heroes
- Use i18n $t('common_back') for aria-label instead of hardcoded English
- Add keyboard handlers (Enter/Space) to region cards in Taiwan page
- Lazy-load decorative map SVGs in index to reduce initial bundle size
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.

3 participants