Skip to content
Draft

7.0.0 #841

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
96 commits
Select commit Hold shift + click to select a range
636e11b
edit messaging to clarify filters are applied to edges
buckhalt Dec 4, 2024
9c9d5dc
first pass at warning tips for edges
buckhalt Dec 4, 2024
4c28785
make rule type options labels reflect entityType
buckhalt Dec 4, 2024
32b0ddc
refactor logic for showing warning. use across instances
buckhalt Dec 5, 2024
898f7b6
make getEdgeFilters reusable selector, fix issue when there are no pr…
buckhalt Dec 5, 2024
1c56a77
add tests to cover filter warning logic
buckhalt Dec 5, 2024
24bb472
add snapshot
buckhalt Dec 5, 2024
55b9b72
improve tip messages
buckhalt Dec 9, 2024
3422a77
make getEdgeFilteringWarning a util, memoize derived state
buckhalt Dec 9, 2024
3838780
move edgeFilteringWarning tests to separate file'
buckhalt Dec 9, 2024
7ccf4fb
initial setup of geospatial interface config
buckhalt Dec 19, 2024
6ef86c3
prompt fields section
buckhalt Dec 19, 2024
2179524
basic section layout
buckhalt Dec 20, 2024
61c0fa1
wip add geojson files
buckhalt Jan 7, 2025
c836287
implement propToSelect using asset selectors to parse geojson
buckhalt Jan 7, 2025
94fcfaa
implement color palette
buckhalt Jan 8, 2025
4da3662
working prompt config
buckhalt Jan 8, 2025
591d61e
upload txt file for mapbox key
buckhalt Jan 8, 2025
8a29011
prop validation, add GeoAPIKey form field
buckhalt Jan 9, 2025
bd4e44c
improve instructions and validations
buckhalt Jan 9, 2025
e29e07e
wip proof of concept mapbox key flow
buckhalt Jan 9, 2025
a73ff18
wip edit functionality
buckhalt Jan 10, 2025
ce1a8ae
refactor create key form to use basicForm & handle edits
buckhalt Jan 13, 2025
2fb138e
conditionally render saveButton only when form is dirty
buckhalt Jan 13, 2025
27c1375
update prop names, native select for target feature prop
buckhalt Jan 14, 2025
0011a11
refactor: save api key directly to asset manifest
buckhalt Jan 14, 2025
36cad69
add geo/api thumbnails, api preview
buckhalt Jan 15, 2025
5a688f7
fix preview in field
buckhalt Jan 15, 2025
30ee676
fix asset selected states
buckhalt Jan 15, 2025
e45b488
wip mapbox map for center, zoom selection
buckhalt Jan 15, 2025
558ff60
fix connect-src, rm unused stuff
buckhalt Jan 15, 2025
03e524e
fix csp to use simpler, not strict setup
buckhalt Jan 16, 2025
3a57fae
update mapbox to v3
buckhalt Jan 16, 2025
652ca58
working map as field to save center and zoom
buckhalt Jan 16, 2025
eb73e50
implement selecting style, conditionally render save button
buckhalt Jan 16, 2025
5f28c89
update mapbox to v3, use es6 import and target unminified code
buckhalt Jan 16, 2025
2cf85f9
small fixes
buckhalt Jan 16, 2025
d598829
geojson preview using reusable Table component, make network use tabl…
buckhalt Jan 16, 2025
d061430
disable download, implement copy for api keys
buckhalt Jan 16, 2025
995825a
add geospatial timeline image
buckhalt Jan 16, 2025
7353816
add zoom buttons for better ux
buckhalt Jan 16, 2025
17e2ace
change case of apiKey to apikey for consistency w Fresco
buckhalt Jan 22, 2025
6be72d4
change geospatial type to geojson to match fresco schema changes
buckhalt Jan 23, 2025
6657571
add node filter and skip logic
buckhalt Jan 24, 2025
faece03
add introduction panel
buckhalt Jan 24, 2025
c987715
use interfaceType to conditionally render summary text
buckhalt Feb 3, 2025
e7697b4
fix map cleanup
buckhalt Feb 3, 2025
7392ea5
use monorepo protocol-validation package
buckhalt Feb 7, 2025
4ae0269
add wip documentation urls
buckhalt Feb 12, 2025
d62d712
remove protocol-validaiton as submodule
buckhalt Feb 12, 2025
97b9635
fix protocol-validation import path, rm todos
buckhalt Feb 12, 2025
1842506
fix usage of migrateProtocol to correspond with package changes
buckhalt Feb 20, 2025
d0add06
update CSP for using ajv
buckhalt Feb 25, 2025
52a5047
revert CSP change
buckhalt Feb 26, 2025
87e50c5
configure webpack for optional chaining, nullish coalescing in protoc…
buckhalt Feb 27, 2025
b214830
use protocol-validation package
buckhalt Mar 14, 2025
a712ef6
change variable type to location
buckhalt Mar 14, 2025
0f9f299
first pass at o2m dyad census
buckhalt May 8, 2025
307d34a
o2m fixes: prompt section layout, correctly disable sort components, …
buckhalt May 8, 2025
1eef1c4
first pass at anonymisation interface
buckhalt May 8, 2025
9f45f50
working encrypted variables section w/o styling
buckhalt May 9, 2025
fc7893a
basic expandable sections with checkbox components
buckhalt May 9, 2025
4df0712
rough implementation of styling for this section
buckhalt May 9, 2025
ece5138
require experiments variable for adding anon interface
buckhalt May 9, 2025
b9f5c88
add timeline images for new interfaces
buckhalt May 9, 2025
010e4ab
use CheckboxGroup component for better ui
buckhalt May 9, 2025
6e9b68f
implement encrypted vars collapsible sections with existing Section c…
buckhalt May 12, 2025
e6a405c
use DetachedField
buckhalt May 12, 2025
44957c3
add tip, improve style
buckhalt May 12, 2025
e465dc0
improve component structure
buckhalt May 12, 2025
6741af8
update github actions
buckhalt May 12, 2025
b99f0c0
remove protocol-validation submodule
jthrilly May 13, 2025
948104a
bump package version and move dependency to dev deps
jthrilly May 13, 2025
454c185
update webpack babel config to correctly ignore protocol validation
jthrilly May 13, 2025
f22e56c
run babel transform on protocol validation lib
jthrilly May 13, 2025
32d47c2
Merge pull request #840 from complexdatacollective/feature/improve-fi…
jthrilly May 13, 2025
1339280
Merge pull request #843 from complexdatacollective/schema-8
jthrilly May 13, 2025
27598e3
update protocol validation to allow for migrations to work
jthrilly May 13, 2025
95f7618
don't assume filter.rules exist (can't use ?? for some reason)
jthrilly May 13, 2025
ac8b92f
refactor RemoveAfterConsideration to fix value reset on node type change
buckhalt May 13, 2025
dbb5e98
remove encrypted prop, dont just set it to false
buckhalt May 16, 2025
dfef266
rm encrypted variables on stage deletion
buckhalt May 16, 2025
b737ba0
alpha.2
jthrilly May 19, 2025
393ace1
fix test running
jthrilly May 19, 2025
7463e2a
correctly specify babel plugins
jthrilly May 19, 2025
c4e2835
fix deleteStage test by passing getState mock
buckhalt May 19, 2025
70c8aa6
fix migrateNetcanvas test by mocking correct return value structure
buckhalt May 19, 2025
b967135
mock return value of canUpgrade to fix checkSchemaVersion tests
buckhalt May 19, 2025
631b919
update nth valus to reflect additional dispatch for the new deleteSta…
buckhalt May 19, 2025
16f08a9
mock mapbox files to fix TextDecoder is not defined
buckhalt May 19, 2025
d042342
empty protocols are valid in new schema
buckhalt May 20, 2025
8d4046d
wip fixes for identified bugs; replace instances of getFieldId;wrap f…
jthrilly Jun 2, 2025
2492fff
fix narrative preset submit issue by refactoring issue system
jthrilly Jun 2, 2025
0eb8d06
add 'behaviours' to the exemption list so that they arent reset when …
jthrilly Jun 2, 2025
5a115b6
update interviewer ref
buckhalt Jun 13, 2025
bcccec2
fix issues with overlay crashing; implement ability to close screen e…
jthrilly Jul 22, 2025
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
1 change: 0 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
src/ui
src/protocol-validation
network-canvas
8 changes: 4 additions & 4 deletions .github/workflows/dist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ on:

jobs:
dist:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: recursive
- uses: actions/setup-python@v4
Expand All @@ -21,13 +21,13 @@ jobs:
- name: Update apt cache
run: sudo apt-get update -y
# Set node version
- uses: actions/setup-node@v2
- uses: actions/setup-node@v4
with:
node-version: "14.21.3"
- name: Set NPM 7
run: npm install -g npm@8.19.4
# Cache node_modules
- uses: actions/cache@v2
- uses: actions/cache@v4
env:
cache-name: cache-node-modules
with:
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ on:

jobs:
test:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: recursive
- uses: actions/setup-python@v4
Expand All @@ -21,13 +21,13 @@ jobs:
- name: Update apt cache
run: sudo apt-get update -y
# Set node version
- uses: actions/setup-node@v2
- uses: actions/setup-node@v4
with:
node-version: "14.21.3"
- name: Set NPM 7
run: npm install -g npm@8.19.4
# Cache node_modules
- uses: actions/cache@v2
- uses: actions/cache@v4
env:
cache-name: cache-node-modules
with:
Expand All @@ -48,9 +48,9 @@ jobs:

build:
needs: test
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: recursive
- uses: actions/setup-python@v4
Expand All @@ -60,13 +60,13 @@ jobs:
- name: Update apt cache
run: sudo apt-get update -y
# Set node version
- uses: actions/setup-node@v2
- uses: actions/setup-node@v4
with:
node-version: "14.21.3"
- name: Set NPM 7
run: npm install -g npm@8.19.4
# Cache node_modules
- uses: actions/cache@v2
- uses: actions/cache@v4
env:
cache-name: cache-node-modules
with:
Expand Down
4 changes: 1 addition & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
[submodule "network-canvas"]
path = network-canvas
url = https://github.com/complexdatacollective/network-canvas.git
[submodule "src/protocol-validation"]
path = src/protocol-validation
url = https://github.com/complexdatacollective/protocol-validation.git

[submodule "development-protocol"]
path = development-protocol
url = https://github.com/complexdatacollective/development-protocol.git
28 changes: 19 additions & 9 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -1,16 +1,26 @@
module.exports = {
presets: [
'@babel/preset-env',
'@babel/react',
['@babel/preset-env', {
targets: { node: 'current' },
modules: 'commonjs'
}],
'@babel/preset-react',
],
plugins: [
'@babel/plugin-syntax-import-meta',
[
'@babel/plugin-proposal-class-properties',
{
loose: true,
},
],
['@babel/plugin-proposal-class-properties', { loose: true }],
['@babel/plugin-transform-private-property-in-object', { loose: true }],
['@babel/plugin-transform-private-methods', { loose: true }],
'@babel/plugin-proposal-json-strings',
],
};
env: {
test: {
presets: [
['@babel/preset-env', {
targets: { node: 'current' },
modules: 'commonjs'
}]
]
}
}
};
2 changes: 2 additions & 0 deletions config/jest/automock.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,5 @@ jest.mock('archiver');
jest.mock('decompress');
jest.mock('electron');
jest.mock('electron-log');
jest.mock('mapbox-gl/dist/mapbox-gl-unminified');
jest.mock('mapbox-gl/dist/mapbox-gl.css', () => {});
9 changes: 7 additions & 2 deletions config/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,20 +87,25 @@ const loaderRules = Object.freeze([
// Process JS with Babel.
{
test: /\.(js|jsx)$/,
include: paths.appSrc,
include: [
paths.appSrc,
/node_modules\/@codaco\/protocol-validation/,
],
use: [
{
loader: require.resolve('thread-loader'),
options: {
// In dev, keep workers alive for more effective watch mode
poolTimeout: isProduction ? 500 : Infinity,
poolTimeout: isProduction ? 500 : Number.POSITIVE_INFINITY,
},
},
{
loader: require.resolve('babel-loader'),
options: {
compact: isProduction,
cacheDirectory: !isProduction,
presets: ['@babel/preset-env'],
plugins: ['@babel/plugin-transform-nullish-coalescing-operator'],
},
},
],
Expand Down
2 changes: 1 addition & 1 deletion network-canvas
Loading