Skip to content

Commit 9a0183e

Browse files
committed
* 'main' of https://github.com/UW-Macrostrat/web-components: Starting point for force-directed graph Started situating graph view Fairly decent feedback modules More or less works Improve inclusion of styles Simplify actions Simplify saving of model info Extract more state from feedback component Updated tree internals Removed Macrostrat-specific Match component Updated and consolidated feedback components Starting point to extracting components Updated README
2 parents 7541b26 + c60bc85 commit 9a0183e

File tree

24 files changed

+704
-1191
lines changed

24 files changed

+704
-1191
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,10 @@ by default, for quick installs and updates.
4444
yarn
4545
```
4646

47+
In order to make map-based examples work, you will have to set the
48+
`VITE_MAPBOX_API_TOKEN` environment variable to a valid Mapbox token. You can do
49+
this by creating a `.env` file in the root of the repository.
50+
4751
### Storybook
4852

4953
We use [Storybook](https://storybook.js.org/) for developing components in an

packages/feedback-components/package.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@
1111
"dependencies": {
1212
"@babel/preset-react": "^7.18.6",
1313
"@blueprintjs/core": "^5.10.2",
14+
"@macrostrat/color-utils": "workspace:^1.0.0",
15+
"@macrostrat/hyper": "^3.0.0",
16+
"@macrostrat/ui-components": "workspace:*",
17+
"@xyflow/react": "^12.3.6",
18+
"d3-force": "^3.0.0",
1419
"react": "^17.0.2||^18",
1520
"react-arborist": "^3.4.0",
1621
"react-text-annotate-blend": "^1.2.0"
@@ -29,5 +34,8 @@
2934
"type": "git",
3035
"url": "https://github.com/UW-Macrostrat/web-components.git",
3136
"directory": "packages/feedback-components"
37+
},
38+
"devDependencies": {
39+
"@types/d3-force": "^3"
3240
}
3341
}

packages/feedback-components/src/FeedbackWrap.tsx

Lines changed: 0 additions & 340 deletions
This file was deleted.

0 commit comments

Comments
 (0)