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

Fix db dialog issues #2290

Merged
merged 4 commits into from
Aug 19, 2022
Merged

Conversation

shanberg
Copy link
Collaborator

  • Fixes focus-fighting warning in db popover
  • Removes buttons to remove in-memory db for now

@shanberg shanberg marked this pull request as ready for review August 19, 2022 13:11
@vercel
Copy link

vercel bot commented Aug 19, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
athens ✅ Ready (Inspect) Visit Preview Aug 19, 2022 at 1:26PM (UTC)

@@ -1,11 +1,11 @@
(ns athens.electron.db-menu.core
(:require
["@chakra-ui/react" :refer [Box IconButton Spinner Text Tooltip Heading VStack ButtonGroup PopoverTrigger ButtonGroup Popover PopoverContent Portal Button]]
["react-focus-lock" :default FocusLock]
Copy link
Collaborator

Choose a reason for hiding this comment

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

Need to remove the dep, this was its last use.

@@ -14,14 +14,23 @@

(defn current-db-tools
([{:keys [db]} all-dbs merge-open?]
(prn db all-dbs)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Nit: debug code.

[athens.electron.db-menu.db-icon :refer [db-icon]]
[athens.electron.db-menu.db-list-item :refer [db-list-item]]
[athens.electron.db-modal :as db-modal]
[athens.electron.dialogs :as dialogs]
[athens.electron.utils :as electron.utils]
Copy link
Collaborator

Choose a reason for hiding this comment

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

Nit: indentation

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