-
Notifications
You must be signed in to change notification settings - Fork 11
Feature/interface signaller UI #1076
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
Open
lukasrad02
wants to merge
143
commits into
hpi-sam:dev
Choose a base branch
from
lukasrad02:feature/interface-signaller-ui
base: dev
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 131 commits
Commits
Show all changes
143 commits
Select commit
Hold shift + click to select a range
96eb4bd
Add signaller modal
lukasrad02 9cfabf9
WIP
lukasrad02 0b7d2ec
Add working layer system
lukasrad02 bd68667
Detect hotkey collisions case insensitively
lukasrad02 b9ad151
Add hotkey indicator
lukasrad02 c4fa656
Add hotkey indicator to shared module
lukasrad02 032bf98
Use replay subject to detect state in indicator
lukasrad02 b89dd6b
Implement region selection
lukasrad02 a818017
Scroll to selected region
lukasrad02 e41e6fe
Allow removing hotkeys by hotkey instance
lukasrad02 358fb3b
Add hotkey for radiograms and auto-select region
lukasrad02 4f5652d
Add component for region overview
lukasrad02 5340c9c
Reset selected region when it is deleted
lukasrad02 0148616
Show current leader
lukasrad02 db0b501
Use hotkeys service in searchable dropdown
lukasrad02 a4fa149
Show info+command columns or warning without leader
lukasrad02 c8d1365
Size columns evenly
lukasrad02 c88a821
WIP: Allow requesting information
lukasrad02 c84495b
Run prettier
lukasrad02 7217295
Add keys to radiograms
lukasrad02 d0a7879
Add UI to query information
lukasrad02 fc4d700
Add personnel count to requestable information
lukasrad02 79071b5
Add transfer connections to requestable information
lukasrad02 e88cdb3
Remove unnecessary initializers and assertions
lukasrad02 c01bf64
Add required resources to requestable information
lukasrad02 d9598ad
Show 0 for not required resources
lukasrad02 02977e0
Remove finished todo comment
lukasrad02 063e51c
Refactor information requests
lukasrad02 20048f0
Fix some details after the refactoring
lukasrad02 54fb005
Remove comma after interaction name
lukasrad02 8e4c4fe
Implement secondary option and adjustable labels
lukasrad02 c1582a7
Replace hotkey library
lukasrad02 42cf05c
Use callback from hotkey
lukasrad02 28f6fc6
WIP
lukasrad02 d488a04
Allow configuration of recurring reports
lukasrad02 bb7b211
Add component fpr editing of event based reports
lukasrad02 fb8f7bc
Configure event based reports with hotkeys
lukasrad02 e4408a8
Make details modal reusable
lukasrad02 f7af3e5
Remove obsolete code
lukasrad02 dc57330
Allow configuration of all recurring reports
lukasrad02 faca4f3
Make transfer connections editable
lukasrad02 f20694b
Allow `+` as hotkey
lukasrad02 9e9f56c
Remove hotkey layers on destroy
lukasrad02 f58d542
Ensure details modal can be closed with escape
lukasrad02 bfe9db4
Prevent using hotkeys as text input
lukasrad02 ec9beda
Display shift key as up arrow
lukasrad02 ba262cc
Add keyboard navigation for transfer connections
lukasrad02 a26902f
Run prettier
lukasrad02 85602b1
Fix cypress test
lukasrad02 ebb623f
Add virtual region for EOC
lukasrad02 e2385bb
Create subfolder for details modal
lukasrad02 78d1a14
Fix tab index in details modal
lukasrad02 998d8aa
Allow configuration of wich trays to transport
lukasrad02 ff1ea66
Fix tab index in transfer point editor
lukasrad02 2afc8b6
Add patient status dropdown
lukasrad02 c61afe4
Add tab index
lukasrad02 e4e1ec5
Prevent submission of outer forms
lukasrad02 f86fb82
Add patient status dropdown to module
lukasrad02 667e8f1
Allow starting transport with maximum category
lukasrad02 8e450ed
Emit selected option instead of identifier
lukasrad02 c17e5e7
Add modal to send vehicles
lukasrad02 b34f2af
Remove todo
lukasrad02 1e87d02
Add modal to configure request target
lukasrad02 a14ba07
Some small fixes to provide vehicles editor
lukasrad02 dda45b7
Swap letters and digits for hotkeys
lukasrad02 502f302
Rename identifier property to key
lukasrad02 276dde4
Unify dropdown options and signaller interactions
lukasrad02 955d080
Remove obsolete code
lukasrad02 3989ed6
Change way inactive hotkeys are hidden
lukasrad02 ab56963
Implement interaction filter
lukasrad02 d21c9b0
Enable filter for information interactions
lukasrad02 ad2423f
Enable filter for command interactions
lukasrad02 3a39c39
Improve explanation for editTransferConnections
lukasrad02 be14e33
Wording: Improve missing transfer connection
lukasrad02 5d80e50
Wording: use other word for location
lukasrad02 96636fc
Wording: Disambiguation between staging/providing
lukasrad02 933e053
Wording: name treatment progress consistently
lukasrad02 85ed4d1
Wording: transfer progress in managed regions
lukasrad02 2f5a47c
Improve connection editor
lukasrad02 e45e8f4
Only embed radiograms of the current region
lukasrad02 232a4d8
Add regions overview tab
lukasrad02 9beb6c3
Show table of all radions and their leaders
lukasrad02 68c61bc
Indicate loading and success state of commands
lukasrad02 6ff522b
Store whether alarm groups have been sent
lukasrad02 5531751
Reorganize HTML templates
lukasrad02 5ea6344
Allow sending alarm groups from eoc tab
lukasrad02 55d73ab
Hide accept/deny buttons until radiogram is accepted
lukasrad02 7c2bcf5
Highlight total number of patients in radiogram
lukasrad02 9d85a96
Disable hotkeys when component is removed
lukasrad02 91357e5
Disable all lower hotkeys in details modal
lukasrad02 fc42632
Provide vehicles by type instead of specific ones
lukasrad02 c839b51
Disable alarm group selection if there are no groups
lukasrad02 59db04f
Update details modal hotkey description
lukasrad02 ebd492f
Add information requests to the EOC
lukasrad02 5213bee
Send alarm groups from EOC tab in signaller modal
lukasrad02 c8468b7
Remove finished todos
lukasrad02 04bb0ab
Blur unread radiograms
lukasrad02 703a885
Add return button to radiograms
lukasrad02 4e27cfe
Add vehicle occupations as reportable information
lukasrad02 0097993
Fix typos in some radiogram components
lukasrad02 521613a
Increase blur radius of unread radiograms
lukasrad02 4a0f5a3
Fix broken backend test
lukasrad02 a14b075
Fix alarm group cypress tests
lukasrad02 0278083
Improve command description
lukasrad02 fefd123
Fix transport editor modal title
lukasrad02 5f0907c
Fix hotkey collision
lukasrad02 15dace3
Fix region selector on small screens
lukasrad02 e5ce102
Adapt to dependency updates
lukasrad02 bbdc384
Fix some linter warnings, run prettier
lukasrad02 09c30c3
Adapt to changed send alarm group action
lukasrad02 f7847d6
Add migration
lukasrad02 0b2a0d4
Handle empty resource requests correctly
lukasrad02 4099e1f
Remove unused reference, correctly handle hotkeys
lukasrad02 b37f263
Improve error and success messages
lukasrad02 bd6a3c9
Extract magic number to constant
lukasrad02 0ed0f60
Remove unnecessary condition
lukasrad02 a347472
Make error message actually indicate an error
lukasrad02 b0e7e7a
Fix typo
lukasrad02 42b6d02
Use ngbTooltip instead of title
lukasrad02 ac0f9e2
Add missing hotkey
lukasrad02 343695f
Adhere to naming convention
lukasrad02 de38327
Consistent variable naming
lukasrad02 725d48a
Remove all hotkey layers on destroy
lukasrad02 f6ea4ad
Fix NG0100 in hotkey indicator
lukasrad02 7163fdc
Add missing autoClose attribute
lukasrad02 97dcc6a
Remove unused import, fix TS error
lukasrad02 3c49bd8
Remove hotkey, restore previous layout
lukasrad02 c439f7f
Allo use of tabindex attribute
lukasrad02 2623a06
Distinguish keys on radiograms
lukasrad02 fbd0e58
Merge branch 'dev' into feature/interface-signaller-ui
lukasrad02 104c9c8
Add IFS UI to changelog
lukasrad02 8375922
Fix typo in changelog
lukasrad02 255fcd5
Fix type assertion
lukasrad02 9b8e6cd
Hide hotkeys in details modal if they're not used
lukasrad02 24d684f
Add unit to interval variables
lukasrad02 7639167
Add padding after label
lukasrad02 544ddec
Add type constraint
lukasrad02 ada2e29
Correctly handle errors from both actions
lukasrad02 69ceb28
Use more appropriate, domain-specific wording
lukasrad02 76f8912
Make hotkey callback parameters optional
lukasrad02 1d63b5c
Simplify and explain condition
lukasrad02 9b6fa4d
Support multiple, whitespace-separated filters
lukasrad02 2e497a8
Remove todo (moved to #1093)
lukasrad02 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
93 changes: 43 additions & 50 deletions
93
...ise/shared/emergency-operations-center/eoc-log-interface/eoc-log-interface.component.html
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,54 +1,47 @@ | ||
<div class="card"> | ||
<h5 class="card-header">Einsatztagebuch</h5> | ||
|
||
<div class="p-3 border-bottom"> | ||
<textarea | ||
[(ngModel)]="newLogEntry" | ||
[appAutofocus]="true" | ||
maxlength="65535" | ||
placeholder="Schreiben Sie den neuen Eintrag in dieses Feld..." | ||
class="form-control no-validation mb-3" | ||
></textarea> | ||
<button | ||
type="button" | ||
class="btn btn-primary w-100" | ||
[disabled]="newLogEntry === ''" | ||
(click)="addEocLogEntry()" | ||
> | ||
Eintrag speichern | ||
</button> | ||
<div class="p-3 border-bottom"> | ||
<textarea | ||
[(ngModel)]="newLogEntry" | ||
[appAutofocus]="true" | ||
maxlength="65535" | ||
placeholder="Schreiben Sie den neuen Eintrag in dieses Feld..." | ||
class="form-control no-validation mb-3" | ||
></textarea> | ||
<button | ||
type="button" | ||
class="btn btn-primary w-100" | ||
[disabled]="newLogEntry === ''" | ||
(click)="addEocLogEntry()" | ||
> | ||
Eintrag speichern | ||
</button> | ||
</div> | ||
<ng-container *ngIf="eocLogEntries$ | async as eocLogEntries"> | ||
<div *ngIf="eocLogEntries.length === 0" class="text-muted p-3"> | ||
Es sind noch keine Einträge vorhanden. | ||
</div> | ||
<ng-container *ngIf="eocLogEntries$ | async as eocLogEntries"> | ||
<div *ngIf="eocLogEntries.length === 0" class="text-muted p-3"> | ||
Es sind noch keine Einträge vorhanden. | ||
</div> | ||
|
||
<ul | ||
*ngIf="eocLogEntries.length > 0" | ||
style="max-height: 50vh; overflow: auto" | ||
class="list-group list-group-flush" | ||
> | ||
<li | ||
*ngFor="let eocLogEntry of eocLogEntries" | ||
class="list-group-item" | ||
> | ||
<div class="row"> | ||
<div class="col-2"> | ||
<span class="fw-bold"> | ||
{{ eocLogEntry.exerciseTimestamp | formatDuration }} | ||
</span> | ||
<br /> | ||
von | ||
<span class="font-monospace"> | ||
{{ eocLogEntry.clientName }} | ||
</span> | ||
</div> | ||
<ul | ||
*ngIf="eocLogEntries.length > 0" | ||
style="max-height: 50vh; overflow: auto" | ||
class="list-group list-group-flush" | ||
> | ||
<li *ngFor="let eocLogEntry of eocLogEntries" class="list-group-item"> | ||
<div class="row"> | ||
<div class="col-2"> | ||
<span class="fw-bold"> | ||
{{ eocLogEntry.exerciseTimestamp | formatDuration }} | ||
</span> | ||
<br /> | ||
von | ||
<span class="font-monospace"> | ||
{{ eocLogEntry.clientName }} | ||
</span> | ||
</div> | ||
|
||
<div class="col" style="white-space: pre-wrap"> | ||
{{ eocLogEntry.message }} | ||
</div> | ||
<div class="col" style="white-space: pre-wrap"> | ||
{{ eocLogEntry.message }} | ||
</div> | ||
</li> | ||
</ul> | ||
</ng-container> | ||
</div> | ||
</div> | ||
</li> | ||
</ul> | ||
</ng-container> |
82 changes: 0 additions & 82 deletions
82
...cy-operations-center/send-alarm-group-interface/send-alarm-group-interface.component.html
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.