-
Notifications
You must be signed in to change notification settings - Fork 13
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
feat(room-plan): smart spaces integration #334
base: master
Are you sure you want to change the base?
Conversation
Preview Environment ready at https://pr-334.demo-phonebook.me |
@@ -16,6 +16,7 @@ We use [traefik](https://traefik.io/) under the hood. | |||
host: &host 'example.com' | |||
contactUrl: '<Your Contact Url, maybe an issue tracker?>' | |||
roomPlanningToolUrl: '<Url to your Room Planning Tool>' | |||
smartSpacesUrl: '<Url to your Smart Spaces Site>' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add the variable in the table below?
<div class="svg-container" [style.display]="floorPlanSVG ? 'block' : 'none'" #floorplanSVG></div> | ||
<!-- Container for Smart Spaces --> | ||
<ng-container *ngIf="floorplan == 'DDR7HausD24' && runtimeEnvironment.smartSpacesUrl"> | ||
<mat-slide-toggle |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should display it straight away, no asking or toggle required. Just fallback to the old roomplan if there is an error.
@mschwrdtnr how is it going? |
For adding something to the |
On my TODO-List, but will still not work because the known errors in smart-spaces application. |
are there any updates to this? can someone continue the work? |
@paule96 It still can't be implemented even if we resolve @DanielHabenicht suggestions, because the smart spaces application is not working for now. I wrote the accountable an email and he want to give me an info about the current state of his application. |
This is a preparation for the integration of smart spaces.
Currently it will be only shown for floor "DDR7HausD24". I know that this is not the best solution but it's just a small test-case.
To test this pr you can remove
*ngIf
in the ng-container and add a smartspaces url toruntime-environment.ts
.Before this solutions goes live we need to add the url for smart-spaces into our environment-variables
Do not merge until the error on the smartspaces site is fixed.