Desktop: tray mini card on left click (store status at a glance next to the tray icon; Refresh runs the main window's Refresh all)
This commit is contained in:
parent
c03938f9dc
commit
60a72e6947
23 changed files with 1052 additions and 11 deletions
25
apps/desktop/src/card/fixture.ts
Normal file
25
apps/desktop/src/card/fixture.ts
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
// Dev only: a card snapshot for the plain browser (no Tauri host), so the card can be looked at in `vite` alone.
|
||||
import type { CardSnapshot } from './model';
|
||||
|
||||
const ago = (min: number) => new Date(Date.now() - min * 60_000).toISOString();
|
||||
|
||||
export const CARD_FIXTURE: CardSnapshot = {
|
||||
at: ago(4), busy: false, muted: false, apps: 6,
|
||||
rejections: [{ app: 'a1', name: 'Prism Puddle', hue: 280, store: 'ios', version: '2.4.0', reason: 'Guideline 2.1 - Performance - App Completeness: the app crashed on launch on iPad Air (5th generation).' }],
|
||||
releases: [
|
||||
{ app: 'a2', name: 'Tidy Tiles', hue: 160, store: 'ios', version: '1.8.2', phase: 'review', fraction: null },
|
||||
{ app: 'a3', name: 'Moss Runner', hue: 30, store: 'ios', version: '3.0.0', phase: 'approved', fraction: null },
|
||||
{ app: 'a2', name: 'Tidy Tiles', hue: 160, store: 'android', version: '1.8.1', phase: 'rollout', fraction: 0.2 },
|
||||
],
|
||||
reviews: { recent: 14, low: [
|
||||
{ app: 'a2', name: 'Tidy Tiles', store: 'play', rating: 1, text: 'Lost my progress · After the update every level is locked again.', date: ago(90) },
|
||||
{ app: 'a3', name: 'Moss Runner', store: 'apple', rating: 2, text: 'Too many ads between runs', date: ago(600) },
|
||||
] },
|
||||
health: [{ app: 'a4', name: 'Sample Blocks', hue: 210, kinds: ['crash'] }],
|
||||
links: [
|
||||
{ key: 'a1', name: 'Prism Puddle', hue: 280, asc: 'https://appstoreconnect.apple.com/apps', play: null },
|
||||
{ key: 'a2', name: 'Tidy Tiles', hue: 160, asc: 'https://appstoreconnect.apple.com/apps', play: 'https://play.google.com/console' },
|
||||
{ key: 'a3', name: 'Moss Runner', hue: 30, asc: 'https://appstoreconnect.apple.com/apps', play: null },
|
||||
{ key: 'a4', name: 'Sample Blocks', hue: 210, asc: null, play: 'https://play.google.com/console' },
|
||||
],
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue