Skip to content

feat(map-styles): introduce new library '@siemens/map-styles'#2080

Open
spliffone wants to merge 1 commit into
mainfrom
feat/introduce-maps-theme-library
Open

feat(map-styles): introduce new library '@siemens/map-styles'#2080
spliffone wants to merge 1 commit into
mainfrom
feat/introduce-maps-theme-library

Conversation

@spliffone
Copy link
Copy Markdown
Member

@spliffone spliffone commented May 19, 2026

Introduce a reusable map theme library to share the map style.


Documentation.
Examples.
Dashboards Demo.
Playwright report.

Coverage Reports:

Code Coverage

@spliffone spliffone requested review from a team as code owners May 19, 2026 08:19
@spliffone spliffone added the enhancement Topics that make the project better label May 19, 2026
@spliffone spliffone added this to the 49.x milestone May 19, 2026
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request introduces a new library, @siemens/maps-theme, which provides Siemens-branded map styles for MapLibre GL and includes Angular signals for reactive theme switching. The changes also migrate existing styling logic from the maps-ng component to this shared library. Feedback focuses on improving the monorepo developer experience by pointing path mappings to source files instead of build artifacts, correctly categorizing maplibre-gl as a peer dependency, and ensuring the library's public entry point serves as a pure re-export barrel.

Comment thread tsconfig.json Outdated
Comment thread projects/maps-theme/package.json Outdated
Comment thread projects/map-styles/public-api.ts
@spliffone spliffone force-pushed the feat/introduce-maps-theme-library branch 4 times, most recently from 2aaae20 to 41d260a Compare May 19, 2026 10:21
Copy link
Copy Markdown
Member

@dr-itz dr-itz left a comment

Choose a reason for hiding this comment

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

I like it 💯

Comment thread projects/maps-theme/common/signals.ts Outdated
Comment thread projects/maps-theme/README.md Outdated
@spliffone spliffone force-pushed the feat/introduce-maps-theme-library branch from e8fca22 to da70979 Compare May 19, 2026 11:59
Comment thread projects/maps-theme/common/signals.ts Fixed
Comment thread projects/maps-theme/common/signals.ts Fixed
@spliffone spliffone force-pushed the feat/introduce-maps-theme-library branch from da70979 to a69d626 Compare May 19, 2026 12:44
Comment thread tsconfig.json Outdated
@kfenner kfenner requested a review from chintankavathia as a code owner May 20, 2026 17:00
@spliffone spliffone force-pushed the feat/introduce-maps-theme-library branch 4 times, most recently from 77b089b to add28c5 Compare May 22, 2026 09:33
@spliffone spliffone requested a review from kfenner May 22, 2026 09:37
@spliffone
Copy link
Copy Markdown
Member Author

@kfenner Please have a look I am a bit concerned that we use a peerDependency in maps instead of a real dependency.

@spliffone spliffone changed the title feat(maps-theme): introduce new library '@siemens/maps-theme' feat(map-styles): introduce new library '@siemens/map-styles' May 22, 2026
@spliffone spliffone force-pushed the feat/introduce-maps-theme-library branch from add28c5 to 7d178f8 Compare May 22, 2026 11:47
Comment thread projects/map-styles/README.md Outdated
Comment thread projects/map-styles/common/map-style.spec.ts Outdated
Comment thread projects/map-styles/package.json Outdated
Comment thread projects/maps-ng/tsconfig.lib.json
Comment thread package.json
Comment thread projects/map-styles/common/map-style.spec.ts Fixed
@spliffone spliffone force-pushed the feat/introduce-maps-theme-library branch 2 times, most recently from b5aede4 to 79a22c0 Compare May 27, 2026 13:17
Comment thread angular.json Outdated
@spliffone spliffone force-pushed the feat/introduce-maps-theme-library branch from 17936da to 32b0907 Compare May 27, 2026 17:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Topics that make the project better

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants