Skip to content

Commit

Permalink
Release 0.10.0
Browse files Browse the repository at this point in the history
  • Loading branch information
djblue committed Mar 16, 2021
1 parent 821db5b commit 5d75791
Show file tree
Hide file tree
Showing 5 changed files with 48 additions and 9 deletions.
39 changes: 39 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,42 @@
## 0.10.0 - 2021-03-15

- Add command button to improve discoverability (bottom right)
- Expand items without nav-ing into them
- Allow string expansion
- Middle click to expand items
- Add preview type to each collection as header

### Item Selection

- Add the concept of a selection
- Single click to select an item
- Double click to select + nav into an item
- Use arrow keys to move selection around
- Limited to `:portal.viewers/inspector` for now
- Change the viewer for a selected item

### Vega Viewer

- Initial Vega Viewer
- Added by [@BrianChevalier](https://github.com/BrianChevalier)
- In PR [#44](https://github.com/djblue/portal/pull/44)
- Thanks!

### Material UI Theme

- Added material-ui theme
- Added by [@rzwiefel](https://github.com/rzwiefel)
- In PR [#45](https://github.com/djblue/portal/pull/45)
- Also fixed hex color regex
- Thanks!

### Window Title

- Adds an option to set a custom window title when opening portal
- Added by [@coyotesqrl](https://github.com/coyotesqrl)
- In PR [#42](https://github.com/djblue/portal/pull/42)
- Thanks!

## 0.9.0 - 2021-01-22

- PWA startup for linux with >1 chrome profile (thanks [@brdloush](https://github.com/brdloush) [#41](https://github.com/djblue/portal/pull/41))
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export BABASHKA_CLASSPATH := $(shell clojure -A:test -Spath)
export PATH := $(PWD)/target:$(PATH)
SHELL := bash
VERSION := 0.9.0
VERSION := 0.10.0

.PHONY: dev test

Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,29 +26,29 @@ To get an overview of portal, you can watch the following recording of a live de
To start a repl with portal, run the clojure cli with:

```bash
clj -Sdeps '{:deps {djblue/portal {:mvn/version "0.9.0"}}}'
clj -Sdeps '{:deps {djblue/portal {:mvn/version "0.10.0"}}}'
```

or for a **web** clojurescript repl, do:

```bash
clj -Sdeps '{:deps {djblue/portal {:mvn/version "0.9.0"}
clj -Sdeps '{:deps {djblue/portal {:mvn/version "0.10.0"}
org.clojure/clojurescript {:mvn/version "1.10.758"}}}' \
-m cljs.main
```

or for a **node** clojurescript repl, do:

```bash
clj -Sdeps '{:deps {djblue/portal {:mvn/version "0.9.0"}
clj -Sdeps '{:deps {djblue/portal {:mvn/version "0.10.0"}
org.clojure/clojurescript {:mvn/version "1.10.758"}}}' \
-m cljs.main -re node
```

or for a [**babashka**](https://github.com/borkdude/babashka) [>=0.2.4](https://github.com/borkdude/babashka/blob/master/CHANGELOG.md#v024) repl, do:

```bash
bb -cp `clj -Spath -Sdeps '{:deps {djblue/portal {:mvn/version "0.9.0"}}}'`
bb -cp `clj -Spath -Sdeps '{:deps {djblue/portal {:mvn/version "0.10.0"}}}'`
```

or for examples on how to integrate portal into an existing project, look through the [examples](./examples) directory.
Expand Down Expand Up @@ -173,7 +173,7 @@ Add a portal alias in `~/.clojure/deps.edn`
:portal/cli
{:main-opts ["-m" "portal.main"]
:extra-deps
{djblue/portal {:mvn/version "0.9.0"}
{djblue/portal {:mvn/version "0.10.0"}
;; optional json support
cheshire/cheshire {:mvn/version "5.10.0"}
;; optional yaml support
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>djblue</groupId>
<artifactId>portal</artifactId>
<version>0.9.0</version>
<version>0.10.0</version>
<name>portal</name>
<description>A clojure tool to navigate through your data.</description>
<url>https://github.com/djblue/portal</url>
Expand All @@ -15,7 +15,7 @@
</licenses>
<scm>
<url>https://github.com/djblue/portal</url>
<tag>0.9.0</tag>
<tag>0.10.0</tag>
</scm>
<dependencies>
<dependency>
Expand Down
2 changes: 1 addition & 1 deletion src/portal/runtime/index.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

(defn html [& {:keys [name version code-url platform]
:or {name (:portal.launcher/window-title @r/state)
version "0.9.0"
version "0.10.0"
code-url "main.js"
platform #?(:bb "bb" :clj "jvm" :cljs "node")}}]
(str
Expand Down

0 comments on commit 5d75791

Please sign in to comment.