Skip to content

Commit

Permalink
Merge pull request #72 from geostreams/release/3.9.2
Browse files Browse the repository at this point in the history
v3.9.2 release
  • Loading branch information
lmarini authored Feb 25, 2022
2 parents dc3364a + 27368d9 commit e147f11
Show file tree
Hide file tree
Showing 10 changed files with 60 additions and 7 deletions.
32 changes: 32 additions & 0 deletions .github/ISSUE_TEMPLATE
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
Issue tracker is **ONLY** used for reporting bugs. New features should be discussed on our slack channel. Please use [stackoverflow](https://stackoverflow.com) for supporting issues.

<!--- Provide a general summary of the issue in the Title above -->

## Expected Behavior
<!--- Tell us what should happen -->

## Current Behavior
<!--- Tell us what happens instead of the expected behavior -->

## Possible Solution
<!--- Not obligatory, but suggest a fix/reason for the bug, -->

## Steps to Reproduce
<!--- Provide a link to a live example, or an unambiguous set of steps to -->
<!--- reproduce this bug. Include code to reproduce, if relevant -->
1.
2.
3.
4.

## Context (Environment)
<!--- How has this issue affected you? What are you trying to accomplish? -->
<!--- Providing context helps us come up with a solution that is most useful in the real world -->

<!--- Provide a general summary of the issue in the Title above -->

## Detailed Description
<!--- Provide a detailed description of the change or addition you are proposing -->

## Possible Implementation
<!--- Not obligatory, but suggest an idea for implementing addition or change -->
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

## 3.9.2 - 2022-02-24

### Fixed
- Use `basename` attribute of Router to set the context path for the app.
- In template, deploy app at context path when using webpack dev server.
- Switched Map SelectClusterInteraction from flat to spiral. Solves a problem
with cluster whose locations have the same lat/lon.

## 3.9.0
- Updated template folder to latest version of geostreaming explore and download page

Expand Down
6 changes: 6 additions & 0 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

## 3.9.2 - 2022-02-24

### Fixed
- Use `basename` attribute of Router to set the context path for the app.
- In template, deploy app at context path when using webpack dev server.

## 3.9.0 - 2021-10-07

### Added
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@geostreams/core",
"version": "3.9.0",
"version": "3.9.2",
"main": "src/index.jsx",
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ type Props = {
const App = ({ routes, theme = defaultTheme }: Props) => (
<ThemeProvider theme={theme}>
{entries(routes).map(([path, props]) => (
<Route key={path} path={`${process.env.CONTEXT || ''}${path}`} {...props} />
<Route key={path} path={path} {...props} />
))}
</ThemeProvider>
);
Expand Down
4 changes: 2 additions & 2 deletions packages/core/src/render.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import * as React from 'react';
import ReactDOM from 'react-dom';
import { Provider } from 'react-redux';
import { BrowserRouter as Router } from 'react-router-dom';
import { HashRouter as Router } from 'react-router-dom';
import { createStore, combineReducers, applyMiddleware, compose } from 'redux';
import thunk from 'redux-thunk';

Expand Down Expand Up @@ -37,7 +37,7 @@ const render = (
if (root) {
ReactDOM.render(
<Provider store={store}>
<Router>
<Router basename={process.env.CONTEXT || '/'}>
<App routes={routes} theme={theme} />
</Router>
</Provider>,
Expand Down
6 changes: 6 additions & 0 deletions packages/geostreaming/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

## 3.9.2 - 2022-02-24

### Fixed
- Switched Map SelectClusterInteraction from flat to spiral. Solves a problem
with cluster whose locations have the same lat/lon.

## 3.9.1
- Fix filename for Vega StackedBoxWhisker.

Expand Down
2 changes: 1 addition & 1 deletion packages/geostreaming/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@geostreams/geostreaming",
"version": "3.9.0",
"version": "3.9.2",
"main": "src/index.jsx",
"author": "NCSA",
"publishConfig": {
Expand Down
2 changes: 1 addition & 1 deletion packages/geostreaming/src/containers/Map/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ const Map = (props: Props) => {
const selectCluster = new SelectClusterInteraction({
pointRadius: 17,
animate: true,
spiral: false,
spiral: true,
// Feature style when it springs apart
featureStyle: (feature) => {
const [fillColor, strokeColor] = getMarkerColor(feature);
Expand Down
3 changes: 2 additions & 1 deletion template/webpack.dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ module.exports = webpackMerge.merge(commonConfig, {
stats: { 'errors-only': true, 'colors': true },
historyApiFallback: true,
allowedHosts: JSON.parse(process.env.ALLOWED_HOSTS || '["localhost"]'),
headers: { 'Access-Control-Allow-Origin': '*' }
headers: { 'Access-Control-Allow-Origin': '*' },
publicPath: process.env.CONTEXT || '/'
},

plugins: [
Expand Down

0 comments on commit e147f11

Please sign in to comment.