-
-
Notifications
You must be signed in to change notification settings - Fork 398
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
Fix db dialog issues #2290
Conversation
shanberg
commented
Aug 19, 2022
- Fixes focus-fighting warning in db popover
- Removes buttons to remove in-memory db for now
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@@ -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] |
There was a problem hiding this comment.
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) |
There was a problem hiding this comment.
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] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: indentation