Skip to content

Conversation

@ManushiM
Copy link
Collaborator

Guide 3 of 4, introduction to briefings.

Closes https://github.com/ArcGIS/geosaurus/issues/12370


Checklist

Please go through each entry in the below checklist and mark an 'X' if that condition has been met. Every entry should be marked with an 'X' to be get the Pull Request approved.

  • All imports are in the first cell?
    • First block of imports are standard libraries
    • Second block are 3rd party libraries
    • Third block are all arcgis imports? Note that in some cases, for samples, it is a good idea to keep the imports next to where they are used, particularly for uncommonly used features that we want to highlight.
  • All GIS object instantiations are one of the following?
    • gis = GIS()
    • gis = GIS('home') or gis = GIS('pro')
    • gis = GIS(profile="your_online_portal")
    • gis = GIS(profile="your_enterprise_portal")
  • If this notebook requires setup or teardown, did you add the appropriate code to ./misc/setup.py and/or ./misc/teardown.py?
  • If this notebook references any portal items that need to be staged on AGOL/Python API playground, did you coordinate with a Python API team member to stage the item the correct way with the api_data_owner user?
  • If the notebook requires working with local data (such as CSV, FGDB, SHP, Raster files), upload the files as items to the Geosaurus Online Org using api_data_owner account and change the notebook to first download and unpack the files.
  • Code simplified & split out across multiple cells, useful comments?
  • Consistent voice/tense/narrative style? Thoroughly checked for typos?
  • All images used like <img src="base64str_here"> instead of <img src="https://some.url">? All map widgets contain a static image preview? (Call mapview_inst.take_screenshot() to do so)
  • All file paths are constructed in an OS-agnostic fashion with os.path.join()? (Instead of r"\foo\bar", os.path.join(os.path.sep, "foo", "bar"), etc.)
  • Is your code formatted using Jupyter Black? You can use Jupyter Black to format your code in the notebook.
  • If this notebook showcases deep learning capabilities, please go through the following checklist:
    • Are the inputs required for Export Training Data Using Deep Learning tool published on geosaurus org (api data owner account) and added in the notebook using gis.content.get function?
    • Is training data zipped and published as Image Collection? Note: Whole folder is zipped with name same as the notebook name.
    • Are the inputs required for model inferencing published on geosaurus org (api data owner account) and added in the notebook using gis.content.get function? Note: This includes providing test raster and trained model.
    • Are the inferenced results displayed using a webmap widget?
  • IF YOU WANT THIS SAMPLE TO BE DISPLAYED ON THE DEVELOPERS.ARCGIS.COM WEBSITE, ping @jyaistMap so he can add it to the list for the next deploy.

@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

Copy link
Collaborator

@kgalliher kgalliher 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. A couple of minor grammatical and formatting suggestions. The final cells don't work for me but I'm not sure that's a dealbreaker.

"source": [
"### Concept of slides and blocks\n",
"\n",
"Similar to traditional presentations with slides, `Briefing`s come with `BriefingSlide`s to add structured content to your Briefing.\n",
Copy link
Collaborator

Choose a reason for hiding this comment

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

Does Briefings need to be code highlighted?

@@ -0,0 +1,858 @@
{
Copy link
Contributor

@nanaeaubry nanaeaubry Jan 26, 2026

Choose a reason for hiding this comment

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

This is a good way to start. However, as a new user I would not understand where these classes are coming from or where the Image class popped up from and why you are creating it.

I would add the same intro as for the StoryMap content guide where you list all the available content classes for a Briefing. Since there are also Briefing specific classes those should be included and detailed here as well.

Users understand Briefings in a storymap editor context but that understanding needs to be mapped here since this could be the first time they are seeing any of this. (most likely is if they are looking at the intro guide).


Reply via ReviewNB

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I updated this with the same intro as the StoryMap guide, however are any of these content elements not supported for Briefing?

@@ -0,0 +1,858 @@
{
Copy link
Contributor

@nanaeaubry nanaeaubry Jan 26, 2026

Choose a reason for hiding this comment

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

Talk about Slides, talk about accessing the slides list, talk about how you access the cover and assign it to a variable to be edited, etc...


Reply via ReviewNB

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

done

@@ -0,0 +1,858 @@
{
Copy link
Contributor

@nanaeaubry nanaeaubry Jan 26, 2026

Choose a reason for hiding this comment

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

I would mention the themes enum class and how to see the values, also talk about the theme method and how you can assign a custom theme as well.


Reply via ReviewNB

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I added that intro with a visual for what these themes look like

@@ -0,0 +1,858 @@
{
Copy link
Contributor

@nanaeaubry nanaeaubry Jan 26, 2026

Choose a reason for hiding this comment

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

I would mention since we are saving for the first time you are assigning a title as well. Mention how saving is important after making changes since this is what pushed the changes back to the item in the organization


Reply via ReviewNB

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

done

@@ -0,0 +1,858 @@
{
Copy link
Contributor

@nanaeaubry nanaeaubry Jan 26, 2026

Choose a reason for hiding this comment

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

Same comment as above where Text came out of nowhere for users who have not done the intro to Storymap content guide. I would mention same things you mention in that guide here as well.

This makes guides richer and users don't have to go back and forth between them to understand the concepts.


Reply via ReviewNB

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

done

@@ -0,0 +1,858 @@
{
Copy link
Contributor

@nanaeaubry nanaeaubry Jan 26, 2026

Choose a reason for hiding this comment

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

I would also add a title to the slide to make it look cleaner since this is not a titleless slide


Reply via ReviewNB

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

can title for a slide be set using the following code ?

slide2.title = Text(
    text="Visual Glimpses",
    style=TextStyles.HEADING,
)

I tried with both this and providing the str value 'Visual Glimpses' but it throws a ValueError.

@@ -0,0 +1,858 @@
{
Copy link
Contributor

@nanaeaubry nanaeaubry Jan 26, 2026

Choose a reason for hiding this comment

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

Specify this is a WebMap item we are grabbing from our organization to add as a Map content to the Briefing.


Reply via ReviewNB

@@ -0,0 +1,858 @@
{
Copy link
Contributor

@nanaeaubry nanaeaubry Jan 26, 2026

Choose a reason for hiding this comment

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

Add comments on what you are doing with each cell. Or at very least add comments to the cell if markdown is not necessary


Reply via ReviewNB

@@ -0,0 +1,858 @@
{
Copy link
Contributor

@nanaeaubry nanaeaubry Jan 26, 2026

Choose a reason for hiding this comment

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

Same note here as for the Storymap. Refer to publish note on that guide.


Reply via ReviewNB

Copy link
Contributor

@nanaeaubry nanaeaubry left a comment

Choose a reason for hiding this comment

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

Add more info for everything. If markdowns are not present I think comments can be added to the code cells to make it clearer.

Users looking at this guide are more likely than not complete newbies to the module

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants