Browse Source

Show nodes on right sidebar on app load (#892)

* fix: show nodes on right sidebar on app load

* chore: update protobuf version to latest (#890)

* chore(deps-dev): bump happy-dom from 19.0.2 to 20.0.0 (#891)

Bumps [happy-dom](https://github.com/capricorn86/happy-dom) from 19.0.2 to 20.0.0.
- [Release notes](https://github.com/capricorn86/happy-dom/releases)
- [Commits](https://github.com/capricorn86/happy-dom/compare/v19.0.2...v20.0.0)

---
updated-dependencies:
- dependency-name: happy-dom
  dependency-version: 20.0.0
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Update packages/web/src/core/stores/nodeDBStore/index.ts

Co-authored-by: Copilot <[email protected]>

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Copilot <[email protected]>
stable
Dan Ditomaso 9 months ago
committed by GitHub
parent
commit
8f62fb7877
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 15
      packages/web/src/pages/Messages.tsx

15
packages/web/src/pages/Messages.tsx

@ -247,8 +247,7 @@ export const MessagesPage = () => {
], ],
); );
const rightSidebar = useMemo( const rightSidebar = (
() => (
<SidebarSection <SidebarSection
label="" label=""
className="px-0 flex flex-col h-full overflow-y-auto" className="px-0 flex flex-col h-full overflow-y-auto"
@ -267,6 +266,7 @@ export const MessagesPage = () => {
className={cn( className={cn(
"flex flex-col h-full flex-1 overflow-y-auto gap-2.5 pt-1 ", "flex flex-col h-full flex-1 overflow-y-auto gap-2.5 pt-1 ",
)} )}
style={{ contentVisibility: "auto", containIntrinsicSize: "100px" }}
> >
{filteredNodes()?.map((node) => ( {filteredNodes()?.map((node) => (
<SidebarButton <SidebarButton
@ -293,17 +293,6 @@ export const MessagesPage = () => {
))} ))}
</div> </div>
</SidebarSection> </SidebarSection>
),
[
filteredNodes,
searchTerm,
numericChatId,
chatType,
navigateToChat,
resetUnread,
hasNodeError,
t,
],
); );
return ( return (

Loading…
Cancel
Save