Commit Graph
27 Commits
Author SHA1 Message Date
Tommaso CasaburiandGitHub e082c7b428 fix(react): address Doctor findings (#1143)
Accessibility/semantics pass aligned with React Doctor: role-based spans/divs become real buttons, role=status becomes <output>, modals use native <dialog>, author/peer flags render as <img>, and embed/challenge iframes are sandboxed. Includes review follow-ups: correct button chrome/centering/themed dialog colors and focus rings, the missing aria-label i18n keys (all languages), the Yandex image-search URL, clearer .bso setup steps, a keyboard-accessible image-search dropdown, and removal of the post-edit ('comment edited') display (mod edits unchanged).
2026-05-29 17:09:07 +07:00
Tommaso CasaburiandGitHub 556973a445 Improve React Doctor score and badge (#1127)
* fix(react doctor): improve quality score and badge

* fix(react doctor): address review feedback

* fix(review): address final bot feedback
2026-05-10 18:25:13 +07:00
Tommaso Casaburi c046c542b6 chore(deps): use published bitsocial react hooks 2026-04-20 22:11:36 +07:00
plebeius 417482060d refactor: org name changed from bitsocialhq to bitsocialnet 2026-03-09 17:01:35 +08:00
plebeius 4508f589dd chore(deps): migrate from pkc-react-hooks to bitsocial-react-hooks 2026-03-05 17:14:23 +08:00
plebeius df1bc2071d perf(settings): fix navigate-in-setState, memo sections, defer crypto resolution 2026-03-04 15:41:21 +08:00
plebeius e556a9e662 chore(deps): replace plebbit/plebbit-react-hooks with bitsocialhq/pkc-react-hooks
bitsocialhq/pkc-react-hooks is a fork of plebbit-react-hooks that we're maintaining temporarily as an attempt to modernize the original repository using AI tools, possibly merging changes back into plebbit-react-hooks, which should also be rebranded to pkc-react-hooks eventually, under the org pkcprotocol.
2026-02-28 15:02:56 +08:00
plebeius e51f5b968c refactor(react-doctor): raise score from 79 to 90 2026-02-24 15:15:44 +08:00
plebeius 15d608764b fix: chain providers, i18n, dedup isWebRuntime, and a11y label
Conditionally build `chainProviders` so empty `urls` arrays are never passed downstream. Replace hardcoded "Chain ticker: " with `capitalize(t('chain_ticker'))` and add the translation key to all locales. Remove the duplicate `isWebRuntime` in `media-hosting-settings.tsx` in favor of the shared implementation in `show-upload-controls`. Add `aria-label` to the directory codes input in `TopbarEditModal`.
2026-02-20 16:23:09 +08:00
plebeius ee5b7ffd23 fix spacing 2026-02-19 18:38:12 +08:00
plebeius 981940731b refactor: remove NFT avatar functionality
Removes avatar-settings component, avatar-visibility store, and all
avatar rendering from posts. Strips avatar from account JSON, renames
NFT gateway label to media IPFS gateway, removes Polygon RPC and
hide-avatars toggle. Deletes 6 avatar-related translation keys.
2026-02-19 17:40:10 +08:00
plebeius e0ed510fc6 perf(react-doctor): fix compiler-blocking patterns, raise score 72→81
Replace sync setState-in-effect with keyed remount and render-derived patterns in app, error-display, topbar-edit-modal, catalog-filters; use useCurrentTime() instead of Date.now() in hot paths; fix conditional hooks, passive scroll listeners, lodash path imports.
2026-02-18 15:31:01 +08:00
plebeius 18cea185e7 refactor: replace default lodash imports with named imports
Replaced `import _ from 'lodash'` with specific named imports (`capitalize`, `lowerCase`, `debounce`, `startCase`) across 18 files. This reduces bundle size and improves tree-shaking efficiency.
2026-02-11 19:01:09 +08:00
plebeius 36a01f7012 refactor: remove unused Avalanche RPC settings 2025-12-15 13:45:55 +01:00
plebeius 141bc984e6 fix eslint 2025-12-12 12:39:30 +01:00
plebeius 078de21839 refactor(settings-modal): align avatar settings UI with crypto wallets
Refactor avatar settings to match crypto wallets UI structure and styling. Use flexbox layout for consistent spacing, align input widths, use ErrorDisplay component for errors, and add delete avatar functionality with translations.
2025-12-09 18:22:39 +01:00
plebeius dbf67f55b6 feat(crypto-wallets-setting): add CSS-based step numbering and reorganize delete button 2025-12-09 17:32:14 +01:00
plebeius 112abe1795 fix translation component 2025-12-09 17:12:01 +01:00
plebeius e2149ca02c feat(crypto wallets settings): add timestamp field 2025-12-09 17:05:01 +01:00
Tom (plebeius.eth) 44a09f9e5b improve settings UI, translations, offline status 2024-10-15 12:52:57 +02:00
plebeius.eth 15601f47e5 refactor(post): abstract post info on desktop 2024-05-16 18:15:48 +02:00
plebeius.eth e6e87fa07f remove unnecessary double confirm 2024-05-16 16:44:36 +02:00
plebeius.eth 40a95fd6d8 fix(crypto wallets): update translation 2024-05-16 16:43:49 +02:00
plebeius.eth a56feb7072 Update crypto-wallets-setting.tsx 2024-05-16 10:20:39 +02:00
plebeius.eth 65b3b997fb feat(crypto wallets setting): improve UI 2024-05-16 10:19:17 +02:00
plebeius.eth ae02eba4df feat(settings): add crypto wallets 2024-05-15 22:12:32 +02:00
plebeius.eth 7d9fd2cce7 update settings 2024-05-15 21:20:14 +02:00