<p dir="auto">This adds a home location page with its own URL similar to what's suggested in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="25227268" data-permission-text="Title is private" data-url="https://github.com/openstreetmap/openstreetmap-website/issues/670" data-hovercard-type="issue" data-hovercard-url="/openstreetmap/openstreetmap-website/issues/670/hovercard?comment_id=31867047&comment_type=issue_comment" href="https://github.com/openstreetmap/openstreetmap-website/issues/670#issuecomment-31867047">#670 (comment)</a>, without sidebar and extra controls. Instead of <code class="notranslate">/:username/home</code> I use the path <code class="notranslate">/account/home</code> because it's easier to implement, no need to check <code class="notranslate">:username</code>.</p>
<p dir="auto">A link to this page is available on every other page with the user dropdown menu. This <span class="issue-keyword tooltipped tooltipped-se" aria-label="This pull request closes issue #1810.">fixes</span> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="311528279" data-permission-text="Title is private" data-url="https://github.com/openstreetmap/openstreetmap-website/issues/1810" data-hovercard-type="issue" data-hovercard-url="/openstreetmap/openstreetmap-website/issues/1810/hovercard" href="https://github.com/openstreetmap/openstreetmap-website/issues/1810">#1810</a>.</p>
<p dir="auto"><a href="https://github.com/openstreetmap/openstreetmap-website/assets/4158490/fe4a4e8e-9931-4946-9e36-0e15acbfa6ab">image.png (view on web)</a></p>
<p dir="auto">It's possible to leave this page for another map page. In this case the javascript controller removes the home location marker. This <span class="issue-keyword tooltipped tooltipped-se" aria-label="This pull request closes issue #669.">fixes</span> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="25223286" data-permission-text="Title is private" data-url="https://github.com/openstreetmap/openstreetmap-website/issues/669" data-hovercard-type="issue" data-hovercard-url="/openstreetmap/openstreetmap-website/issues/669/hovercard" href="https://github.com/openstreetmap/openstreetmap-website/issues/669">#669</a> and <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="25227268" data-permission-text="Title is private" data-url="https://github.com/openstreetmap/openstreetmap-website/issues/670" data-hovercard-type="issue" data-hovercard-url="/openstreetmap/openstreetmap-website/issues/670/hovercard" href="https://github.com/openstreetmap/openstreetmap-website/issues/670">#670</a>.</p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/openstreetmap/openstreetmap-website/pull/4926'>https://github.com/openstreetmap/openstreetmap-website/pull/4926</a></p>

<h4>Commit Summary</h4>
<ul>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/4926/commits/baed3f21685bae44081eafaa544c3ce4c474f365" class="commit-link">baed3f2</a>  Add empty account home page</li>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/4926/commits/b267aace2cf417ab24d95512badd3aa3919717e4" class="commit-link">b267aac</a>  Show/hide marker in account home js controller</li>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/4926/commits/d0f82920f3b104d3a0fdb0b6a312ea00645ff4d8" class="commit-link">d0f8292</a>  Add "Go to Home Location" to every page, link it to account home page</li>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/4926/commits/fc0ef787e43488c8e37a3805b9e275134ae57d5d" class="commit-link">fc0ef78</a>  Show alert on account home page if home location is not set</li>
</ul>

<h4 style="display: inline-block">File Changes </h4> <p style="display: inline-block">(<a href="https://github.com/openstreetmap/openstreetmap-website/pull/4926/files">10 files</a>)</p>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/4926/files#diff-debf59904131dc89a88ab44cbb1d6deaaa5a7d70c0507f674080df62f7c8e41f">app/abilities/ability.rb</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/4926/files#diff-cdc070ced1c4000efd1e28357fd26b2fd617d7fccfeae0324222231db75dd6ee">app/assets/javascripts/index.js</a>
    (14)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/4926/files#diff-25ac812e678be24de55edea1d68f9948fc58bf4cee7ae83f6de1fd077a6d2549">app/assets/javascripts/index/home.js</a>
    (38)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/4926/files#diff-347f20911689f94bf1b699d7916e95f18571ec1251c9a43a4319d5106299916c">app/controllers/account/homes_controller.rb</a>
    (13)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/4926/files#diff-e6304e96e4e64402d2ac0c80bad8c1cd564d4f1708f8263fd84aef85087a0f8a">app/views/account/homes/show.html.erb</a>
    (1)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/4926/files#diff-6d2ef58207c92d1533287af551a075122ba98240a861819047a2ae77b7674f0b">app/views/layouts/_header.html.erb</a>
    (4)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/4926/files#diff-eaeaf6b733bc454c8c41be224e85cdca90bc6e0e5bc1f02f9f86315cfc6fafab">app/views/layouts/map.html.erb</a>
    (12)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/4926/files#diff-44438ce218f5287c58d0017f965d888715635d94280669896f75841fbd7b4cd7">config/locales/en.yml</a>
    (3)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/4926/files#diff-959bc9abc46a55332bb64d5155a79323afa75a50ec1a2137ddd22d926f62c6c5">config/routes.rb</a>
    (1)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/4926/files#diff-a84d1cca2d623b0723501ae5a2b0a79069a78770adea9d583abdd27387937b8f">test/system/account_home_test.rb</a>
    (57)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/4926.patch'>https://github.com/openstreetmap/openstreetmap-website/pull/4926.patch</a></li>
  <li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/4926.diff'>https://github.com/openstreetmap/openstreetmap-website/pull/4926.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/pull/4926">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLLQYUGX6AKOSZGOAYLZJN6FPAVCNFSM6AAAAABJ7A2WHGVHI2DSMVQWIX3LMV43ASLTON2WKOZSGM3TMNZSHA3DEMI">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLIJZ5RF56Z25XXQMUDZJN6FPA5CNFSM6AAAAABJ7A2WHGWGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHI3KQAFU.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><openstreetmap/openstreetmap-website/pull/4926</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/pull/4926",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/4926",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>