Skip to content

Commit

Permalink
Notebook Mode (metabase#9592)
Browse files Browse the repository at this point in the history
Notebook Mode + View Mode + Joins + etc
  • Loading branch information
tlrobinson authored Jul 30, 2019
1 parent e04e5ed commit d3ff5fd
Show file tree
Hide file tree
Showing 424 changed files with 15,551 additions and 11,177 deletions.
2 changes: 1 addition & 1 deletion .flowconfig
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
.*/node_modules/boxen/.*
.*/node_modules/libnpx/.*
.*/node_modules/@babel/standalone/.*
.*/node_modules/jest-dom/.*
.*/node_modules/@testing-library/jest-dom/.*

[include]
.*/frontend/.*
Expand Down
2 changes: 1 addition & 1 deletion bin/version
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env bash

VERSION="v0.33.0-snapshot"
VERSION="v0.33.0-preview2"

# dynamically pull more interesting stuff from latest git commit
HASH=$(git show-ref --head --hash=7 head) # first 7 letters of hash should be enough; that's what GitHub uses
Expand Down
23 changes: 23 additions & 0 deletions frontend/src/metabase-lib/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
## Wrapper Objects:

* `setFoo(bar)`: returns clone of the wrapper but with the "foo" attribute to set to `bar`
* `replace(object)`: returns clone of parent wrapper with this object replaced by `object`
* `remove()`: returns clone of the parent wrapper with this object removed
* `update()`: propagates current wrapper update to parent wrapper, recursively

Examples:

* `question().query.aggregation()[0].setDimension(dimension).update()`

Exceptions:

* StructuredQuery::updateAggregation, updateBreakout, updateFilter, etc should be called setAggregation, etc

## Wrapper Hierarchy:

* Question
* StructuredQuery
* Aggregation
* Breakout
* Filter
* NativeQuery
Loading

0 comments on commit d3ff5fd

Please sign in to comment.