this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Upgrade react-hotkeys-hooks

Not using useKey yet, let's see if this works first

+30 -26
+10 -6
package-lock.json
··· 35 35 "p-throttle": "~7.0.0", 36 36 "preact": "10.26.5", 37 37 "punycode": "~2.3.1", 38 - "react-hotkeys-hook": "~4.6.1", 38 + "react-hotkeys-hook": "~5.0.1", 39 39 "react-intersection-observer": "~9.16.0", 40 40 "react-quick-pinch-zoom": "~5.1.0", 41 41 "react-router-dom": "6.6.2", ··· 8596 8596 } 8597 8597 }, 8598 8598 "node_modules/react-hotkeys-hook": { 8599 - "version": "4.6.1", 8600 - "resolved": "https://registry.npmjs.org/react-hotkeys-hook/-/react-hotkeys-hook-4.6.1.tgz", 8601 - "integrity": "sha512-XlZpbKUj9tkfgPgT9gA+1p7Ey6vFIZHttUjPqpTdyT5nqQ8mHL7elxvSbaC+dpSiHUSmr21Ya1mDxBZG3aje4Q==", 8599 + "version": "5.0.1", 8600 + "resolved": "https://registry.npmjs.org/react-hotkeys-hook/-/react-hotkeys-hook-5.0.1.tgz", 8601 + "integrity": "sha512-TysTwXrUSj6QclMZIEoxCfvy/6EsoZcrfE970aUVa9fO3c3vcms+IVjv3ljbhUPM/oY1iEoun7O2W8v8INl5hw==", 8602 + "license": "MIT", 8603 + "workspaces": [ 8604 + "packages/*" 8605 + ], 8602 8606 "peerDependencies": { 8603 - "react": ">=16.8.1", 8604 - "react-dom": ">=16.8.1" 8607 + "react": ">=16.8.0", 8608 + "react-dom": ">=16.8.0" 8605 8609 } 8606 8610 }, 8607 8611 "node_modules/react-intersection-observer": {
+1 -1
package.json
··· 43 43 "p-throttle": "~7.0.0", 44 44 "preact": "10.26.5", 45 45 "punycode": "~2.3.1", 46 - "react-hotkeys-hook": "~4.6.1", 46 + "react-hotkeys-hook": "~5.0.1", 47 47 "react-intersection-observer": "~9.16.0", 48 48 "react-quick-pinch-zoom": "~5.1.0", 49 49 "react-router-dom": "6.6.2",
+1 -1
src/components/modal.jsx
··· 123 123 <div 124 124 ref={(node) => { 125 125 modalRef.current = node; 126 - escRef(node?.querySelector?.('[tabindex="-1"]') || node); 126 + escRef.current = node?.querySelector?.('[tabindex="-1"]') || node; 127 127 }} 128 128 className={className} 129 129 onClick={(e) => {
+5 -5
src/components/status.jsx
··· 1677 1677 node?.closest?.( 1678 1678 '.timeline-item, .timeline-item-alt, .status-link, .status-focus', 1679 1679 ) || node; 1680 - rRef(nodeRef); 1681 - fRef(nodeRef); 1682 - dRef(nodeRef); 1683 - bRef(nodeRef); 1684 - xRef(nodeRef); 1680 + rRef.current = nodeRef; 1681 + fRef.current = nodeRef; 1682 + dRef.current = nodeRef; 1683 + bRef.current = nodeRef; 1684 + xRef.current = nodeRef; 1685 1685 }} 1686 1686 tabindex="-1" 1687 1687 class={`status ${
+4 -4
src/components/timeline.jsx
··· 392 392 }`} 393 393 ref={(node) => { 394 394 scrollableRef.current = node; 395 - jRef(node); 396 - kRef(node); 397 - oRef(node); 398 - dotRef(node); 395 + jRef.current = node; 396 + kRef.current = node; 397 + oRef.current = node; 398 + dotRef.current = node; 399 399 }} 400 400 tabIndex="-1" 401 401 onClick={(e) => {
+4 -4
src/pages/catchup.jsx
··· 843 843 <div 844 844 ref={(node) => { 845 845 scrollableRef.current = node; 846 - jRef(node); 847 - kRef(node); 848 - hlRef(node); 849 - escRef(node); 846 + jRef.current = node; 847 + kRef.current = node; 848 + hlRef.current = node; 849 + escRef.current = node; 850 850 }} 851 851 id="catchup-page" 852 852 class="deck-container"
+3 -3
src/pages/notifications.jsx
··· 533 533 class="deck-container" 534 534 ref={(node) => { 535 535 scrollableRef.current = node; 536 - jRef(node); 537 - kRef(node); 538 - oRef(node); 536 + jRef.current = node; 537 + kRef.current = node; 538 + oRef.current = node; 539 539 }} 540 540 tabIndex="-1" 541 541 >
+2 -2
src/pages/search.jsx
··· 277 277 tabIndex="-1" 278 278 ref={(node) => { 279 279 scrollableRef.current = node; 280 - jRef(node); 281 - kRef(node); 280 + jRef.current = node; 281 + kRef.current = node; 282 282 }} 283 283 > 284 284 <div class="timeline-deck deck">