fix(web): sidebar cards can be pinned from the card, not only unpinned #40958
Mergedchomamateusz(GitHub profile, opens in a new tab)merged 8 commits into
main fromrefs/pull/40958/headmerged by juliusmarminge View on GitHubPushedd47edc5
- @@ -1282,3 +1289,5 @@12821289 />12831290 )12841291 ) : null;1292+ const pinButton =1293+ !props.isPinned && props.pinningSupported && canOperateThread && !sortable?.isDragging ? (@@ -1282,3 +1289,12 @@12821289 />12831290 )12841291 ) : null;1292+ const pinButton =1293+ !props.isPinned && props.pinningSupported && canOperateThread && !sortable?.isDragging ? (1294+ <SharedTooltipTrigger1295+ render={1296+ <button1297+ type="button"1298+ aria-label={gt("Pin thread")}1299+ onClick={handlePinClick}1300+ className="hidden cursor-pointer items-center rounded-sm text-muted-foreground/65 outline-none transition-colors hover:text-foreground focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-ring group-any-hover/sidebar-row:inline-flex group-focus-visible/sidebar-row:inline-flex group-has-[:focus-visible]/sidebar-row:inline-flex"
Sign in to join this conversation.






coderabbitai[bot](GitHub profile, opens in a new tab) reviewed
Actionable comments posted: 2
80be7c6d-468e-49e7-8a41-dde7716445faReviewing files that changed from the base of the PR and between 56e7f7d1e27867d262591486098d126573ec91a7 and d47edc58dfedaddab92064a61cf57863d05870e3.
apps/web/src/components/Sidebar.tsxapps/web/src/components/sidebar/SidebarThreadRow.tsxapps/web/src/i18n/translations/de.jsonapps/web/src/i18n/translations/en.jsonapps/web/src/i18n/translations/es.jsonapps/web/src/i18n/translations/fr.jsonapps/web/src/i18n/translations/ja.jsonapps/web/src/i18n/translations/ko.jsonapps/web/src/i18n/translations/pt-BR.jsonapps/web/src/i18n/translations/ru.jsonapps/web/src/i18n/translations/sv.jsonapps/web/src/i18n/translations/zh.jsondocs/user/thread-sidebar.mdIncluded review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.