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

PR to test auto changing target branch from main to develop #2460

Closed
wants to merge 58 commits into from

Conversation

robyngit
Copy link
Member

This is a branch to test the new GitHub action introduced in #2457.

I am opening this draft PR with main as the base branch. I expect the action to switch it to develop.


⚠️ DO NOT MERGE THIS PR! ⚠️


artntek and others added 30 commits May 16, 2024 10:24
Remove References to Morpho (and change contact email)
- Initial prettier setup; do not format yet
- Fix syntax errors in files that would prevent prettier from formatting them

Issue #2096
- Initial prettier formatting run

Issue #2096
globally defined packages are specified in eslint config

Issue #2096
Add a MapAssets collection to maintain a list of layers in a Map model
…-panel-layer-cats

Feature 2419 use shared expansion panel layer categories view
1. Replace current blue- and grey- color variables with primary- and neutral-
2. Remove all semantic color variables I created in the light theme update. Replace them with the primary- and neutral- variables that they reference.

This PR is a part of the plan for new color system. design doc in progress: https://docs.google.com/document/d/1Eb0uixayVeEgO0AcIEjDO6J5555A_CA1BK0nZp1s-uk/edit?usp=sharing We're doing this refactoring first because it will make the legend work a lot simpler.
yvonnesjy and others added 27 commits June 10, 2024 19:36
This container is intended to be a parent for the map and all overlays (ex. legend, scale bar, etc).
...to MapWidgetContainerView. This is so that this container can be reusable in the future if we swap out the underlying map framework.
1. Replace current blue- and grey- color variables with primary- and neutral-
2. Remove all semantic color variables I created in the light theme update. Replace them with the primary- and neutral- variables that they reference.

This PR is a part of the plan for new color system. design doc in progress: https://docs.google.com/document/d/1Eb0uixayVeEgO0AcIEjDO6J5555A_CA1BK0nZp1s-uk/edit?usp=sharing We're doing this refactoring first because it will make the legend work a lot simpler.
…iner

Legend 1: Create Cesium widget container
Co-authored-by: Robyn <26600641+robyngit@users.noreply.github.com>
Co-authored-by: Robyn <26600641+robyngit@users.noreply.github.com>
These scoped type names are used inconsistently throughout the code base and violate lint rules. I will not attempt a fix in this PR, and hold off until we have an agreed upon approach.
…mponents

Legend 2: Create legend components
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
To trigger action based on PR's head branch name instead base branch name, must use the github.head_ref context in a conditional. The branches property applies only to base branch.

Issue #2456
/** @lends MapModel.prototype */ {
/**
* Configuration options for a {@link MapModel} that control the
* appearance of the map, the data/imagery displayed, and which UI
* components are rendered. A MapConfig object can be used when
* initializing a Map model, e.g. `new Map(myMapConfig)`
* @namespace {Object} MapConfig
* @namespace {object} MapConfig
* @property {MapConfig#CameraPosition} [homePosition] - A set of
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [eslint] <jsdoc/valid-types> reported by reviewdog 🐶
Syntax error in type: MapConfig#CameraPosition

@@ -68,6 +77,8 @@
* viewfinder UI and viewfinder button in the toolbar. The ViewfinderView
* requires a Google Maps API key present in the AppModel. In order to
* work properly the Geocoding API and Places API must be enabled.
* requires a Google Maps API key present in the AppModel. In order to
* work properly the Geocoding API and Places API must be enabled.
* @property {Boolean} [toolbarOpen=false] - Whether or not the toolbar is
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [eslint] <jsdoc/check-types> reported by reviewdog 🐶
Invalid JSDoc @Property "toolbarOpen" type "Boolean"; prefer: "boolean".

reviewdog suggestion errorGitHub comment range and suggestion line range must be same. L82-L82 v.s. L42-L68

@@ -95,6 +106,7 @@
* predefined list of locations with an enabled list of layer IDs to be
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [eslint] <jsdoc/tag-lines> reported by reviewdog 🐶
Expected no lines between tags

reviewdog suggestion errorGitHub comment range and suggestion line range must be same. L106-L106 v.s. L42-L110

@@ -295,6 +312,7 @@
this.setUpInteractions();
} catch (error) {
console.log("Failed to initialize a Map model.", error);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [eslint] <no-console> reported by reviewdog 🐶
Unexpected console statement.

@@ -295,6 +312,7 @@
this.setUpInteractions();
} catch (error) {
console.log("Failed to initialize a Map model.", error);
console.log("Failed to initialize a Map model.", error);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [eslint] <no-console> reported by reviewdog 🐶
Unexpected console statement.

@@ -318,61 +311,54 @@
* @param {MapConfig#MapAssetConfig} [assetConfig] The initial values of the
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [eslint] <jsdoc/valid-types> reported by reviewdog 🐶
Syntax error in type: MapConfig#MapAssetConfig

@@ -642,33 +615,22 @@
* @since 2.19.0
* @param {MapConfig#CustomDateProperty} config - An object that defines the new
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [eslint] <jsdoc/valid-types> reported by reviewdog 🐶
Syntax error in type: MapConfig#CustomDateProperty

@@ -680,29 +642,15 @@
* @since 2.19.0
* @param {MapConfig#CustomStringProperty} config The object the defines the new
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [eslint] <jsdoc/valid-types> reported by reviewdog 🐶
Syntax error in type: MapConfig#CustomStringProperty

@@ -786,51 +734,46 @@
/**
* Given properties of a Feature model from this MapAsset, returns the color
* associated with that feature.
* @param {Object} properties The properties of the feature to get the color for;
* @param {object} properties The properties of the feature to get the color for;
* An object containing key-value mapping of property names to properties. (See
* the 'properties' attribute of {@link Feature#defaults}.)
* @returns {AssetColor#Color} The color associated with the given set of
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [eslint] <jsdoc/valid-types> reported by reviewdog 🐶
Syntax error in type: AssetColor#Color

* this MapAsset.
* @param {Feature} feature The feature to navigate to.
* @param {MapConfig#CameraPosition} target The target to navigate to.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [eslint] <jsdoc/valid-types> reported by reviewdog 🐶
Syntax error in type: MapConfig#CameraPosition

@robyngit robyngit closed this Jun 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants