Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

web: add custom title bar to desktop app #291

Merged
merged 13 commits into from
Nov 21, 2024
Merged

Conversation

liuliu-dev
Copy link
Contributor

@liuliu-dev liuliu-dev commented Nov 4, 2024

for desktop app:

  • use the website header for the app title bar
  • removed docker hub link on app, move documentation and github link to help menu.

Screenshot 2024-11-20 at 2 05 49 PM

Copy link
Collaborator

@tbantle22 tbantle22 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few suggestions to not repeat code, otherwise lgtm

web/renderer/components/Navbar/index.tsx Outdated Show resolved Hide resolved
web/renderer/components/Navbar/index.tsx Outdated Show resolved Hide resolved
Copy link
Collaborator

@tbantle22 tbantle22 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Concerned about the windows desktop app but otherwise lgtm

web/main/background.ts Show resolved Hide resolved
web/renderer/components/Navbar/DesktopAppNavbar.tsx Outdated Show resolved Hide resolved
Copy link
Collaborator

@tbantle22 tbantle22 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@@ -4,9 +4,16 @@ import { ExternalLink, Navbar } from "@dolthub/react-components";
import { dockerHubRepo, workbenchGithubRepo } from "@lib/constants";
import { FaDocker } from "@react-icons/all-files/fa/FaDocker";
import { FaGithub } from "@react-icons/all-files/fa/FaGithub";
import DesktopAppNavbar from "./DesktopAppNavbar";

const macNavBar =
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could add a // TODO: Support desktop app nav bar on windows here

@liuliu-dev liuliu-dev merged commit 46f5982 into main Nov 21, 2024
1 check passed
@liuliu-dev liuliu-dev deleted the liuliu/add-custom-title-bar branch November 21, 2024 20:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants