Skip to content
Merged
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
2 changes: 1 addition & 1 deletion packages/browser-tests/cypress/commands.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const tableSchemas = {
const materializedViewSchemas = {
btc_trades_mv:
"CREATE MATERIALIZED VIEW IF NOT EXISTS btc_trades_mv WITH BASE btc_trades as (" +
"SELECT timestamp, avg(amount) FROM btc_trades SAMPLE BY 1m) PARTITION BY week;",
"SELECT timestamp, avg(amount) avg FROM btc_trades SAMPLE BY 1m) PARTITION BY week;",
};

before(() => {
Expand Down
2 changes: 1 addition & 1 deletion packages/browser-tests/questdb
Submodule questdb updated 154 files
44 changes: 11 additions & 33 deletions packages/web-console/src/scenes/Editor/Menu/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ import {
useKeyPress,
useScreenSize,
} from "../../../components"
import { Box } from "@questdb/react-components"
import { actions, selectors } from "../../../store"
import { color } from "../../../utils"
import QueryPicker from "../QueryPicker"
Expand Down Expand Up @@ -65,25 +64,20 @@ const Separator = styled.div`
flex: 1;
`

const QueryPickerButton = styled(Button)<{
$firstTimeVisitor: boolean
}>`
const QueryPickerButton = styled(Button)<{ $firstTimeVisitor: boolean }>`
position: relative;
margin: 0 1rem;
flex: 0 0 auto;

${({ $firstTimeVisitor }) =>
$firstTimeVisitor &&
`&:after {
border-radius: 50%;
content: "";
background: #dc4949;
width: 8px;
height: 8px;
position: absolute;
top: -3px;
right: -3px;
}`}
@keyframes pulse {
0% {
box-shadow: 0 0 0 0px ${color("cyan")};
}
75% {
box-shadow: 0 0 0 5px transparent;
}
}

animation: ${({ $firstTimeVisitor }) => $firstTimeVisitor ? "pulse 2s infinite" : "none"};
`

const MenuIcon = styled(_MenuIcon)`
Expand Down Expand Up @@ -116,22 +110,6 @@ const SideMenuMenuButton = styled(TransparentButton)`
}
`

const Key = styled(Box).attrs({ alignItems: "center" })`
padding: 0 4px;
background: #61647a;
border-radius: 2px;
font-size: 1.2rem;
height: 1.8rem;

&:not(:last-child) {
margin-right: 0.25rem;
}
`

const RunShortcut = styled(Box).attrs({ alignItems: "center", gap: "0" })`
margin-left: 1.5rem;
`

const MenuItems = styled.div`
display: grid;
grid-auto-flow: column;
Expand Down