Add sources info to new import page

This commit is contained in:
Eugene Burmakin
2025-08-22 21:01:16 +02:00
parent 6e36a73b30
commit b5758db1c1
3 changed files with 18 additions and 2 deletions

View File

@@ -1 +1 @@
0.30.9
0.30.10

View File

@@ -4,7 +4,7 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).
# [UNRELEASED]
# [0.30.10] - 2025-08-22
## Added

View File

@@ -1,3 +1,19 @@
<!-- Supported Formats Info Card -->
<div class="card bg-base-200 w-full max-w-md mb-5 mt-5">
<div class="card-body p-4">
<h3 class="card-title text-sm">Supported Import Formats</h3>
<ul class="text-xs space-y-1">
<li><strong>✅ Google Maps:</strong> Records.json, Semantic History, Phone Takeout (.json)</li>
<li><strong>✅ GPX:</strong> Track files (.gpx)</li>
<li><strong>✅ GeoJSON:</strong> Feature collections (.json)</li>
<li><strong>✅ OwnTracks:</strong> Recorder files (.rec)</li>
</ul>
<div class="text-xs text-gray-500 mt-2">
File format is automatically detected during upload.
</div>
</div>
</div>
<%= form_with model: import, class: "contents", data: {
controller: "direct-upload",
direct_upload_url_value: rails_direct_uploads_url,