Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# v4.0.0 (2025-04-29)

* Remove Earthdata login button and user orders page.

# v3.1.0 (2025-04-15)

* Updates to cloud collections must have Harmony services available to be
Expand Down
6 changes: 0 additions & 6 deletions DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,6 @@ so accept the risk and continue if your web browser blocks the request.
> get the API URL from a drupal-provided variable to support injection of the
> current URL in non-NSIDC hosted DAT (when we move to earthdata landing pages)

> [!WARNING]
> The advice below does not work for the EDL login interaction on a local
> machine. Develop against a drupal VM for testing all interactions (see below)
You also need to run a proxy to Hermes: npx http-server -p 3000 -P https://nsidc.org/apps/orders/api
See the config in webpack.config.cjs. Would like to proxy directly to Hermes URL, but couldn't get that to work.

## Developer VM (no Drupal)

$ npm run build:dev # Build with source maps for development environment, and development
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ given data collection.

## Development notes

See [`DEVELOPMENT.md`](https://bitbucket.org/nsidc/everest-ui/src/master/DEVELOPMENT.md).
See [`DEVELOPMENT.md`](./DEVELOPMENT.md).
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "@nsidc/data-access-tools",
"version": "3.1.0",
"description": "UI to order NASA data and track order history.",
"repository": "https://bitbucket.org/nsidc/everest-ui",
"version": "4.0.0-alpha.1",
"description": "UI to order NASA data.",
"repository": "https://github.com/nsidc/data-access-tool-ui",
"files": [
"dist",
"CHANGELOG",
Expand Down
1 change: 0 additions & 1 deletion public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
<body>
<ul>
<li><a href="/order-data.html">Order data</a></li>
<li><a href="order-history.html">Order history</a></li>
</ul>
</body>
</html>
11 changes: 0 additions & 11 deletions public/order-history.html

This file was deleted.

121 changes: 0 additions & 121 deletions src/components/EDLButton.tsx

This file was deleted.

119 changes: 0 additions & 119 deletions src/components/EverestProfile.tsx

This file was deleted.

17 changes: 2 additions & 15 deletions src/components/EverestUI.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,15 @@ import { CmrGranule } from "../types/CmrGranule";
import { IDrupalDataset } from "../types/DrupalDataset";
import { GranuleSorting, IOrderParameters, OrderParameters } from "../types/OrderParameters";
import { OrderSubmissionParameters } from "../types/OrderSubmissionParameters";
import { EverestUser, EverestUserUnknownStatus } from "../types/User";
import { CMR_COUNT_HEADER,
cmrBoxArrToSpatialSelection, cmrCollectionRequest, cmrGranuleRequest,
cmrStatusRequest } from "../utils/CMR";
import { IEnvironment } from "../utils/environment";
import { hasChanged } from "../utils/hasChanged";
import { mergeOrderParameters } from "../utils/orderParameters";
import { updateStateInitGranules, updateUser, UserContext } from "../utils/state";
import { updateStateInitGranules } from "../utils/state";
import { CmrDownBanner } from "./CmrDownBanner";
import { CollectionDropdown } from "./CollectionDropdown";
import { EDLButton } from "./EDLButton";
import { GranuleList } from "./GranuleList";
import { OrderButtons } from "./OrderButtons";
import { OrderParameterInputs } from "./OrderParameterInputs";
Expand All @@ -44,7 +42,6 @@ export interface IEverestState {
orderSubmissionParameters?: OrderSubmissionParameters;
stateCanBeFrozen: boolean;
totalSize: number;
user: EverestUser;
}

export class EverestUI extends React.Component<IEverestProps, IEverestState> {
Expand Down Expand Up @@ -75,7 +72,6 @@ export class EverestUI extends React.Component<IEverestProps, IEverestState> {
orderSubmissionParameters: undefined,
stateCanBeFrozen: false,
totalSize: 0,
user: EverestUserUnknownStatus,
};

// allow easy testing of CMR errors by creating functions that can be called
Expand Down Expand Up @@ -105,8 +101,6 @@ export class EverestUI extends React.Component<IEverestProps, IEverestState> {
if (this.props.environment.inDrupal && this.props.environment.drupalDataset) {
this.initStateFromCollectionDefaults(this.props.environment.drupalDataset);
}

updateUser(this);
}

public shouldComponentUpdate(nextProps: IEverestProps, nextState: IEverestState) {
Expand All @@ -122,7 +116,6 @@ export class EverestUI extends React.Component<IEverestProps, IEverestState> {
"orderParameters",
"orderSubmissionParameters",
"totalSize",
"user",
]);

return propsChanged || stateChanged;
Expand Down Expand Up @@ -154,8 +147,6 @@ export class EverestUI extends React.Component<IEverestProps, IEverestState> {
<div id="collection-list">
{collectionDropdown}
</div>
<EDLButton
environment={this.props.environment} />
<div id="columns" ref={(n) => columnContainer = n}>
<SplitPane split="vertical" minSize={300} maxSize={-600}
defaultSize={this.getLocalStorageUIByKey("splitPosition", "50%")}
Expand Down Expand Up @@ -199,11 +190,7 @@ export class EverestUI extends React.Component<IEverestProps, IEverestState> {
</div>
);

return (
<UserContext.Provider value={{user: this.state.user, updateUser: () => updateUser(this)}} >
{appJSX}
</UserContext.Provider>
);
return appJSX;
}

private cmrStatusRequestUntilOK = () => {
Expand Down
Loading
Loading