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

Feature: dashboards without time series #1459

Merged
merged 57 commits into from
Jan 17, 2023
Merged
Show file tree
Hide file tree
Changes from 53 commits
Commits
Show all changes
57 commits
Select commit Hold shift + click to select a range
7f1700b
queries-caching-impl
Dec 6, 2022
c133a22
queries-caching-impl
Dec 6, 2022
3126c35
caching for time grain query
Dec 6, 2022
eda43c1
caching: column numeric histogram
Dec 6, 2022
c680489
caching: column numeric histogram
Dec 6, 2022
235356f
Merge remote-tracking branch 'origin/main' into query-cache-interface…
Dec 6, 2022
7d095d3
caching: table cardinality fix
Dec 7, 2022
4d6a455
caching: rug histogram
Dec 7, 2022
3895bf1
caching: time range
Dec 7, 2022
c9b94ac
caching: time range
Dec 7, 2022
5d93116
caching: column cardinality
Dec 8, 2022
b4d6095
caching: rollup interval
Dec 8, 2022
0670dec
caching: column with all nulls
Dec 8, 2022
d34946b
caching: code style
Dec 9, 2022
7822a6a
caching: rug
Dec 9, 2022
5f45640
caching: code style
Dec 13, 2022
8923aab
caching: ts fix
Dec 13, 2022
0d8f659
Merge remote-tracking branch 'origin/main' into query-cache-interface…
Dec 13, 2022
5c94aa9
caching: ts fix
Dec 13, 2022
fd3d586
caching: ts fix
Dec 13, 2022
3750567
caching: code style
Dec 14, 2022
c69f7fd
Merge remote-tracking branch 'origin/main' into query-cache-interface…
Dec 14, 2022
1f0f02f
caching: timeseries
Dec 14, 2022
954d9ad
Merge remote-tracking branch 'origin/main' into query-cache-interface…
Dec 14, 2022
7c33d50
caching: table columns
Dec 15, 2022
3387238
caching: metricsview totals
Dec 15, 2022
b8c3bad
caching: metricsview toplist
Dec 15, 2022
0e89a64
caching: metricsview toplist
Dec 15, 2022
40c7c27
caching: metricsview timeseries
Dec 15, 2022
7849bf7
Making metrics dashboard less strict
AdityaHegde Dec 16, 2022
cfcfc07
Merge branch 'main' into less-strict-metrics-view
AdityaHegde Dec 20, 2022
046fed9
adds rudimentary dashboard support for no time series
hamilton Dec 20, 2022
07e2e9a
Removing model path filter (#1488)
AdityaHegde Dec 20, 2022
232e12b
Adding support for reading public buckets (#1491)
AdityaHegde Dec 20, 2022
8516245
Refresh when local file changes (#1489)
AdityaHegde Dec 20, 2022
99dc7fb
spaces in timestamp column name (#1490)
egor-ryashin Dec 20, 2022
b48952b
npm install
begelundmuller Dec 20, 2022
94b4ceb
Temporarily disable docker releases
begelundmuller Dec 20, 2022
5a67eb9
Setup golangci-lint in rill-developer (#1417)
rakeshsharma14317 Dec 20, 2022
0270d73
Release notes 0.17 (#1497)
magorlick Dec 20, 2022
66b6b8b
Update 0.17.md
magorlick Dec 20, 2022
31e33fe
Fix suppress tooltip not being reactive (#1493)
AdityaHegde Dec 20, 2022
b877ca4
[Dashboard] Fix jarring rearrange when include/exclude is toggled fro…
AdityaHegde Dec 20, 2022
eef1525
Update help links to new docs structure (#1499)
magorlick Dec 20, 2022
1651ffc
Move design system to `web-common` (#1486)
ericpgreen2 Dec 21, 2022
559bf4e
Publish nightly docker image (#1500)
himadrisingh Dec 21, 2022
e22d45b
golint improvements (#1502)
rakeshsharma14317 Dec 21, 2022
6797aae
Merge branch 'main' into less-strict-metrics-view
AdityaHegde Dec 21, 2022
85fd478
Merge branch 'main' into less-strict-metrics-view
AdityaHegde Dec 22, 2022
34ffbb8
Improved dimension validations
AdityaHegde Dec 22, 2022
f0b952d
Addressing PR comments
AdityaHegde Dec 23, 2022
e5f9f01
Merge branch 'main' into less-strict-metrics-view
AdityaHegde Jan 4, 2023
7672326
Enable dashboards with no time dimension (#1544)
djbarnwal Jan 13, 2023
025db73
Check for zero heights
djbarnwal Jan 16, 2023
3675f54
address PR comments
djbarnwal Jan 16, 2023
d2e66a0
Increase column gap and fix node bug
djbarnwal Jan 16, 2023
3c701ba
Merge branch 'main' into less-strict-metrics-view
AdityaHegde Jan 17, 2023
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
20 changes: 15 additions & 5 deletions .github/workflows/cli-release.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,21 @@
# This workflow runs full or nightly releases.
# Full releases are published to brew, CDN (for install script), and Github Releases.
# A full release gets its version number from the Git tag that triggered it.
# Nightly releases are only published to CDN and do not have a version. Their version number is "nightly".
name: Release Rill CLI
on:
workflow_dispatch:
# Trigger a full release on new Git tag
push:
tags:
- "**"
# Trigger a nightly release at midnight
schedule:
- cron: '0 0 * * *'
# Trigger a nightly release manually
workflow_dispatch:
env:
# PUBLISH_NIGHTLY becomes a string with values 'true' or 'false'
PUBLISH_NIGHTLY: ${{ github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' }}
jobs:
release:
name: Release rill-developer
Expand Down Expand Up @@ -46,7 +56,7 @@ jobs:

- name: Release Publish
run: |-
if [[ ${{ github.event_name }} == "schedule" ]]; then
if [[ ${{ env.PUBLISH_NIGHTLY }} == 'true' ]]; then
export NIGHTLY="--snapshot"
fi

Expand Down Expand Up @@ -75,21 +85,21 @@ jobs:
destination: prod-cdn.rilldata.com/

- name: Publish nightly docker image
if: github.event_name == 'schedule'
if: env.PUBLISH_NIGHTLY == 'true'
run: |-
echo '${{ secrets.DOCKERHUB_PASS }}' | docker login -u '${{ secrets.DOCKERHUB_USER }}' --password-stdin
docker tag rilldata/rill:latest rilldata/rill:nightly
docker push rilldata/rill:nightly

- name: Prepare for nightly GCS upload
if: github.event_name == 'schedule'
if: env.PUBLISH_NIGHTLY == 'true'
run: |-
mkdir nightly
cp dist/*.zip nightly/
cp dist/checksums.txt nightly/

- name: Upload nightly to CDN
if: github.event_name == 'schedule'
if: env.PUBLISH_NIGHTLY == 'true'
uses: google-github-actions/upload-cloud-storage@v1
with:
path: nightly/
Expand Down
82 changes: 0 additions & 82 deletions .github/workflows/runtime-release.yml

This file was deleted.

17 changes: 17 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ linters:
- errcheck
- errname
- errorlint
- gci
- gocritic
- gofmt
- gofumpt
Expand Down Expand Up @@ -96,6 +97,22 @@ linters-settings:
mnd:
# don't include the "operation" and "assign" checks
checks: argument,case,condition,return
linters-settings:
gci:
# Section configuration to compare against.
# Section names are case-insensitive and may contain parameters in ().
# The default order of sections is `standard > default > custom > blank > dot`,
# If `custom-order` is `true`, it follows the order of `sections` option.
# Default: ["standard", "default"]
sections:
- standard # Standard section: captures all standard packages.
- default # Default section: contains all imports that could not be matched to another section type.
- blank # Blank section: contains all blank imports. This section is not present unless explicitly enabled.
- dot # Dot section: contains all dot imports. This section is not present unless explicitly enabled.
# Enable custom order of sections.
# If `true`, make the section order the same as the order of `sections`.
# Default: false
custom-order: true
govet:
enable:
- asmdecl
Expand Down
6 changes: 3 additions & 3 deletions admin/cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ import (

"github.com/joho/godotenv"
"github.com/kelseyhightower/envconfig"
"go.uber.org/zap"

"github.com/rilldata/rill/admin/database"
_ "github.com/rilldata/rill/admin/database/postgres"
"github.com/rilldata/rill/admin/server"
"github.com/rilldata/rill/runtime/pkg/graceful"
"go.uber.org/zap"

_ "github.com/rilldata/rill/admin/database/postgres"
)

type Config struct {
Expand Down
11 changes: 4 additions & 7 deletions admin/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,17 @@ import (
"fmt"
"net/http"

// oapimiddleware "github.com/deepmap/oapi-codegen/pkg/middleware".

"github.com/gorilla/sessions"
"github.com/labstack/echo-contrib/prometheus"
"github.com/labstack/echo-contrib/session"
"github.com/labstack/echo/v4"
"github.com/labstack/echo/v4/middleware"
"go.uber.org/zap"
"golang.org/x/net/http2"
"golang.org/x/net/http2/h2c"

"github.com/labstack/echo-contrib/session"
"github.com/rilldata/rill/admin/api"
"github.com/rilldata/rill/admin/database"
"github.com/rilldata/rill/runtime/pkg/graceful"
"go.uber.org/zap"
"golang.org/x/net/http2"
"golang.org/x/net/http2/h2c"
)

type Server struct {
Expand Down
1 change: 1 addition & 0 deletions cli/cmd/initialize/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ func InitCmd(ver version.Version) *cobra.Command {

return nil
},
Args: cobra.ExactArgs(0),
}

initCmd.Flags().SortFlags = false
Expand Down
22 changes: 22 additions & 0 deletions docs/blog/0.18.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---

date: 2023-01-05
image: https://user-images.githubusercontent.com/5587788/210659165-81fb6fd5-da74-478a-922a-9e4dd408e935.png

---

# Rill 0.18 – Happy New Year from Rill!

:::note
⚡ Rill Developer is a tool that makes it effortless to transform your datasets with SQL and create powerful, opinionated dashboards.

To [try out Rill Developer, check out these instructions](/#pick-an-install-option) and [let us know over on Discord](https://bit.ly/3bbcSl9) if you encounter any problems or have ideas about how to improve Rill Developer!
:::

![new-year](https://user-images.githubusercontent.com/5587788/210659165-81fb6fd5-da74-478a-922a-9e4dd408e935.png)

Happy New Year everyone! This release of Rill Developer is fairly light, given that many of us were out celebrating the holidays after having a productive 2022. We do have a number of small improvements and bug fixes to share in our 0.18 release as we look to what 2023 holds:

- **A new workspace header –** Each release, we’re making one small change toward a much bigger refactor of our application hierarchy. This release will have something much more visible; a new header in the workspace.
- **Tweaking spacing –** Given that we moved to using Inter as our UI typeface, we’re continuing to readjust the design of the application to accommodate the additional space. It feels luxurious and we’re growing into it. :)
- **Numerous bug fixes –** We made [ambitious changes to our application](https://docs.rilldata.com/notes/0.16) in 2022 introducing code-based project files that represent the data to dashboard journey. To accomplish this, we had to touch most of the application and it was inevitable that there would be a few bugs and rough edges. We are continuing to squash these bugs thanks to your feedback. Are you seeing anything off in this release? If you do, come let us know on [Discord](https://bit.ly/3bbcSl9).
4 changes: 4 additions & 0 deletions docs/docs/references/project-files.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ In your Rill project directory, create a `source.yaml` file in the `sources` dir
— the _local path_ of the connector you are using for the source relative to your project's root directory. _(required for type: file)_
- _`/path/to/file.csv`_ — the path to your file

**`region`**
— Optionally sets the cloud region of the bucket you want to connect to. Only available for S3.
- _`us-east-1`_ — the cloud region identifer

See our Using Rill guide for an [example](../using-rill/import-data#using-code).

## Model transformation
Expand Down
51 changes: 34 additions & 17 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,21 @@ require (
github.com/deepmap/oapi-codegen v1.11.0
github.com/getkin/kin-openapi v0.100.0
github.com/go-yaml/yaml v2.1.0+incompatible
github.com/golang/protobuf v1.5.2
github.com/gorilla/sessions v1.2.1
github.com/hashicorp/golang-lru v0.5.1
github.com/jackc/pgx/v4 v4.10.1
github.com/hashicorp/golang-lru v0.5.4
github.com/jackc/pgx/v4 v4.16.1
github.com/jinzhu/copier v0.3.5
github.com/joho/godotenv v1.3.0
github.com/labstack/echo-contrib v0.13.0
github.com/labstack/echo/v4 v4.9.0
github.com/marcboeker/go-duckdb v1.0.6
github.com/marcboeker/go-duckdb v1.0.8
github.com/mattn/go-colorable v0.1.13
github.com/mitchellh/mapstructure v1.5.0
github.com/spf13/cobra v1.6.1
github.com/stretchr/testify v1.8.0
github.com/testcontainers/testcontainers-go v0.13.0
go.uber.org/zap v1.17.0
go.uber.org/zap v1.21.0
gocloud.dev v0.27.0
golang.org/x/oauth2 v0.0.0-20220909003341-f21342109be1
google.golang.org/grpc v1.49.0
modernc.org/sqlite v1.10.6
Expand All @@ -39,23 +39,42 @@ require (
github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1 // indirect
github.com/Microsoft/go-winio v0.5.2 // indirect
github.com/Microsoft/hcsshim v0.9.2 // indirect
github.com/aws/aws-sdk-go-v2 v1.16.8 // indirect
github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.4.3 // indirect
github.com/aws/aws-sdk-go-v2/config v1.15.15 // indirect
github.com/aws/aws-sdk-go-v2/credentials v1.12.10 // indirect
github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.12.9 // indirect
github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.11.21 // indirect
github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.15 // indirect
github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.9 // indirect
github.com/aws/aws-sdk-go-v2/internal/ini v1.3.16 // indirect
github.com/aws/aws-sdk-go-v2/internal/v4a v1.0.6 // indirect
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.9.3 // indirect
github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.1.10 // indirect
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.9.9 // indirect
github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.13.9 // indirect
github.com/aws/aws-sdk-go-v2/service/s3 v1.27.2 // indirect
github.com/aws/aws-sdk-go-v2/service/sso v1.11.13 // indirect
github.com/aws/aws-sdk-go-v2/service/sts v1.16.10 // indirect
github.com/aws/smithy-go v1.12.0 // indirect
github.com/beorn7/perks v1.0.1 // indirect
github.com/cenkalti/backoff/v4 v4.1.2 // indirect
github.com/cenkalti/backoff/v4 v4.1.3 // indirect
github.com/cespare/xxhash/v2 v2.1.2 // indirect
github.com/containerd/cgroups v1.0.3 // indirect
github.com/containerd/containerd v1.6.1 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/docker/distribution v2.8.1+incompatible // indirect
github.com/docker/docker v20.10.13+incompatible // indirect
github.com/docker/docker v20.10.17+incompatible // indirect
github.com/docker/go-connections v0.4.0 // indirect
github.com/docker/go-units v0.4.0 // indirect
github.com/go-openapi/jsonpointer v0.19.5 // indirect
github.com/go-openapi/swag v0.21.1 // indirect
github.com/gofrs/uuid v4.0.0+incompatible // indirect
github.com/gogo/protobuf v1.3.2 // indirect
github.com/golang-jwt/jwt v3.2.2+incompatible // indirect
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
github.com/golang/protobuf v1.5.2 // indirect
github.com/google/go-cmp v0.5.9 // indirect
github.com/google/wire v0.5.0 // indirect
github.com/googleapis/enterprise-certificate-proxy v0.1.0 // indirect
github.com/googleapis/gax-go/v2 v2.5.1 // indirect
github.com/gorilla/context v1.1.1 // indirect
Expand All @@ -65,12 +84,12 @@ require (
github.com/inconshreveable/mousetrap v1.0.1 // indirect
github.com/invopop/yaml v0.1.0 // indirect
github.com/jackc/chunkreader/v2 v2.0.1 // indirect
github.com/jackc/pgconn v1.8.0 // indirect
github.com/jackc/pgconn v1.12.1 // indirect
github.com/jackc/pgio v1.0.0 // indirect
github.com/jackc/pgpassfile v1.0.0 // indirect
github.com/jackc/pgproto3/v2 v2.0.7 // indirect
github.com/jackc/pgproto3/v2 v2.3.0 // indirect
github.com/jackc/pgservicefile v0.0.0-20200714003250-2b9c44734f2b // indirect
github.com/jackc/pgtype v1.6.2 // indirect
github.com/jackc/pgtype v1.11.0 // indirect
github.com/jcmturner/aescts/v2 v2.0.0 // indirect
github.com/jcmturner/dnsutils/v2 v2.0.0 // indirect
github.com/jcmturner/gofork v1.7.6 // indirect
Expand All @@ -81,7 +100,6 @@ require (
github.com/josharian/intern v1.0.0 // indirect
github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 // indirect
github.com/labstack/gommon v0.3.1 // indirect
github.com/lib/pq v1.10.5 // indirect
github.com/magiconair/properties v1.8.5 // indirect
github.com/mailru/easyjson v0.7.7 // indirect
github.com/mattn/go-isatty v0.0.16 // indirect
Expand All @@ -102,18 +120,17 @@ require (
github.com/prometheus/common v0.37.0 // indirect
github.com/prometheus/procfs v0.8.0 // indirect
github.com/remyoudompheng/bigfft v0.0.0-20200410134404-eec4a21b6bb0 // indirect
github.com/shopspring/decimal v1.2.0 // indirect
github.com/sirupsen/logrus v1.8.1 // indirect
github.com/spf13/pflag v1.0.5 // indirect
github.com/valyala/bytebufferpool v1.0.0 // indirect
github.com/valyala/fasttemplate v1.2.1 // indirect
go.opencensus.io v0.23.0 // indirect
go.uber.org/atomic v1.9.0 // indirect
go.uber.org/multierr v1.6.0 // indirect
go.uber.org/multierr v1.8.0 // indirect
golang.org/x/crypto v0.0.0-20220919173607-35f4265a4bc0 // indirect
golang.org/x/mod v0.6.0-dev.0.20220106191415-9b9b3d81d5e3 // indirect
golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4 // indirect
golang.org/x/time v0.0.0-20220722155302-e5dcc9cfc0b9 // indirect
golang.org/x/tools v0.1.10 // indirect
golang.org/x/tools v0.1.11 // indirect
golang.org/x/xerrors v0.0.0-20220609144429-65e65417b02f // indirect
google.golang.org/api v0.97.0 // indirect
google.golang.org/appengine v1.6.7 // indirect
Expand Down Expand Up @@ -143,7 +160,7 @@ require (
github.com/jmoiron/sqlx v1.3.5
github.com/kelseyhightower/envconfig v1.4.0
golang.org/x/net v0.0.0-20220919171627-f8f703f97925
golang.org/x/sync v0.0.0-20220601150217-0de741cfad7f
golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4
golang.org/x/sys v0.0.0-20220919091848-fb04ddd9f9c8 // indirect
golang.org/x/text v0.3.7 // indirect
google.golang.org/genproto v0.0.0-20220920201722-2b89144ce006
Expand Down
Loading