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

UI improvements #1

Merged
merged 13 commits into from
Dec 3, 2024
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
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
Loading