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

Develop #13

Merged
merged 35 commits into from
Apr 13, 2023
Merged
Changes from 1 commit
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
c66100e
Fixed wrong XML prefix
aljoshakoecher Dec 26, 2022
6184b92
Fixes current activity not properly being displayed
aljoshakoecher Dec 26, 2022
776675a
Moved dashboard code
aljoshakoecher Dec 26, 2022
c9d8b43
Updated fontawesome
aljoshakoecher Jan 4, 2023
38f1c8d
Added iconclass to message
aljoshakoecher Jan 4, 2023
93f1e43
Started working on dashboard cleanup
aljoshakoecher Jan 4, 2023
6bc5d70
Updated bootstrap
aljoshakoecher Jan 5, 2023
a2ae2ad
Added "ping" methods to API services
aljoshakoecher Jan 5, 2023
3656468
Added a settings overview to dashboard
aljoshakoecher Jan 5, 2023
fd565a0
Added capabilityType
aljoshakoecher Feb 15, 2023
b4f872f
Added settings overview and improved graphs
aljoshakoecher Feb 15, 2023
89131e9
Updated dependencies and settings
aljoshakoecher Feb 16, 2023
be925c0
Updated HTTP and swapped UUID against crypto
aljoshakoecher Feb 16, 2023
fa1ce0a
Fixing minor UI issues
aljoshakoecher Mar 13, 2023
f363942
Fixed IRI of GetOutputs
aljoshakoecher Mar 13, 2023
96a1000
refactor(ontology): New ontology IRIs
aljoshakoecher Apr 3, 2023
d7b3e31
refactor(shared): :building_construction: aligned command / transitio…
aljoshakoecher Apr 3, 2023
0dd6004
refactor(backend): :coffin: deleted old route
aljoshakoecher Apr 3, 2023
d10500c
chore(config): :wrench: adds conventional commit scopes
aljoshakoecher Apr 3, 2023
14b8e1e
feat(frontend): :sparkles: skill type charts
aljoshakoecher Apr 3, 2023
d0ea196
refactor(ontology): :recycle: REST skills according to new ontology
aljoshakoecher Apr 12, 2023
59bb562
chore(config): :wrench: Adds conventional commit scopes
aljoshakoecher Apr 12, 2023
6816588
feat(backend): :sparkles: retrieving capability process type
aljoshakoecher Apr 12, 2023
e300969
feat(backend): :sparkles: retrieving skill interface type
aljoshakoecher Apr 12, 2023
83d926b
feat(frontend): :sparkles: new pie charts for capability and skill types
aljoshakoecher Apr 12, 2023
307e724
refactor(frontend): :lipstick: sorting messages on dashboards by date
aljoshakoecher Apr 12, 2023
f148f28
feat(front&back): :sparkles: capability filter feature
aljoshakoecher Apr 12, 2023
da9697f
feat(frontend): :sparkles: warning messages and modal for GraphDB
aljoshakoecher Apr 12, 2023
44d938e
chore(config): :wrench: conventional commit scope front&back
aljoshakoecher Apr 12, 2023
bb6edd4
fix(frontend): :bug: fixed dropdowns
aljoshakoecher Apr 12, 2023
7061901
feat(frontend): :lipstick: link to GraphDB workbench
aljoshakoecher Apr 12, 2023
47e0fe4
refactor(frontend): :recycle: code clean up and miro UI changes
aljoshakoecher Apr 13, 2023
0894b38
refactor(frontend): :recycle: improved modal handling
aljoshakoecher Apr 13, 2023
5d430e8
fix(frontend): :bug: display of currently active instance
aljoshakoecher Apr 13, 2023
7e9f799
Merge pull request #12 from aljoshakoecher/refactoring/data-model
aljoshakoecher Apr 13, 2023
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
Prev Previous commit
Next Next commit
fix(frontend): 🐛 display of currently active instance
fixed display of currently active instance which previously had a bug that caused the overlay not to render when switching instances
  • Loading branch information
aljoshakoecher committed Apr 13, 2023
commit 5d430e8c9f5df6c9d44ccd38591fda5b6e831274
13 changes: 6 additions & 7 deletions frontend/src/shared/modules/bpmn-viewer/bpmn-viewer.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { ActivityInstanceTree } from '../../services/bpmn/process-instance.servi
export class BpmnViewerComponent implements AfterContentInit, OnDestroy {
private bpmnViewer: BpmnViewer;
private eventBus: any;

activeIds: string[]
@ViewChild('ref', { static: true }) private el: ElementRef;

@Input() set bpmnXml(bpmnXml: string) {
Expand All @@ -20,23 +20,22 @@ export class BpmnViewerComponent implements AfterContentInit, OnDestroy {
}
}

@Input() set activeActivityIds(activeActivityIds: string[]) {
@Input() set activeActivityIds(newIds: string[]) {
this.activeIds = newIds; // For some unknown reason, newIds has to be stored in a member variable and cannot be directly used

if (activeActivityIds) {
if (this.activeIds) {
this.eventBus.on('import.done', () => {
const overlays = this.bpmnViewer.get('overlays');
overlays.clear();


// attach an overlay to display the current activity
activeActivityIds.forEach(activeId => {

this.activeIds.forEach(activeId => {
overlays.add(activeId, {
position: {
bottom: 15,
left: -5
},
html:'<i style="font-size:2rem; color: rgba(10, 255, 141, 0.8)" class="fas fa-map-marker"></i>'
html:'<i style="font-size:2rem; color: rgba(10, 255, 141, 0.9)" class="fas fa-map-marker"></i>'
});
});
});
Expand Down