Modeling view appearance final tweaks (#6425)
* Remove bug button from LowerRightControls There is a "report a bug" button in the help menus, both native and lower-right corner. This is overkill, and users are not using coredump well. * Remove coredump from refresh UI button * Add a "Refresh app" command to palette * Update snapshots * Rework "Refresh and report bug" menu item to "Report a bug" * Add refresh button to sidebar * Convert upper-right refresh button to Share * Tweak styles of command button * Make anonymous user icon same size as known user image * Remove ModelStateIndicator * Use hotkeyDisplay for the sidebar too * Update snapshots * Remove tooltip from command bar open button * tsc, lint, and fmt
This commit is contained in:
@ -1,7 +1,6 @@
|
||||
import { Toolbar } from '@src/Toolbar'
|
||||
import { CommandBarOpenButton } from '@src/components/CommandBarOpenButton'
|
||||
import ProjectSidebarMenu from '@src/components/ProjectSidebarMenu'
|
||||
import { RefreshButton } from '@src/components/RefreshButton'
|
||||
import UserSidebarMenu from '@src/components/UserSidebarMenu'
|
||||
import { isDesktop } from '@src/lib/isDesktop'
|
||||
import { type IndexLoaderData } from '@src/lib/types'
|
||||
@ -49,14 +48,9 @@ export const AppHeader = ({
|
||||
<div className="flex-grow flex justify-center max-w-lg md:max-w-xl lg:max-w-2xl xl:max-w-4xl 2xl:max-w-5xl">
|
||||
{showToolbar && <Toolbar />}
|
||||
</div>
|
||||
<div className="flex items-center gap-1 py-1 ml-auto">
|
||||
<div className="flex items-center gap-2 py-1 ml-auto">
|
||||
{/* If there are children, show them, otherwise show User menu */}
|
||||
{children || (
|
||||
<>
|
||||
<CommandBarOpenButton />
|
||||
<RefreshButton />
|
||||
</>
|
||||
)}
|
||||
{children || <CommandBarOpenButton />}
|
||||
<UserSidebarMenu user={user} />
|
||||
</div>
|
||||
</header>
|
||||
|
Reference in New Issue
Block a user