Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
7x docs and stability improvements (#365)
* doc updates * more updates * add prepublish step, document use of workers, how to match tests, publishing workflow * break out accuracy limitations doc * deprecate fgbFetchAll for loadFgb, add toolbox doc, drop deprecated overlapRaster * Break out tutorials and more * update preprocessing and geoprocessing docs * genPreprocessor: add minSize and enforceMinSize options, more doc additions * update reportclient doc * add projectclient doc, fix links, other updates * add vite babel plugins for storybook, migrate away from toNullSketch in gp function to childProperties, add toSketchPropertiesArray helper * remove null sketch from template smoke test output * add toChildProperties helper, major cleanup 6.1 tutorial * update 7x tutorials, couple backports to 6.1, add devcontainer guide * drop global datasources from basic-project template. add codespaces advanced guide * update smoke test output * refactor genRandomFeature script to support sketches too, drop genRandomSketch * update genRandomFeature, add third part data doc, break out link data tutorial, start newproject revamp * further newproject, add precalc, third party and data guides * rework system setup sections, fix broken links * update windows section * front page and tutorial updates * windows clarity * newproject start refine * drop global datasources other than boundaries, including from simpleFunction * Deprecate polygonPreprocessorSmokeTest, create polygonSmokeTest function that allows examples to be loaded by caller, whether they want to pass in features or sketches * newproject updates * genRandomFeature: fix outdir to vary whether sketch or feature type output * drop bbox and planning init questions and basic properties remove template-ocean-eez from testing * drop template question from init, update tutorial method for getting bbox of datasource * rename genRandomFeature script to genRandomPolygon * remove old genRandom scripts on upgrade * strip down simpleFunction and blankFunction, add to newproject * tune simpleFunction and blankFunction, requireProperties not required as Handler option * Fix genRandomPolygon name bug, storybook no open browser, remove default metric group from base-project, add create report section to newproject tutorial, refine Precalc and Testing * migrate to loadFgb internally * drop deprecated loadCogWindow and bboxToPixelEdge * include dataproviders as top-level export * switch newProject to sampleProject, and add start of sampleProject, drop down base README, highlight concepts * update newproject, sampleproject, regen api docs with dataproviders changes * fix broken links, refine sampleproject layout * dataImport: conditional ask additional properties question * tune dataImport * tutorial bump gp version, sort init language alphabetical * unregister blankFunction in blank project default config, add SimpleReport section. * breaking: deprecate genClipLoader, remove genPreprocessor and clipToPolygonFeatures, replace with clipToPolygonFeatures, genClipToPolygonFeatures, clipToPolygonDatasources and genClipToPolygonDatasources * code comments * nit * update example data link * add validatePolygon preprocessor, with ensureValidPolygon helper, typedoc update * clean up polygonSmokeTest doc * sampleproject updates * move preprocessor test features to base, remove test output, so that we don't hit cloudfront VectorDataSource for every smoke test run, which can error and be brittle * add clipToOceanEez to basic project, add unit tests for preprocessors with mocks, add numberFormat helper, decrease default memory on preprocessors * preprocessing docs. other doc updates on rebuild * drop use of dataproviders module, switch remaining fgbFetchAll to loadFgb, clean up preprocessing doc * update newproject * switch back to separate dataproviders module to isolate node-fetch use, causing VectorDataSource metadata fetch issue. * rollback flatgeobuf to 3.33.0 for now * migrate last dataprovider use * upgrade flatgeobuf, remove unused webstreams polyfill, drop node-fetch polyfill * add vitest-fetch-mock dep to base project * add back dataproviders module to top-level export and migrate use * Fix SimpleCard error and exports, add roundDecimalFormat helper function, debug false default for smoke tests * Fix i18nAsync bug using base english strings instead of letting component render its own, drop report client export from SimpleCard, allow ts-ignore for mock issue * update base english terms * update sampleproject, rebuild api docs * simplify sketchOrCollection variable in SimpleCard and add translation to partials * update newproject * bump next version * newproject nit * simplify SimpleCard, cleanup BlankCard, update translation * bump gp * move upgrade doc to basic tutorials, add gp-workspace upgrade instructions to setup tutorial * remove .story-cache folders from dist build, update template-ocean-eez smoke test output * move upgrade doc to basic tutorials, add gp-workspace upgrade instructions to setup tutorial * remove .story-cache folders from dist build, update template-ocean-eez smoke test output * move blank functions over to templace-ocean-eez, out of temlate-blank-project * add back simplefunction smoke test output * update story-cache to copy from eez template * template functions cleanup * switch vectorFunction to use higher level getFeatures instead of loadFgb, in order to make use of datasource filters * genReportStories - replace spaces in sketch name with underscore * better link concepts * improve transform of sketch name to valid variable name * add sketch prefix to report story variable name * fix sketch variable name in genReportStories * Add Card to createReport component name plus other output polish, drop extra prepublish step, it's already run on publish * Add user attributes to generated sample sketches, nit createReport output * add user attributes to genRandomPolygons * update genRandomPolygon notes, add simple-card-view image * genRandomPolygon: start ids at 1 * Add simple report modifications * add getFgbPath method to projectClientBase, update createFunction output, add to sampleproject * Fix getFgbPath * Add getFeaturesForSketchBboxes helper, clarify MetricGroup type property, doc rebuild, version bump and enhancements * fix export * Make MetricGroup type property optional, rebuild docs * doc updates * update getFeaturesForBboxes with split feature, add splitBBoxAntimeridian and cleanBBox helpers, rename split.js to antimeridian.js. Needs more tests. Remove antimeridian tests from getFeatures * antimeridian code example * doc updates * writeResultOutput, switch to ensureDirSync, flatgeobuf test cleanup * createFunction - default to async, createClient - look in ocean eez template dir for assets * undeprecate clip function, createClient - fix story paths, sampleProject - finish coral reef report, lots of code comment updates * export intersectInChunks, intersectInChunksArea, intersectSum. Move them over to clip toolbox, build up docs * bump gp in docs * update toolbox * shape up toolbox doc, shift subdividing into data import doc * shuffle couple functions, toolbox doc * projectClient - add getClassDatasource helper function, drop requirement to define type in metricGroup schema, refine benthic report * getFeaturesForSketchBBoxes - create options argument * benthic report * createReport: switch vector function to use getFeaturesForSketchBBoxes and getClassDatasource, fix compName to have Card in all * projectClient: add getClassKey helper * bump doc gp version * bug - don't use datasource classKey in vectorFunction * vectorFunction fix bug in last update, rasterFunction migrate to getClassDatasource * MetricGroup schema - ensure at least one class item present * create:report clarify raster stat options, start octocoral report * metricGroupSchema: require datasourceId and classKey at metric group level or data class level, improve create:report raster metric descriptions. * rename getClassDatasouce to getMetricGroupDatasource, rename getClassKey to getMetricGroupClassKey, switch them to use options parameter, refactor underlying metricGroup helpers to return class level or top level objectives but not both * remove default objective * sampleproject update * improve precalc logging, use loadCog directly, * Consolidate report pages into TabReport, drop ViabilityPage * update sampleProject * doc rebuild * projectClientBase - fix getMetricGroupDatasource and getMetricGroupClass key error when classId not defined * merge advanced concepts into concepts page, update CLI doc, update architecture, other comment nits * update sampleProject, simplify getting started docs * update sampleproject, add preprocessing images, bump to 7x-docs.128 * broken link fixes * polish sample tutorial * sampleproject polish * refactor newproject, remove reportclient doc * rebuild docs
- Loading branch information