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

Beginning of External Event documentation #183

Merged
merged 5 commits into from
Oct 23, 2024
Merged

Conversation

JosephVolosin
Copy link
Contributor

This pull-request adds documentation for the external event feature being currently worked into Aerie. See the following pull-requests below for more information on the feature:

NASA-AMMOS/aerie#1513
NASA-AMMOS/aerie-ui#1396

@JosephVolosin JosephVolosin marked this pull request as ready for review August 28, 2024 19:17
@Mythicaeda
Copy link
Contributor

Please make the plan collaboration docs about external events link back to the main external events docs.

@JosephVolosin JosephVolosin force-pushed the external-events-docs branch 2 times, most recently from 690d128 to 9fbc6ac Compare October 22, 2024 14:51
Copy link
Contributor

Choose a reason for hiding this comment

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

Mind updating this screenshot to latest?

Copy link
Contributor

Choose a reason for hiding this comment

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

Not a blocker but would be nice to update this screenshot as well

}
```

*Note: Currently, External Sources only accept a `start_time` and an `end_time`, whereas External Events accept only a `start_time` and a `duration`. This may change in the future (i.e. External Events may accept a start time and an end time as well, for example). This is largely due to simplicity in implementation.*
Copy link
Contributor

Choose a reason for hiding this comment

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

This should be one of Info blocks (with the header Note)

External Sources are containers for External Events and the primary way that users interact with External Events. To get External Events into Aerie, an External Source must be uploaded that contains the event definitions inside. See [External Sources](#external-sources-1) below for more information.

#### External Event Types
External Event Types define the *typing* of each External Event. This typing typically groups External Events on the basis of the data they represent. For example, an External Event may be of the type `Ground Station Contact`, `Solar Flare`, or `Weather Forecast`.
Copy link
Contributor

Choose a reason for hiding this comment

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

Remove the wordtypically from here and L51. There isn't a meaningful instance where the rest of the sentence wouldn't apply, and this becomes more true as we add more metadata columns to the types.

Copy link
Collaborator

@dandelany dandelany left a comment

Choose a reason for hiding this comment

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

Looks good overall, I ran into a couple discrepancies in the tutorial which I'm pushing fixes for, noted below - then will approve.


<figure>
<img alt="External Sources pane with no associations, but showing a card with 'new' External Sources" src={externalEventsTutorialExternalSourcesEmpty} />
</figure>
Copy link
Collaborator

Choose a reason for hiding this comment

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

In my testing on the final merged version, the "new file has been uploaded" notification does not appear in this case. I think we changed the behavior here late in the review process to only show this for sources which actually affect the plan - ie. are tied to derivation groups already associated with the plan. I'll change the wording here a bit to reflect this and upload a new screenshot.

The notification did correctly appear when I added a new source to this group after it was already associated with the plan.


External events appear in the same layer type as activities, and as such share options with them inside of the timeline row editor.

There is a single option that is specific to external events: `Group By`. This allows the user to display the external events either as being grouped underneath the their respective external sources, or grouped underneath their respective external event types.
Copy link
Collaborator

Choose a reason for hiding this comment

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

For some reason when an external events row is added via the method in this tutorial, the "Group By" option does not appear in the Timeline Editor as expected. I think this is a bug, because it does appear in the automatically generated External Events row that shows up if you refresh the page. It's not a showstopper bug, but I'm going to comment out the paragraphs that mention "group by" here to avoid confusion & @JosephVolosin we can look into this for a follow up fix.

…s, temporarily comment out references to Group By for EE rows in Timeline Editor
Copy link
Collaborator

@dandelany dandelany left a comment

Choose a reason for hiding this comment

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

Pushed changes noted above - ready for release - merging!

@dandelany dandelany merged commit 207126c into develop Oct 23, 2024
1 check passed
@dandelany dandelany deleted the external-events-docs branch October 23, 2024 00:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

5 participants