Skip to content

Commit

Permalink
refactor(react-components): rename observations -> points of interest…
Browse files Browse the repository at this point in the history
… and factor out FDM provider (#4810)

* chore: generalize PoI storage

* chore: Add generics EVERYWHERE

* chore: add generic specifier at top level

* chore: observation => point of interest

* chore: move util function a bit more

* chore: rename provider+file

* revert: revert unnecessary change

* chore: rename variables/symbol
  • Loading branch information
haakonflatval-cognite authored Oct 18, 2024
1 parent 5395a37 commit e47a5e5
Show file tree
Hide file tree
Showing 28 changed files with 633 additions and 579 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ import { ToggleMetricUnitsCommand } from '../../base/concreteCommands/ToggleMetr
import { MeasurementTool } from '../measurements/MeasurementTool';
import { ClipTool } from '../clipping/ClipTool';
import { KeyboardSpeedCommand } from '../../base/concreteCommands/KeyboardSpeedCommand';
import { ObservationsTool } from '../observations/ObservationsTool';
import { SettingsCommand } from '../../base/concreteCommands/SettingsCommand';
import { MockSettingsCommand } from '../../base/commands/mocks/MockSettingsCommand';
import { MockFilterCommand } from '../../base/commands/mocks/MockFilterCommand';
Expand All @@ -28,6 +27,8 @@ import { AnnotationsCreateTool } from '../annotations/commands/AnnotationsCreate
import { AnnotationsShowCommand } from '../annotations/commands/AnnotationsShowCommand';
import { AnnotationsShowOnTopCommand } from '../annotations/commands/AnnotationsShowOnTopCommand';
import { AnnotationsSelectTool } from '../annotations/commands/AnnotationsSelectTool';
import { type DmsUniqueIdentifier } from '../../../data-providers';
import { PointsOfInterestTool } from '../pointsOfInterest/PointsOfInterestTool';

export class StoryBookConfig extends BaseRevealConfig {
// ==================================================
Expand Down Expand Up @@ -55,7 +56,7 @@ export class StoryBookConfig extends BaseRevealConfig {
undefined,
new MeasurementTool(),
new ClipTool(),
new ObservationsTool(),
new PointsOfInterestTool<DmsUniqueIdentifier>(),
undefined,
new AnnotationsSelectTool(),
new AnnotationsCreateTool(),
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit e47a5e5

Please sign in to comment.