Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Sort imports (#6009) | dan | 2024-10-29 | 1 | -2/+2 |
| | | | | | * Mark import sort/order/style rules as error * npm run lint -- --fix | ||||
* | Refactor notifications to use react-query (#1878) | Paul Frazee | 2023-11-12 | 1 | -8/+4 |
| | | | | | | | | | | | | | | | | | | | | | | | * Move broadcast channel to lib * Refactor view/com/post/Post and remove temporary 2 components * Add useModerationOpts hook * Refactor notifications to use react-query * Fix: only trigger updates in useModerationOpts when the values have changed * Implement unread notification tracking * Add moderation filtering to notifications * Handle native/push notifications * Remove dead code --------- Co-authored-by: Eric Bailey <git@esb.lol> | ||||
* | style: remove `useUnreadCountLabel` hack from `50c1841` (#655) (#686) | LW | 2023-05-17 | 1 | -2/+6 |
| | | | | I just realized how `mobx` works (never used before lol) and now I feel dumb. | ||||
* | feat: Update HTML `title` on web #626 #599 (#655) | LW | 2023-05-16 | 1 | -0/+16 |
For any `Screen` that shows on desktop, `title` is "(1) ... - Bluesky" where "(1)" is the unread notification count. The titles are unlocalized and the string "Bluesky" is hardcoded, following the pattern of the rest of the app. Display names and post content are loaded into the title as effects. Tested: * all screens * screen changes / component mounts/unmounts * long posts with links and images * display name set/unset * spamming myself with notifications, clearing notifications * /profile/did:... links * lint (only my changed files), jest, e2e. New utilities: `useUnreadCountLabel`, `bskyTitle`, `combinedDisplayName`, `useSetTitle`. resolves: #626 #599 |