Fix achievement icons in launcher, allow opening OAuth URLs, live map docs
- Shared achievement icon catalogue; launcher resolves icon/background/border ids - Tauri opener capability now allows http(s) URLs (fixes Discord sign-in) - Rewrite live map docs, admin guide progression section Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DjMbLQujBHunCCu5GpsHaT
This commit is contained in:
17 files changed
+511
-151
No files matched your search
@@ -1,4 +1,5 @@
|
||||
<script lang="ts">
|
||||
import AchievementIcon from './AchievementIcon.svelte';
|
||||
import { onMount } from 'svelte';
|
||||
import {
|
||||
X, Trophy, Shield, Heart, Image as ImageIcon, Send, Edit3, Check,
|
||||
@@ -338,9 +339,7 @@
|
||||
<div class="ach-grid">
|
||||
{#each profile.achievements as ach (ach.id)}
|
||||
<div class="ach-item glass" class:frame-challenge={ach.frame_type === 'challenge'}>
|
||||
<div class="ach-icon-box" style:background={ach.icon_bg || 'rgba(0,0,0,0.5)'}>
|
||||
<span>{ach.icon_item || '🏆'}</span>
|
||||
</div>
|
||||
<AchievementIcon {ach} size={2.2} />
|
||||
<div class="ach-meta">
|
||||
<span class="ach-name">{ach.title}</span>
|
||||
<p class="ach-sub tiny muted">{ach.description}</p>
|
||||
@@ -760,15 +759,6 @@
|
||||
border-radius: var(--radius-sm);
|
||||
border: 1px solid var(--line);
|
||||
}
|
||||
.ach-icon-box {
|
||||
width: 2.2rem;
|
||||
height: 2.2rem;
|
||||
border-radius: 4px;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
font-size: 1.1rem;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.ach-meta {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
|
||||
Reference in new issue
Block a user