monkeytype/frontend
Christian Fehmer 8a2a3e4d23
impr: add copy details to notification history (@fehmer) (#7262)
Add details to notifications.

If details are available show share icon on hover in the notification
history. On click the full content is copied to the clipboard. With this
is easier for an user to share the full details of an error on github or
discord.

<img width="377" height="107" alt="image"
src="https://github.com/user-attachments/assets/f22638a1-bafd-4708-8d8a-0ec48db10f1d"
/>

<img width="377" height="107" alt="image"
src="https://github.com/user-attachments/assets/d4a66860-f99f-4ac1-992c-81e31ab13eba"
/>



```json
{
    "title": "Error",
    "message": "Failed to save config",
    "details": {
        "status": 422,
        "validationErrors": [
            "Unrecognized key(s) in object: 'invalid'"
        ]
    }
}
```

---------

Co-authored-by: Jack <jack@monkeytype.com>
2025-12-18 19:27:24 +01:00
..
__tests__ chore: move main linting to oxlint (@miodec) (#7144) 2025-12-15 22:16:16 +01:00
docker chore: use oxfmt for formatting (@miodec) (#7187) 2025-12-15 16:53:50 +01:00
scripts chore: move main linting to oxlint (@miodec) (#7144) 2025-12-15 22:16:16 +01:00
src impr: add copy details to notification history (@fehmer) (#7262) 2025-12-18 19:27:24 +01:00
static impr(language): add bulgarian 1k (@100daysummer) (#7232) 2025-12-17 19:32:49 +01:00
vite-plugins build: combine vite config into a single file (@fehmer) (#7190) 2025-12-05 19:45:12 +01:00
.firebaserc_example
.oxlintrc-plugin.json chore: move main linting to oxlint (@miodec) (#7144) 2025-12-15 22:16:16 +01:00
.oxlintrc.json chore: move main linting to oxlint (@miodec) (#7144) 2025-12-15 22:16:16 +01:00
eslint.config.js chore: move main linting to oxlint (@miodec) (#7144) 2025-12-15 22:16:16 +01:00
firebase.json
package.json chore: update vitest/testcontainer versions, try to fix container teardown on macos (@fehmer) (#7248) 2025-12-16 18:11:55 +01:00
tsconfig.json build: combine vite config into a single file (@fehmer) (#7190) 2025-12-05 19:45:12 +01:00
vite.config.ts chore: move main linting to oxlint (@miodec) (#7144) 2025-12-15 22:16:16 +01:00
vitest.config.ts build: combine vite config into a single file (@fehmer) (#7190) 2025-12-05 19:45:12 +01:00