Each thread that has pinned messages should display a banner across the top indicating the count.
Linear: https://linear.app/comm/issue/ENG-3448/display-the-number-of-pinned-messages-in-a-banner-across-chat
Depends on D7309
Differential D7310
[web] Display the number of pinned messages in a banner across chat rohan on Apr 4 2023, 7:35 PM. Authored by Tags None Referenced Files
Subscribers
Details Each thread that has pinned messages should display a banner across the top indicating the count. Linear: https://linear.app/comm/issue/ENG-3448/display-the-number-of-pinned-messages-in-a-banner-across-chat Depends on D7309 Check threads that have 1) 0 pinned messages, 2) 1 pinned messages, 3) >1 pinned messages
Diff Detail
Event TimelineComment Actions I still need to figure out what is causing tooltip-utils.test.js to fail in D7309, but after attempting to debug locally, I'd prefer to unblock review and continuing figuring it out locally
Comment Actions Still seeing ESLint issues. Might be good to make sure you're able to confirm locally that all ESLint issues are resolved before updating the diff again Comment Actions For me, the BuildKite log shows that eslint . --max-warnings=0 is Done in 50.79s, and when I run eslint . locally to check the entire project repo, it doesn't identify any failures. yarn workspace web test however is what I'm seeing as the cause to the failure, with a message of $ jest PASS database/sql-js.test.js PASS utils/device-id.test.js PASS utils/text-utils.test.js PASS olm/olm.test.js PASS media/aes-crypto-utils.test.js PASS database/utils/worker-crypto-utlis.test.js PASS database/queries/metadata-queries.test.js PASS database/utils/db-utils.test.js PASS utils/typeahead-utils.test.js PASS database/queries/storage-engine-queries.test.js PASS database/queries/draft-queries.test.js FAIL utils/tooltip-utils.test.js ● Test suite failed to run TypeError: Cannot read properties of undefined (reading 'LEFT') 23 | 24 | const availableTooltipPositionsForViewerMessage = [ > 25 | tooltipPositions.LEFT, | ^ 26 | tooltipPositions.LEFT_BOTTOM, 27 | tooltipPositions.LEFT_TOP, 28 | tooltipPositions.RIGHT, at Object.<anonymous> (chat/composed-message.react.js:25:20) at Object.<anonymous> (chat/multimedia-message.react.js:11:1) at Object.<anonymous> (chat/message.react.js:12:1) at Object.<anonymous> (components/pinned-message.react.js:12:1) at Object.<anonymous> (modals/chat/toggle-pin-modal.react.js:20:1) at Object.<anonymous> (utils/tooltip-utils.js:35:1) at Object.<anonymous> (utils/tooltip-utils.test.js:3:1) Test Suites: 1 failed, 11 passed, 12 total Tests: 55 passed, 55 total Snapshots: 0 total Time: 4.41 s Are you seeing an ESLint warning that I'm missing in the logs? |