Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
82 commits
Select commit Hold shift + click to select a range
7c8c226
add new nuxt 3 environment
halsk Apr 1, 2025
89eb1ee
add sample index page
halsk Apr 1, 2025
9f475bc
add i18n module
halsk Apr 1, 2025
7c17e07
add basic i18n support
halsk Apr 1, 2025
039f2ee
Add Nuxt 3 migration skeleton with i18n support
halsk Apr 1, 2025
f3892d7
Merge pull request #510 from codeforjapan/feature/nuxt3-migration-ske…
halsk Apr 1, 2025
592b16f
remove failed version of dir
halsk Apr 1, 2025
f634652
Merge pull request #511 from codeforjapan:feature/nuxt3-migration-ske…
halsk Apr 1, 2025
7db7a40
Migrate MapHelper and displayHelper to Nuxt 3
halsk Apr 2, 2025
19a55cd
created vues and tests. not tested yet.
halsk Apr 2, 2025
342e656
Migrate Vue components to Nuxt 3 with working tests
halsk Apr 2, 2025
70476bb
Merge nuxt3-version branch into feature/map-helper-migration
halsk Apr 2, 2025
c7e1b3f
Implement PrintableMap integration in map page
halsk Apr 2, 2025
8639517
Fix Logo component to use actual logo image
halsk Apr 2, 2025
4f5b011
Update README.md with Nuxt 3 static assets information
halsk Apr 2, 2025
d3d04c4
Add static files and update index page
halsk Apr 2, 2025
a99dd9b
update packages
halsk Apr 2, 2025
fcfebbe
Merge pull request #513 from codeforjapan/feature/fix-logo-component
halsk Apr 2, 2025
2904681
Add map configuration feature
halsk Apr 2, 2025
7109c7d
Migrate map configuration to Nuxt 3 assets
halsk Apr 3, 2025
806854b
Fix map display in Nuxt 3 migration
halsk Apr 3, 2025
f945ae9
Add marker popups and enhance map display
halsk Apr 3, 2025
79bd2b0
Fix syntax error in marker processing
halsk Apr 3, 2025
2ef481e
Implement missing features from Nuxt 2 PrintableMap component
halsk Apr 3, 2025
0cecb07
Add missing SVG images for map legend
halsk Apr 3, 2025
9609e1a
Fix logo size in header
halsk Apr 3, 2025
cf08939
Merge pull request #514 from codeforjapan/feature/map-popup-improvement
halsk Apr 3, 2025
b31b672
Fix POI list display below map
halsk Apr 3, 2025
a01d512
Make POI list always visible by default
halsk Apr 3, 2025
29a42df
Merge pull request #515 from codeforjapan/fix-list-display
halsk Apr 3, 2025
4cf2046
Fix legend styles to match original design
halsk Apr 3, 2025
1d100f9
Fix legend icons display issues
halsk Apr 3, 2025
9c72ac8
Fix legend icons display by removing v-if condition
halsk Apr 3, 2025
938566d
Add FontAwesome dependency for legend icon display
halsk Apr 3, 2025
12bd6cb
Fix marker filtering when clicking legend icons
halsk Apr 3, 2025
a0a0f54
Fix POI list filtering when category selected
halsk Apr 3, 2025
5350bba
Merge pull request #516 from codeforjapan/fix-legend-display
halsk Apr 3, 2025
1c43c57
Fix print layout styles for proper printing
halsk Apr 3, 2025
9aefe78
Fix print styles with proper SASS integration
halsk Apr 3, 2025
edb4726
Fix SASS deprecation warning
halsk Apr 3, 2025
6e6290a
Add SASS dependency to package files
halsk Apr 3, 2025
d7a6b3e
Implement map page layout with sidebar
halsk Apr 3, 2025
c105481
Update map page to use original Nuxt 2 styling
halsk Apr 3, 2025
3b7d51c
Merge pull request #521 from codeforjapan/fix-print-exclude
halsk Apr 4, 2025
5b2327a
Fix sidebar width to make it larger
halsk Apr 4, 2025
4a98bea
Fix sidebar display issues
halsk Apr 4, 2025
b87c664
add images
halsk Apr 4, 2025
0529462
fixed layout
halsk Apr 4, 2025
d6981f0
Merge pull request #522 from codeforjapan/fix-sidebar-width
halsk Apr 4, 2025
e6d3809
Move footer outside of layout grid to fix z-index issue
halsk Apr 4, 2025
3a36e31
Add SASS dependency to package files
halsk Apr 4, 2025
e945549
modify language files
halsk Apr 4, 2025
0d0bde0
Merge pull request #525 from codeforjapan:feature/translation
halsk Apr 4, 2025
fb466d8
Merge pull request #523 from codeforjapan/fix-footer-zindex
halsk Apr 4, 2025
c9add01
fix css
halsk Apr 5, 2025
ec599c7
Fix map width issue at XL breakpoint
halsk Apr 5, 2025
60724fd
Clean up map width fix code
halsk Apr 5, 2025
6d1c247
Fix test failures for components
halsk Apr 5, 2025
1d46dc0
Fix QR code generation by implementing VueQrcode component
halsk Apr 5, 2025
b3677c0
Merge pull request #527 from codeforjapan/fix-qrcode
halsk Apr 5, 2025
73e8fac
Fix language switcher in map page
halsk Apr 5, 2025
a7d21e4
Fix language switching by using useSwitchLocalePath instead of useLoc…
halsk Apr 5, 2025
4b17d57
Add missing English translations for map not found messages
halsk Apr 5, 2025
5437770
Fix index page layout to match original Nuxt 2 version
halsk Apr 5, 2025
031d9a7
Fix index page grid layout and map title spacing
halsk Apr 5, 2025
276ccef
Restructure index page grid layout for better responsiveness
halsk Apr 5, 2025
c1c6687
Add debug indicators for media queries and grid layout
halsk Apr 5, 2025
f636659
Add style inspector tools and fix CSS syntax issues
halsk Apr 5, 2025
406f7dd
Fix client-side debugging code with ClientOnly component
halsk Apr 5, 2025
e74351c
Update index page grid structure to match [map].vue pattern
halsk Apr 5, 2025
b71365f
Add enhanced debugging tools and force 3-column layout
halsk Apr 5, 2025
39b1e77
Clean up debugging code and finalize grid layout fix
halsk Apr 5, 2025
b73170c
Remove gray background from index items
halsk Apr 5, 2025
3613427
Fix index page layout to match original Nuxt 2 version
halsk Apr 5, 2025
6c562d4
Restore gray background on index items
halsk Apr 5, 2025
86c74ad
Fix margins between map cards
halsk Apr 5, 2025
7c54de0
Merge pull request #528 from codeforjapan/fix-language-switcher
halsk Apr 5, 2025
44d66ed
fix language selector
halsk Apr 5, 2025
cfe1a59
fix logo size
halsk Apr 5, 2025
d3c28fc
Fix LanguageSwitcher test and Vue I18n integration
halsk Apr 7, 2025
74fa47f
Implement and test KML file support for Nuxt 3
halsk Apr 7, 2025
085b2c4
Merge pull request #530 from codeforjapan/feature/fix-kml-support
halsk Apr 7, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -95,3 +95,5 @@ sw.*
/playwright-report/
/blob-report/
/playwright/.cache/

**/CLAUDE.local.md
5 changes: 5 additions & 0 deletions CLAUDE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
1. Never commit and push before you confirm the
fix works
2. Make changes and explain them to you
3. Wait for your explicit approval
4. Only then commit and push
Binary file added nuxt3-migration/.data/content/contents.sqlite
Binary file not shown.
24 changes: 24 additions & 0 deletions nuxt3-migration/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Nuxt dev/build outputs
.output
.data
.nuxt
.nitro
.cache
dist

# Node dependencies
node_modules

# Logs
logs
*.log

# Misc
.DS_Store
.fleet
.idea

# Local env files
.env
.env.*
!.env.example
1 change: 1 addition & 0 deletions nuxt3-migration/CNAME
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
kamimap.com
11 changes: 11 additions & 0 deletions nuxt3-migration/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# STATIC

**This directory is not required, you can delete it if you don't want to use it.**

This directory contains your static files.
Each file inside this directory is mapped to `/`.
Thus you'd want to delete this README.md before deploying to production.

Example: `/static/robots.txt` is mapped as `/robots.txt`.

More information about the usage of this directory in [the documentation](https://nuxtjs.org/guide/assets#static).
7 changes: 7 additions & 0 deletions nuxt3-migration/app.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<template>
<div>
<NuxtLayout>
<NuxtPage />
</NuxtLayout>
</div>
</template>
Binary file added nuxt3-migration/apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
70 changes: 70 additions & 0 deletions nuxt3-migration/assets/config/2019-chiba-typhoon-15.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
{
"map_id":"2019-chiba-typhoon-15",
"map_title":"印刷できる台風災害支援情報マップ(千葉県)",
"map_title_en":"Printable Typhoon Disaster Relief Information Map (Chiba Prefecture)",
"map_description":"SNSで流れる給水所等の情報をネットを見れない地域の人にも伝えられるよう、印刷に最適化したマップです。マップを必要な地域のところに調整すると、A4サイズにちょうどよく印刷され、かつ必要な場所の情報がリストとして表示されます。(GS・給水・避難所・充電・無料Wifi) ぜひ印刷して必要な人に届けてあげてください!",
"map_image": "ogp_2019-chiba-typhoon-15.png",
"sources": [
{
"id" : "chiba",
"url" : "https://www.google.com/maps/d/kml?mid=18v4csEC-qPW_aeXhEnuzgMfUAqWcbF5q&forcekml=1",
"type" : "kml",
"title" : "2019千葉台風15号",
"show" : true
}
],
"default_hash": "35.034970230243786,139.83536606997205-34.998870264553034,139.90144296563784",
"center" : [139.83536606997205, 35.034970230243786],
"type":"KML",
"layer_settings":{
"GS(赤:無事)": {
"name": "GS(赤:無事)",
"name_en": "GS(red: safety)",
"color": "#992222",
"bg_color": "#CA9491",
"icon_class": "fas fa-heart",
"class": "layer_gs_ok"
},
"GS (黒点:未確認)": {
"name": "GS (黒点:未確認)",
"name_en": "GS(black: unconfirmed)",
"color": "#4F4F5A",
"bg_color": "#B7B7BE",
"icon_class": "fas fa-eye-slash",
"class": "layer_gs_undefined"
},
"給水所_(千葉市・県指定除く)": {
"name": "給水所_(千葉市・県指定除く)",
"name_en": "Water Supply Office(Chiba Pref, without prefectural designation)",
"color": "#285797",
"bg_color": "#A3BBDA",
"icon_class": "fas fa-tint",
"class": "layer_water_chibacity"
},
"避難所": {
"name": "避難所",
"name_en": "shelter",
"color": "#276445",
"bg_color": "#A4C1B0",
"icon_class": "fas fa-street-view",
"class": "layer_temporary_houses"
},
"携帯充電_ほか": {
"name": "携帯充電_ほか",
"name_en": "Cell phone charging (Other)",
"color": "#6D4615",
"bg_color": "#C1B17E",
"icon_class": "fas fa-plug",
"class": "layer_charger"
},
"無料Wifi" : {
"name": "無料Wifi",
"name_en": "Free Wi-Fi",
"color": "#604490",
"bg_color": "#BDB1D8",
"icon_class": "fas fa-wifi",
"class": "layer_wifi"
}
}
}

137 changes: 137 additions & 0 deletions nuxt3-migration/assets/config/2019-typhoon-19.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,137 @@
{
"map_id":"2019-typhoon-19",
"map_title":"2019年台風19号災害支援情報マップ",
"map_title_en":"2019 Typhoon-19 Disaster relief information map",
"map_description":"SNSで流れる給水所等の情報をネットを見れない地域の人にも伝えられるよう、印刷に最適化したマップです。マップを必要な地域のところに調整すると、A4サイズにちょうどよく印刷され、かつ必要な場所の情報がリストとして表示されます。随時情報更新していきます。ぜひ印刷して必要な人に届けてあげてください!",
"map_image": "ogp_2019-typhoon-19.png",
"sources": [
{
"id" : "japan",
"url" : "https://www.google.com/maps/d/kml?mid=1pl0sY4TmNur6xB4bKvxxvi5rsizCY1bu&forcekml=1",
"link": "https://www.google.com/maps/d/u/0/viewer?mid=1pl0sY4TmNur6xB4bKvxxvi5rsizCY1bu",
"updated_search_key": {
"type":"regexp",
"pattern":"<!\\[CDATA\\[(<br>)*(.+?)<br>",
"index":2,
"field":"description"
},
"type" : "kml",
"title" : "全国",
"show" : true
},
{
"id" : "nagareyama",
"url" : "https://www.google.com/maps/d/kml?mid=1rAKfJOHRj7K8KkaAGEAwN4RGTABs9zIt&forcekml=1",
"link": "https://www.google.com/maps/d/u/0/viewer?mid=1rAKfJOHRj7K8KkaAGEAwN4RGTABs9zIt",
"type" : "kml",
"title" : "千葉県流山市のみ",
"show" : true
},
{
"id" : "sousou",
"url" : "https://www.google.com/maps/d/kml?mid=1IKlMaWlNDYmfEtgWsL9ZirnmLnirffhl&forcekml=1",
"link": "https://www.google.com/maps/d/u/0/viewer?mid=1IKlMaWlNDYmfEtgWsL9ZirnmLnirffhl",
"type" : "kml",
"title" : "福島県相双地区",
"updated_search_key": {
"type":"regexp",
"pattern":"(2019.+?更新)",
"index":1,
"field":"description"
},
"show" : true
}
],
"default_hash": "35.89575594927511,139.65994077606268-35.62491040699955,140.1995505107742",
"center" : [140.1099463905179, 35.77029301432708],
"type":"KML",
"layer_settings":{
"GS (黒点:未確認)": {
"color": "#4F4F5A",
"bg_color": "#B7B7BE",
"icon_class": "fas fa-eye-slash",
"class": "layer_gs_undefined"
},
"避難所_台風19号_19年10月": {
"name": "避難所_台風19号_19年10月",
"color": "#276445",
"bg_color": "#A4C1B0",
"icon_class": "fas fa-street-view",
"class": "layer_temporary_houses"
},
"携帯充電_ショップ(緑点;未確認)": {
"color": "#6D4615",
"bg_color": "#C1B17E",
"icon_class": "fas fa-plug",
"class": "layer_charger"
},
"自主避難所": {
"name": "自主避難所(流山市版)",
"color": "#276445",
"bg_color": "#A4C1B0",
"icon_class": "fas fa-street-view",
"class": "layer_temporary_houses"
},
"docomo 無料WIFI": {
"color": "#992222",
"bg_color": "#CA9491",
"icon_class": "fas fa-wifi",
"class": "layer_wifi-docomo"
},
"Softbank 無料WIFI": {
"color": "#666666",
"bg_color": "#B1B6B9",
"icon_class": "fas fa-wifi",
"class": "layer_wifi-sb"
},
"携帯充電(緑マーク:確認済)_台風19号_19年10月" : {
"color": "#456658",
"bg_color": "#8ED4B8",
"icon_class": "fas fa-plug",
"class": "layer_charger_19"
},
"給水(青:確認済)_台風19号_19年10月" : {
"color": "#001D96",
"bg_color": "#1CA3EA",
"icon_class": "fas fa-tint",
"class": "layer_water"
},
"Wifi(薄茶;確認済)_台風19号_19年10月" : {
"color": "#6D4615",
"bg_color": "#C1B17E",
"icon_class": "fas fa-wifi",
"class": "layer_wifi"
},
"トイレ(紫:確認済)_台風19号_19年10月 のコピー" : {
"color": "#BE4BDB",
"bg_color": "#d6b1e0",
"icon_class": "fas fa-toilet",
"class": "layer_toilet"
},
"入浴(桃:確認済)_台風19号_19年10月" : {
"color": "#c43895",
"bg_color": "#f9b3e2",
"icon_class": "fas fa-shower",
"class": "layer_shower"
},
"給水(青)_台風19号_19年10月" : {
"color": "#001D96",
"bg_color": "#1CA3EA",
"icon_class": "fas fa-tint",
"class": "layer_water"
},
"(南相馬市)給水所" : {
"color": "#001D96",
"bg_color": "#1CA3EA",
"icon_class": "fas fa-tint",
"class": "layer_water"
},
"(無料)入浴施設" : {
"color": "#c43895",
"bg_color": "#f9b3e2",
"icon_class": "fas fa-shower",
"class": "layer_shower"
}
}
}

69 changes: 69 additions & 0 deletions nuxt3-migration/assets/config/2021-geojson-test.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
{
"map_id":"2021-geojson-test",
"map_title":"GHP2020 デモ",
"map_title_en":"GHP2020 Demo",
"map_description":"",
"map_image": null,
"sources": [
{
"id" : "test",
"url" : "https://script.googleusercontent.com/macros/echo?user_content_key=_6_ZR0XLL0MbaI41b7arw1tKJ44ZRMzJXFJQgYMfmfqp-E5cBnQIhZwUQmD7bjdymn9B2TyvkttH7Lt_J_MeCymrpWuQcL-wm5_BxDlH2jW0nuo2oDemN9CCS2h10ox_1xSncGQajx_ryfhECjZEnEQtBr2DXtd2VVZ6e7KTde4_k47hKKS_Llyb1VlE15EZ8qun0TIBV1jJ2FWGfRqnKT0BdYNs3pinvJsw0wqpxiI&lib=MY-PLI9PNsbIhESkFzgRhtgxmTEkGC2HD",
"type" : "geojson",
"title" : "GHP2020デモ用GeoJSON",
"title_en" : "GHP2020 Demo GeoJSON",
"show" : true
}
],
"default_hash": "36.40706898962824,139.00427694616945-35.6385475171373,140.277266400681534",
"center" : [139.42620262933877, 35.93546870323782],
"type":"geojson",
"layer_settings":{
"未分類": {
"class": "layer_not_categorized",
"color": "#C0C0C0",
"bg_color": "#808080"
},
"自主避難所": {
"name": "自主避難所",
"name_en": "Voluntary shelter",
"color": "#276445",
"bg_color": "#A4C1B0",
"icon_class": "fas fa-street-view",
"class": "layer_temporary_houses"
},
"給水所": {
"color": "#001D96",
"bg_color": "#1CA3EA",
"icon_class": "fas fa-tint",
"class": "layer_water"
},
"入浴施設": {
"color": "#c43895",
"bg_color": "#f9b3e2",
"icon_class": "fas fa-shower",
"class": "layer_shower"
},
"携帯充電": {
"color": "#6D4615",
"bg_color": "#C1B17E",
"icon_class": "fas fa-plug",
"class": "layer_charger"
},
"駅": {
"name": "駅",
"name_en": "Station",
"color": "#C0C0C0",
"bg_color": "#808080",
"icon_class": "fas fa-street-view",
"class": "layer_temporary_houses"
},
"公園": {
"name": "公園",
"name_en": "Park",
"color": "#992222",
"bg_color": "#CA9491",
"icon_class": "fas fa-heart",
"class": "layer_gs_ok"
}
}
}
Loading
Loading