Android: download .ics as primary action, subscription as secondary
Some checks are pending
NordaBiz Tests / Unit & Integration Tests (push) Waiting to run
NordaBiz Tests / E2E Tests (Playwright) (push) Blocked by required conditions
NordaBiz Tests / Smoke Tests (Production) (push) Blocked by required conditions
NordaBiz Tests / Send Failure Notification (push) Blocked by required conditions
Some checks are pending
NordaBiz Tests / Unit & Integration Tests (push) Waiting to run
NordaBiz Tests / E2E Tests (Playwright) (push) Blocked by required conditions
NordaBiz Tests / Smoke Tests (Production) (push) Blocked by required conditions
NordaBiz Tests / Send Failure Notification (push) Blocked by required conditions
Google Calendar Android app has no "add by URL" option. Primary: download .ics file → opens in Google Calendar (one-time import) Secondary: instructions + copy link for computer subscription (auto-sync) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
53fc7237f3
commit
338e02fb75
@ -579,17 +579,20 @@
|
||||
<span>Subskrybuj kalendarz</span>
|
||||
</a>
|
||||
<div id="subscribeAndroid" style="display:none;">
|
||||
<button onclick="androidSubscribe()" style="display:flex; align-items:center; gap:10px; padding:14px 16px; background:#1d4ed8; border:none; border-radius:var(--radius); color:white; font-size:15px; font-weight:600; cursor:pointer; width:100%; margin-bottom:10px;">
|
||||
<a href="https://nordabiznes.pl/kalendarz/ical" download="norda-biznes.ics" style="display:flex; align-items:center; gap:10px; padding:14px 16px; background:#1d4ed8; border:none; border-radius:var(--radius); color:white; font-size:15px; font-weight:600; cursor:pointer; width:100%; margin-bottom:10px; text-decoration:none;">
|
||||
<span style="font-size:22px;">📅</span>
|
||||
<span>Subskrybuj kalendarz</span>
|
||||
</button>
|
||||
<p id="androidStep2" style="display:none; font-size:13px; color:#166534; background:#dcfce7; padding:10px 14px; border-radius:var(--radius); line-height:1.6; margin-bottom:8px;">
|
||||
Link skopiowany! Teraz:<br>
|
||||
1. Otworzy się <strong>Google Calendar</strong><br>
|
||||
2. Kliknij <strong>+</strong> obok "Inne kalendarze" (lewy panel)<br>
|
||||
3. Wybierz <strong>"Z adresu URL"</strong><br>
|
||||
4. <strong>Wklej</strong> (link jest w schowku) i kliknij "Dodaj kalendarz"
|
||||
<span>Pobierz wydarzenia do kalendarza</span>
|
||||
</a>
|
||||
<p style="font-size:12px; color:#64748b; line-height:1.6; margin:0 0 12px 0;">
|
||||
Po pobraniu otwórz plik — wydarzenia zostaną dodane do Google Calendar.
|
||||
</p>
|
||||
<div style="background:#fffbeb; border:1px solid #fde68a; border-radius:var(--radius); padding:10px 14px; font-size:12px; color:#92400e; line-height:1.6;">
|
||||
<strong>Automatyczna synchronizacja:</strong> Aby nowe wydarzenia pojawiały się automatycznie, otwórz <strong>calendar.google.com</strong> na komputerze, kliknij + obok "Inne kalendarze" → "Z adresu URL" i wklej:<br>
|
||||
<div style="display:flex; gap:6px; margin-top:6px;">
|
||||
<input id="icalUrlAndroid" readonly value="https://nordabiznes.pl/kalendarz/ical" style="flex:1; padding:6px 8px; border:1px solid #fde68a; border-radius:var(--radius-sm); font-size:11px; background:white;">
|
||||
<button onclick="var i=document.getElementById('icalUrlAndroid');i.select();document.execCommand('copy');this.textContent='OK!';var b=this;setTimeout(function(){b.textContent='Kopiuj'},2000)" style="padding:6px 12px; background:#92400e; color:white; border:none; border-radius:var(--radius-sm); font-size:11px; cursor:pointer; font-weight:600;">Kopiuj</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<script>
|
||||
var isIOS = /iPad|iPhone|iPod|Macintosh/.test(navigator.userAgent);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user