Skip to content

Commit 7b42920

Browse files
Kjubikstronkclaude
andcommitted
Make every sticker stand for a kind of date
Skates, rollerblades, bowling, the fair and the leaf each fit one date ever. The set is now one sticker per kind of date — dinner, coffee, brunch, drinks, cinema, show, live music, museum, park, bike ride, picnic, beach, activity, market, night in, trip — and each has a name for screen readers instead of reading the emoji out. Dates saved with a retired sticker keep it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 8488e0f commit 7b42920

2 files changed

Lines changed: 18 additions & 9 deletions

File tree

‎src/components/EditSheet.tsx‎

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,19 @@ import { useEffect, useRef, useState } from 'react'
22
import PlacePicker from './PlacePicker'
33
import type { DateDraft, DateIdea, Place } from '../types'
44

5-
/** Enough to label a date at a glance without opening an emoji keyboard. */
6-
const EMOJI = [
7-
'🍜', '🍕', '☕', '🍦', '🍷', '🎬',
8-
'🎡', '🎨', '🎮', '🎳', '🛼', '⛸️',
9-
'🌿', '🏖️', '🌇', '🧺',
5+
/**
6+
* One sticker per KIND of date, so every slot earns its place: two rows of
7+
* eight, eating and culture on top, out-and-about and the rest below.
8+
*
9+
* Specific activities (skates, rollerblades, bowling) were cut — each fit one
10+
* date ever. 🎯 now stands for all of them. Dates saved with a retired sticker
11+
* keep it; it just isn't offered for new ones.
12+
*/
13+
const EMOJI: [emoji: string, name: string][] = [
14+
['🍜', 'dinner'], ['☕', 'coffee'], ['🥐', 'brunch'], ['🍷', 'drinks'],
15+
['🎬', 'cinema'], ['🎭', 'show'], ['🎵', 'live music'], ['🎨', 'museum'],
16+
['🌳', 'park or walk'], ['🚲', 'bike ride'], ['🧺', 'picnic'], ['🏖️', 'beach'],
17+
['🎯', 'activity'], ['🛍️', 'market'], ['🏠', 'night in'], ['🧳', 'trip'],
1018
]
1119

1220
type Props = {
@@ -147,12 +155,13 @@ export default function EditSheet({
147155
<fieldset className="space-y-1.5">
148156
<legend className="legend mb-1.5">sticker</legend>
149157
<div className="grid grid-cols-8 gap-1">
150-
{EMOJI.map((e) => (
158+
{EMOJI.map(([e, name]) => (
151159
<button
152160
key={e}
153161
type="button"
154162
onClick={() => setEmoji(e)}
155-
aria-label={e}
163+
aria-label={name}
164+
title={name}
156165
aria-pressed={emoji === e}
157166
className={[
158167
'pixel-btn flex items-center justify-center p-0 text-lg',

‎src/lib/preview.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ export const SAMPLE_DATES: DateIdea[] = [
116116
id: 's4',
117117
title: 'Botanical garden',
118118
note: '',
119-
emoji: '🌿',
119+
emoji: '🌳',
120120
place: {
121121
name: 'Hortus Botanicus',
122122
address: 'Plantage Middenlaan 2a, Amsterdam',
@@ -205,7 +205,7 @@ export const SAMPLE_DATES: DateIdea[] = [
205205
id: 's7',
206206
title: 'Ice skating',
207207
note: '',
208-
emoji: '⛸️',
208+
emoji: '🎯',
209209
place: {
210210
name: 'Jaap Eden IJsbaan',
211211
address: 'Radioweg 64, Amsterdam',

0 commit comments

Comments
 (0)