amypellegrini / amypellegrini/wordlinks

feat: add 'Clear Selection' button

Open
#6 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
0
Forks
1
PR merge metrics
No merged PRs in 30d

Description

## Problem
Users can only clear their selection by clicking each selected word individually.

## Impact
Frustrating UX when users want to start over with their selection.

## Solution
1. Add `clearSelection()` method to store
2. Add "Clear" button in the UI (visible when words are selected)

```typescript
// In store
function clearSelection() {
selectedWords.value.clear()
status.value = 'selecting'
}
```

```html

Clear

```

## Priority
Medium - Quick win (~15 minutes)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.