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

Release 16.3.0 #828

Merged
merged 169 commits into from
Feb 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
169 commits
Select commit Hold shift + click to select a range
b0223c4
adding custom data to basic bar charts
dvzacharycutler May 6, 2022
25afce9
fixing context selection bug
dvzacharycutler May 11, 2022
cd312f4
more bug fixes
dvzacharycutler May 11, 2022
09de131
Refactor multi selection adapter
thinkh May 13, 2022
7c1aa95
Replace `PromiseLike` with `Promise` + async/await
thinkh May 13, 2022
5c1891c
Replace `() => IContext` with `IContext`
thinkh May 13, 2022
919cfb2
Remove `waitForIt` promise from selection adapter
thinkh May 13, 2022
cb7c8ad
Add unit tests for SelectionAdapter
thinkh May 13, 2022
7b9f96b
Merge branch 'thinkh/refactor-selection-adapter' into zc/contextSelec…
dvzacharycutler May 19, 2022
75e34df
adding parameters check on use effect
dvzacharycutler May 19, 2022
726ca43
removing outdated todo
dvzacharycutler May 23, 2022
3d1d98c
Update context inside selection adapter
oltionchampari May 24, 2022
35b456b
fixing default params value
dvzacharycutler May 30, 2022
26e8021
Merge branch 'develop' into zc/barSelection
dvzacharycutler May 30, 2022
595bdc8
builds
dvzacharycutler May 30, 2022
ed4117b
fixing bar selection
dvzacharycutler May 30, 2022
0434485
making bar click removal work
dvzacharycutler May 31, 2022
ecaeeb6
code improvements
dvzacharycutler May 31, 2022
7e7b44d
fixing uncontrolled error
dvzacharycutler May 31, 2022
dccfbe8
removing zooming on bar charts
dvzacharycutler May 31, 2022
330c8a7
Merge branch 'develop' into zc/contextSelectionBug
dvzacharycutler May 31, 2022
c34e98c
adding promise to fix typing
dvzacharycutler May 31, 2022
b163423
pr suggestions/cleanup
dvzacharycutler Jun 10, 2022
581f7ea
prepare next development version 15.0.1-SNAPSHOT
dvvanessastoiber Jun 15, 2022
b2076de
Merge branch 'develop' into zc/barSelection
thinkh Jun 17, 2022
0d7d556
Merge pull request #729 from datavisyn/zc/barSelection
thinkh Jun 17, 2022
0cd85ed
Merge branch 'develop' into zc/contextSelectionBug
thinkh Jun 17, 2022
088826d
Added build-storybook to build script (#733)
puehringer Jun 17, 2022
5c54a1b
Fix eslint for AggregateTypeSelected
thinkh Jun 17, 2022
2863967
Remove await `this.built` in `withoutTracking()`
thinkh Jun 17, 2022
d4d4a57
use `useRef` instead of `useSyncedRef`
dvchristianbors Jun 21, 2022
081e327
Add Storybook stories for custom buttons (#708)
dvflorianengertsberger Jun 21, 2022
193edc8
added cypress run script to package json (#738)
dvmoritzschoefl Jun 21, 2022
5721573
Add exception handler middleware (#723)
puehringer Jun 21, 2022
2d295cb
address PR comments
dvchristianbors Jun 22, 2022
a45bf5f
Merge pull request #725 from datavisyn/zc/contextSelectionBug
thinkh Jun 24, 2022
3536fa8
Initial visyn_scripts integration
puehringer Jun 22, 2022
ecef814
Update storybook script to storybook:build
puehringer Jun 27, 2022
8dcfc5d
adding description to axis labels (#744)
dvzacharycutler Jun 28, 2022
329cd33
Add NODE_OPTIONS=--max_old_space_size=4096 to storybook scripts (#746)
puehringer Jun 30, 2022
17172ce
Fix `ARankingView` typings of `rebuild` and `reloadData` (#749)
thinkh Jul 1, 2022
491d6aa
Merge remote-tracking branch 'origin/master' into develop
dvvanessastoiber Jul 1, 2022
1129d42
prepare next dev version
dvvanessastoiber Jul 1, 2022
d7bb813
Fixed return value of logout of ALB security store (#751)
puehringer Jul 6, 2022
54627ee
Fix incorrect route for server buildInfo.json (#752)
puehringer Jul 8, 2022
c695e91
Export initialize.ts for external Storybook instance (#753)
thinkh Jul 13, 2022
8120c17
Merge branch 'develop' into visyn_scripts
puehringer Jul 14, 2022
82befd5
Migrated to new webpack5 visyn_scripts
puehringer Jul 14, 2022
c67d0dd
Updated npm scripts
puehringer Jul 14, 2022
26b4432
Moved entries from yo-rc to package.json
puehringer Jul 29, 2022
c4a4fa6
Fix SCSS warning for divide numbers using `/` (#758)
thinkh Jul 29, 2022
a0b2a07
Show selection indicator next to scroll bar in rankings (#756)
thinkh Jul 29, 2022
11a7adf
Prepare github changes
Aug 2, 2022
f5a1b73
Update CODEOWNERS
Aug 2, 2022
8a0690f
Prepare github changes
Aug 2, 2022
8b7aae0
Prepare github changes
Aug 2, 2022
321793c
Prepare github changes
Aug 2, 2022
dac81aa
Prepare github changes
Aug 2, 2022
63aaa66
Merge branch 'develop' into visyn_scripts
puehringer Aug 4, 2022
65c42a5
Remove circleci
Aug 4, 2022
1d13f53
Merge remote-tracking branch 'origin/main' into develop
dvvanessastoiber Aug 4, 2022
041e6f4
prepare next dev version
dvvanessastoiber Aug 4, 2022
ceb0f11
Merge remote-tracking branch 'origin/main' into develop
dvvanessastoiber Aug 8, 2022
2251182
Set modal focus based on tour visiblity and replace Bootstrap jQuery …
thinkh Aug 8, 2022
40c145e
Upgrade to Font Awesome v6 (#732)
dvdanielamoitzi Aug 9, 2022
8be8362
Updated modal typings in dialogs.ts to return HTMLDivElement for body…
puehringer Aug 9, 2022
5e83afb
Added tsconfig.json to package.json files to allow the prepack script…
puehringer Aug 9, 2022
a163fe0
Moved phovea_registry to src/phovea_registry.ts
puehringer Aug 9, 2022
6276c07
Removed phovea_registry.js from package.json files
puehringer Aug 9, 2022
3684cd1
Add package-lock.json
puehringer Aug 10, 2022
7e8d481
Update build.yml
Aug 10, 2022
ac035a7
Merge branch 'develop' into visyn_scripts
puehringer Aug 10, 2022
77256a9
Fix Error Where FormDialog Fails to Be Instantiated (#766)
dvchristianbors Aug 11, 2022
2825d40
refactor: Avoid general aside styles caused by CLUE (#763)
thinkh Aug 11, 2022
780ec7b
refactor: Improve Cypress setup and use Cypress commands.js (#757)
dvvanessastoiber Aug 11, 2022
dd93216
feat: CLUE support for URL query parameter + rewrite hash parameters …
thinkh Aug 11, 2022
3562a7e
Update package.json
Aug 11, 2022
0bff08e
Update package.json
Aug 11, 2022
ee073b4
Update package.json
Aug 11, 2022
1ec16bc
fix: Font Awesome import in storybook.scss (#767)
thinkh Aug 12, 2022
f92d20e
Added d3v4 alias for datavisyn-scatterplot
puehringer Aug 12, 2022
c1965e8
Switch back to prepare script as otherwise install fails with jest no…
puehringer Aug 12, 2022
c3d3d6a
Removed tdp_scatterplot and old d3v4 versions (#768)
puehringer Aug 12, 2022
5c79f0a
Merge branch 'develop' into visyn_scripts
puehringer Aug 12, 2022
4702c6b
Delete dist directory
Aug 12, 2022
980e339
Update package.json
Aug 12, 2022
e6fc81a
Update engine and prepare script
puehringer Aug 12, 2022
1804691
Add react resolutions and overrides
puehringer Aug 12, 2022
582341e
Add @types to deps instead of devDeps
puehringer Aug 12, 2022
75c7b4b
Added resolutions like overrides
puehringer Aug 15, 2022
eb2eda8
Fix wrongly formatted visyn_scripts git ssh link
puehringer Aug 15, 2022
2cacd50
Remove webpack as forced resolution
puehringer Aug 15, 2022
7960581
Move lineupjs $engine_assets variable to _variables.scss
puehringer Aug 15, 2022
fb1ea30
Add yarn-3.2.2
puehringer Aug 15, 2022
be8f94f
Change prepare to prepack
puehringer Aug 15, 2022
a4b5613
Remove yarn again
puehringer Aug 15, 2022
ea8d980
Update visyn_scripts import
puehringer Aug 15, 2022
e0d6f49
Add .yarnrc.yml
puehringer Aug 15, 2022
bdf13c8
Add yarn-3.2.2
puehringer Aug 16, 2022
2baf76a
Add yarn-3.2.2
puehringer Aug 16, 2022
ddc16b8
Add webpack to overides
puehringer Aug 16, 2022
dbe1d72
Replace npm run with yarn run
puehringer Aug 16, 2022
cbb94f6
Switch to visyn_scripts clean
puehringer Aug 16, 2022
658cf44
Correctly pin papaparse types
puehringer Aug 16, 2022
0cf7147
Pin core-js to 2.6.5
puehringer Aug 16, 2022
fc59d5f
Add dist/
puehringer Aug 16, 2022
8882fa7
Added d3v3 alias for d3
puehringer Aug 17, 2022
dd79de1
Switch from node16 to main workflows
puehringer Aug 18, 2022
867de9a
Added d3v7 alias (#769)
puehringer Aug 19, 2022
776da4a
Added standalone tdp_core and updated README
puehringer Aug 19, 2022
48d3a37
Override form_check to write print-color-adjust instead of color-adju…
puehringer Aug 22, 2022
12288f5
Update README.md
puehringer Aug 23, 2022
b49b0e8
fix: Prevent submit of FormDialog with `evt.preventDefault()` (#772)
thinkh Aug 26, 2022
b1c2681
Bump pyjwt from 2.1.0 to 2.4.0 (#728)
dependabot[bot] Aug 26, 2022
a45accf
Rdkit images API (#748)
dvmarkusvogl Aug 26, 2022
9bc4782
Pin plotly.js-dist-min to 2.12 to avoid selection error (#773)
puehringer Aug 29, 2022
edd9f04
Add test db setup fixture (#771)
dvmarkusvogl Aug 30, 2022
0e28f8d
Rename test_db to postgres_db (#774)
puehringer Aug 31, 2022
6fe9dee
Added no security store for static logins (#775)
puehringer Aug 31, 2022
8d54e5b
Bump rdkit to 2022.3.5 (#776)
puehringer Sep 1, 2022
1a92e6f
Merge remote-tracking branch 'origin/main' into develop
dvvanessastoiber Sep 8, 2022
6d30b31
prepare next dev version
dvvanessastoiber Sep 8, 2022
d920870
Update publish.yml
Sep 8, 2022
cdac1c1
Merge remote-tracking branch 'origin/main' into develop
dvvanessastoiber Sep 8, 2022
ea887b9
Fixing Ranking.tsx bug (#777)
dvzacharycutler Sep 15, 2022
aad44a8
Fixed filtering of structure image column (#784)
puehringer Sep 15, 2022
59a0e0d
Remove modal element when hiding a dialog (#783)
oltionchampari Sep 15, 2022
fbf269f
Improve typings for CLUE and refactor async functions (#785)
thinkh Sep 15, 2022
3ab0d74
feat: Add datavisyn logo which adapts to the system scheme (#782)
thinkh Sep 19, 2022
4591720
types: Add `ICategory[]` to `categories` in `IServerColumn` (#794)
dvchristianbors Sep 28, 2022
7470f92
Add missing dist files
thinkh Sep 29, 2022
5a5950f
fix: don't initialize general vis in `ARankingView` when disabled (#796)
oltionchampari Sep 29, 2022
16ae21d
Merge remote-tracking branch 'origin/main' into develop
dvvanessastoiber Sep 30, 2022
7595973
prepare next dev version
dvvanessastoiber Sep 30, 2022
1f56425
feat: adding Mantine `VisynApp` (#787)
dvzacharycutler Oct 4, 2022
bc0deb6
Add missing dist files.
thinkh Oct 5, 2022
945992b
deps: Update dependency [email protected] (#793)
thinkh Oct 11, 2022
78ce4cf
feat: Added engine parameter to onBuiltLineUp in Ranking.tsx (#788)
puehringer Oct 11, 2022
45694b6
feat: Add `removePlugins` method to plugin registry (#799)
oltionchampari Oct 11, 2022
5f9cfe8
Merge remote-tracking branch 'origin/main' into develop
dvvanessastoiber Oct 14, 2022
c94439a
prepare next dev version
dvvanessastoiber Oct 14, 2022
a756954
fix: Avoid `AttachmentUtils` calls when Reprovisyn feature flag is en…
dvchristianbors Oct 19, 2022
860d347
Add caching of users in the current request (#803)
puehringer Oct 24, 2022
1f2cd59
fix: Plotly type error with `violingap` (#807)
dvzacharycutler Nov 22, 2022
07b2230
fix: increase LineUp side panel width (#805)
thinkh Nov 23, 2022
f795ac4
add: missing dist files
thinkh Nov 24, 2022
82bf304
Merge remote-tracking branch 'origin/main' into develop
dvvanessastoiber Nov 24, 2022
4bfef7f
prepare next dev version
dvvanessastoiber Nov 24, 2022
c89c86b
fix: Hide login dialog after animation if logged in (#812)
puehringer Dec 7, 2022
2acc034
fix: remove range id mapping in `rangeOf` in DB view filter (#813)
thinkh Dec 7, 2022
cd81931
Merge remote-tracking branch 'origin/main' into develop
dvvanessastoiber Dec 13, 2022
0115a7d
prepare next dev version
dvvanessastoiber Dec 13, 2022
840fb49
Fix missing lineup color mappings by adjusting styles (#802)
puehringer Dec 21, 2022
9c8be1e
Cypress and CI integration (#811)
puehringer Jan 11, 2023
e0062a2
Add make start
puehringer Jan 11, 2023
cdcdb2e
Improve performance, upgrade deps and logging, remove numpy, numba, p…
puehringer Jan 12, 2023
9297e07
Exclude /health from uvicorn access log
puehringer Jan 13, 2023
9d92de2
fix(storybook): upgrade to webpack5 (#810)
dvdanielamoitzi Jan 17, 2023
64f8b8e
Enable Custom Vis in LineUp (#820)
dvmoritzschoefl Jan 24, 2023
5936620
Enable selection in ranking vis (#821)
puehringer Jan 26, 2023
0e79405
Add substructure filter label to dialog (#822)
puehringer Jan 26, 2023
cff2ea4
Add idField to LineUpSelectionHelper
puehringer Jan 26, 2023
b4bbe87
fix: show notification when score loading fails (#823)
oltionchampari Feb 3, 2023
390d426
feat: converting general vis to Mantine and add hexbin visualization …
dvzacharycutler Feb 3, 2023
7e4a429
fix(vis): zoom stutter in scatter plot (#826)
dvzacharycutler Feb 6, 2023
1185e9c
fix: change vis type name to sentence case (#827)
dvzacharycutler Feb 6, 2023
64e7313
prepare release 16.3.0
dvvanessastoiber Feb 7, 2023
0e94117
fix(cypress): health check component test (#829)
thinkh Feb 7, 2023
43180af
Merge remote-tracking branch 'origin/develop' into release-16.3.0
dvvanessastoiber Feb 7, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
17 changes: 14 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,19 @@
name: build

on: [push, workflow_dispatch]
on:
workflow_dispatch:
inputs:
cypress:
description: 'Run cypress'
required: false
type: boolean
default: false
push:

jobs:
build:
uses: datavisyn/github-workflows/.github/workflows/build-node-python.yml@main
secrets: inherit
uses: datavisyn/github-workflows/.github/workflows/build-node-python.yml@new_deployment
secrets: inherit
with:
cypress_enable: true
cypress_run_because_flag: ${{ inputs.cypress == true }}
28 changes: 13 additions & 15 deletions .storybook/main.js
Original file line number Diff line number Diff line change
@@ -1,24 +1,22 @@
const path = require('path');

module.exports = {
stories: [
"../src/**/*.stories.mdx",
"../src/**/*.stories.@(js|jsx|ts|tsx)"
],
addons: [
"@storybook/addon-links",
"@storybook/addon-essentials",
"@storybook/addon-interactions",
"@storybook/preset-scss"
],
framework: "@storybook/react",
core: {
builder: 'webpack5',
},
stories: ['../src/**/*.stories.mdx', '../src/**/*.stories.@(js|jsx|ts|tsx)'],
addons: ['@storybook/addon-links', '@storybook/addon-essentials', '@storybook/addon-interactions', '@storybook/preset-scss', 'storybook-addon-swc'],
framework: '@storybook/react',
webpackFinal: async (config) => {
// Add tdp_core/dist as alias, as we have scss/code imports like tdp_core/dist/assets/...
// These can only be resolved in a workspace currently, and not in the standalone repo.
config.resolve.alias = {
...(config.resolve.alias || {}),
'tdp_core/dist': path.resolve(__dirname, '../', 'dist')
// I have no clue why this is required, but if this is missing we get a "Can't resolve '../../assets/icons/datavisyn_logo.svg' in '.../src/scss'""
'../../assets': path.resolve(__dirname, '../src/assets'),
// Add tdp_core/dist as alias, as we have scss/code imports like tdp_core/dist/assets/...
'tdp_core/dist': path.resolve(__dirname, '../src'),
'tdp_core/src': path.resolve(__dirname, '../src'),
'tdp_core': path.resolve(__dirname, '../src'),
};
return config;
},
}
};
15 changes: 15 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Python: Module",
"type": "python",
"request": "launch",
"module": "tdp_core",
"justMyCode": false
}
]
}
7 changes: 7 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"python.testing.pytestArgs": [
"tdp_core"
],
"python.testing.unittestEnabled": false,
"python.testing.pytestEnabled": true
}
34 changes: 26 additions & 8 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
.DEFAULT_GOAL := help
pkg_src = tdp_core

flake8 = flake8 $(pkg_src) setup.py
isort = isort $(pkg_src) setup.py
black = black --line-length 140 $(pkg_src) setup.py
pyright = pyright $(pkg_src) setup.py
ruff = ruff $(pkg_src) setup.py --line-length 140 --select E,W,F,N,I,C,B,UP,PT,SIM,RUF --ignore E501,C901,B008

.PHONY: start ## Start the development server
start:
python $(pkg_src)

.PHONY: all ## Perform the most common development-time rules
all: format lint test
Expand All @@ -13,25 +17,25 @@ ci: check-format lint test

.PHONY: format ## Auto-format the source code
format:
$(isort)
$(ruff) --fix
$(black)

.PHONY: check-format ## Check the source code format without changes
check-format:
$(isort) --check-only
$(black) --check

.PHONY: lint ## Run flake8
.PHONY: lint ## Run flake8 and pyright
lint:
$(flake8)
$(ruff) --format=github
$(pyright)

.PHONY: test ## Run tests
test:
pytest $(pkg_src)

.PHONEY: documentation ## Generate docs
documentation:
mkdocs build
documentation:
echo "TODO"

.PHONY: install ## Install the requirements
install:
Expand All @@ -41,6 +45,20 @@ install:
develop:
pip install -e .[develop]

.PHONY: env_encrypt ## Encrypts the current ./<app>/.env
env_encrypt:
openssl aes-256-cbc -pbkdf2 -in ./$(pkg_src)/.env -out ./$(pkg_src)/.env.enc

.PHONY: env_decrypt ## Decrypts the ./<app>/.env.enc
env_decrypt:
@if [ -z "${ENV_PASSWORD}" ]; then \
echo "No ENV_PASSWORD set, prompting for password..."; \
openssl aes-256-cbc -pbkdf2 -d -in ./$(pkg_src)/.env.enc -out ./$(pkg_src)/.env; \
else \
echo "ENV_PASSWORD set, using it..."; \
openssl aes-256-cbc -pbkdf2 -d -in ./$(pkg_src)/.env.enc -out ./$(pkg_src)/.env -pass env:ENV_PASSWORD; \
fi

.PHONY: build ## Build a wheel
build:
python setup.py sdist bdist_wheel --dist-dir dist_python
Expand Down
20 changes: 20 additions & 0 deletions cypress.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
import { defineConfig } from 'cypress';
import * as webpackConfig from 'visyn_scripts/config/webpack.config';

export default defineConfig({
viewportHeight: 1080,
viewportWidth: 1920,
defaultCommandTimeout: 10000,
e2e: {
baseUrl: 'http://localhost:8080',
// eslint-disable-next-line @typescript-eslint/no-unused-vars
setupNodeEvents(on, config) {},
},
component: {
devServer: {
framework: 'react',
bundler: 'webpack',
webpackConfig: webpackConfig({ workspace_mode: 'single' }, { mode: 'production' }),
},
},
});
2 changes: 2 additions & 0 deletions cypress/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/videos
/screenshots
10 changes: 10 additions & 0 deletions cypress/component/component-health-check.cy.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import * as React from 'react';
import { mount } from 'cypress/react';
import { MainApp } from '../../src/demo/MainApp';

describe('Health check for Cypress component test', () => {
it('should mount MainApp', () => {
mount(<MainApp />);
cy.get('body').should('include.text', 'Visualization type');
});
});
6 changes: 6 additions & 0 deletions cypress/e2e/health-check.cy.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
describe('Health check for Cypress e2e test', () => {
it('should visit the home page', () => {
cy.visit('/');
cy.get('body').should('include.text', 'Visualization type');
});
});
22 changes: 0 additions & 22 deletions cypress/plugins/index.js

This file was deleted.

Loading