Skip to content

Commit

Permalink
Merge pull request #1 from conterra/ui-improvements
Browse files Browse the repository at this point in the history
UI improvements
  • Loading branch information
cherry13579 authored Dec 3, 2024
2 parents 7a45fdb + 3755470 commit ad5a567
Show file tree
Hide file tree
Showing 16 changed files with 644 additions and 558 deletions.
2 changes: 1 addition & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ mapappsBrowserSync.registerTask({
port: localOverrides?.port ?? 9090,
// activate https protocol, generates a self signed certificate for "localhost"
// https://browsersync.io/docs/options#option-https
https: localOverrides?.https ?? false,
https: localOverrides?.https ?? true,

// to prevent auto open of browser, set this to false
urlToOpen: localOverrides?.openBrowser ?? true,
Expand Down
8 changes: 8 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,14 @@
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>de.conterra.sdi-extension</groupId>
<artifactId>ct-sdi-extension-js</artifactId>
<version>5.6.3</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<pluginManagement>
<plugins>
Expand Down
15 changes: 12 additions & 3 deletions src/main/js/apps/sample/app.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@
"search-ui",
"locator-store",
"toc",
"dn_portalitemloader"
"dn_portalitemloader",
"sdi_loadservice"
]
},
"bundles": {
Expand All @@ -35,7 +36,8 @@
{
"id": "arcgis",
"title": "ArcGIS Online",
"url": "https://arcgis.com"
"url": "https://arcgis.com",
"authMode": "auto"
}
]
}
Expand Down Expand Up @@ -131,7 +133,7 @@
"helloTool",
"IMPRINT_Imprint_CustomInfoTool",
"IMPRINT_Imprint_CustomInfoTool_mobile",
"portalContentToggleTool"
"portalItemLoaderToggleTool"
],
"registerWidget": {
"widgetRole": "drawer_button"
Expand All @@ -147,6 +149,13 @@
}
]
}
},
"toolrules": {
"ToolActiveStateManager": {
"activateOnStartToolIds": [
"portalItemLoaderToggleTool"
]
}
}
}
}
10 changes: 4 additions & 6 deletions src/main/js/bundles/README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
# dn_portalitemloader

This bundle allows to add portal content
This bundle allows to add portal content to your map.apps app.

## Usage

1. First you need to add the bundle dn_mapapps-portal-item-loader to your app.
2. Then you can configure it.
3. The last thing you need to do is add the portalContentToggleTool


3. The last thing you need to do is add the portalItemLoaderToggleTool

### Configurable Components of dn_portalitemloader:

Expand Down Expand Up @@ -100,8 +98,8 @@ This bundle allows to add portal content
"title": "${ui.sortByFields.num-comments}"
},
{
"id": "num-view",
"title": "${ui.sortByFields.num-view}"
"id": "num-views",
"title": "${ui.sortByFields.num-views}"
}
]
}
Expand Down
197 changes: 0 additions & 197 deletions src/main/js/bundles/dn_portalitemloader/PortalContentController.ts

This file was deleted.

Loading

0 comments on commit ad5a567

Please sign in to comment.