Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions browser/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ This changelog covers all five packages, as they are (for now) updated as a whol

## UNRELEASED

- The sidebar's App panel is gone. Its entries (your user page, Notifications,
Integrations, Sync, Feedback, About and Install App) now live in a dropdown
that opens from the user row at the bottom of the sidebar, with Settings as a
gear button beside it. A dot on the row shows unread notifications.

- Pasting an agent secret that opens a different agent than the signed-in
account no longer signs that account out on its own. The app now says which
account is signed in, shows both agents, and lets the user stay signed in or
Expand Down
8 changes: 4 additions & 4 deletions browser/data-browser/src/components/Dialog/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ import { CurrentBackgroundColor } from '../../globalCssVars';
import { timeoutEffect } from '@helpers/timeoutEffect';
import { useAndroidBack } from '../../helpers/androidBack';

const FeedbackMenuItem = lazy(() =>
import('../SideBar/FeedbackMenuItem').then(module => ({
default: module.FeedbackMenuItem,
const FeedbackButton = lazy(() =>
import('../SideBar/FeedbackButton').then(module => ({
default: module.FeedbackButton,
})),
);

Expand Down Expand Up @@ -280,7 +280,7 @@ const InnerDialog: React.FC<React.PropsWithChildren<InternalDialogProps>> = ({
{show && rootWelcomeChromeHidden && !hideOnboardingFeedback && (
<DialogFeedback>
<Suspense fallback={null}>
<FeedbackMenuItem floating />
<FeedbackButton />
</Suspense>
</DialogFeedback>
)}
Expand Down
8 changes: 4 additions & 4 deletions browser/data-browser/src/components/ErrorLook.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ import { FaTriangleExclamation } from 'react-icons/fa6';
import { lazy, Suspense, type JSX } from 'react';
import { getMessageForErrorType } from '@tomic/react';

const FeedbackMenuItem = lazy(() =>
import('./SideBar/FeedbackMenuItem').then(module => ({
default: module.FeedbackMenuItem,
const FeedbackButton = lazy(() =>
import('./SideBar/FeedbackButton').then(module => ({
default: module.FeedbackButton,
})),
);

Expand Down Expand Up @@ -60,7 +60,7 @@ export function ErrorBlock({
</Pre>
{showReport && (
<Suspense fallback={null}>
<FeedbackMenuItem floating reportError={error} />
<FeedbackButton reportError={error} />
</Suspense>
)}
</ErrorLookBig>
Expand Down
4 changes: 2 additions & 2 deletions browser/data-browser/src/components/OnboardingFeedback.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import { styled } from 'styled-components';
import { FeedbackMenuItem } from './SideBar/FeedbackMenuItem';
import { FeedbackButton } from './SideBar/FeedbackButton';

/** Shared corner placement for onboarding pages and their dialogs. */
export function OnboardingFeedback() {
return (
<Corner>
<FeedbackMenuItem floating />
<FeedbackButton />
</Corner>
);
}
Expand Down
Loading