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

Feature/external dataset subscription #1081

Merged
merged 6 commits into from
Jan 19, 2024

Conversation

cohansen
Copy link
Contributor

@cohansen cohansen commented Jan 9, 2024

Closes #932.

This PR adds a subscription to the plan_dataset table and retrieves the metadata for each plan as they're added to the database. The workflow would be:

  1. A user creates a plan.
  2. An external dataset is loaded into the DB.
  3. Without refreshing the user can now see the external dataset's name in the sidebar and when it is selected the data will load.

There's a concern about loading large profiles as well so that still works as it used to.

@cohansen cohansen self-assigned this Jan 9, 2024
@cohansen cohansen requested a review from a team as a code owner January 9, 2024 00:19
@cohansen cohansen force-pushed the feature/external-dataset-subscription branch from abcdcff to 017bc53 Compare January 9, 2024 00:23
@cohansen cohansen force-pushed the feature/external-dataset-subscription branch from 4b6be82 to cd74b87 Compare January 18, 2024 17:43
Copy link
Collaborator

@duranb duranb left a comment

Choose a reason for hiding this comment

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

lgtm! thank you!

@cohansen cohansen force-pushed the feature/external-dataset-subscription branch from cd74b87 to 2160567 Compare January 19, 2024 20:58
@cohansen cohansen merged commit 59449e4 into develop Jan 19, 2024
4 checks passed
@cohansen cohansen deleted the feature/external-dataset-subscription branch January 19, 2024 21:07
JosephVolosin pushed a commit that referenced this pull request Aug 20, 2024
* Fix external resource fetching sim dataset id argument.

* Added a query just to get external dataset names to populate view modification

* Added a type for our external dataset query and modified the query to use its own flag

* Removed fetchingResourcesExternalNames for now

* Added a subscription for external datasets so you don't have to refresh the UI for them to appear

* Moved resource name gathering code back to the TimelineEditorPanel

---------

Co-authored-by: Aaron Plave <aaron.plave@jpl.nasa.gov>
JosephVolosin pushed a commit that referenced this pull request Oct 21, 2024
* Fix external resource fetching sim dataset id argument.

* Added a query just to get external dataset names to populate view modification

* Added a type for our external dataset query and modified the query to use its own flag

* Removed fetchingResourcesExternalNames for now

* Added a subscription for external datasets so you don't have to refresh the UI for them to appear

* Moved resource name gathering code back to the TimelineEditorPanel

---------

Co-authored-by: Aaron Plave <aaron.plave@jpl.nasa.gov>
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.

Need to refresh Aerie to see data added as external timeline
3 participants