Skip to content

Commit

Permalink
Merge pull request #191 from pixxelhq/master
Browse files Browse the repository at this point in the history
v5.10.9-Pixxel-7.2.0
  • Loading branch information
swarup-n authored Jan 11, 2025
2 parents 4a34270 + 54d8192 commit b9e2d36
Show file tree
Hide file tree
Showing 28 changed files with 60 additions and 30 deletions.
2 changes: 1 addition & 1 deletion distribution/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<parent>
<groupId>org.yamcs</groupId>
<artifactId>yamcs</artifactId>
<version>5.10.9-Pixxel-7.1.0</version>
<version>5.10.9-Pixxel-7.2.0</version>
</parent>

<artifactId>distribution</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion examples/cascading/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.yamcs.examples</groupId>
<artifactId>examples</artifactId>
<version>5.10.9-Pixxel-7.1.0</version>
<version>5.10.9-Pixxel-7.2.0</version>
</parent>

<artifactId>cascading</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion examples/ccsds-frames/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.yamcs.examples</groupId>
<artifactId>examples</artifactId>
<version>5.10.9-Pixxel-7.1.0</version>
<version>5.10.9-Pixxel-7.2.0</version>
</parent>

<artifactId>ccsds-frames</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion examples/cfdp-udp/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.yamcs.examples</groupId>
<artifactId>examples</artifactId>
<version>5.10.9-Pixxel-7.1.0</version>
<version>5.10.9-Pixxel-7.2.0</version>
</parent>

<artifactId>cfdp-udp</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion examples/cfdp/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.yamcs.examples</groupId>
<artifactId>examples</artifactId>
<version>5.10.9-Pixxel-7.1.0</version>
<version>5.10.9-Pixxel-7.2.0</version>
</parent>

<artifactId>cfdp</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion examples/perftest1/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.yamcs.examples</groupId>
<artifactId>examples</artifactId>
<version>5.10.9-Pixxel-7.1.0</version>
<version>5.10.9-Pixxel-7.2.0</version>
</parent>

<artifactId>perftest1</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion examples/perftest2/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.yamcs.examples</groupId>
<artifactId>examples</artifactId>
<version>5.10.9-Pixxel-7.1.0</version>
<version>5.10.9-Pixxel-7.2.0</version>
</parent>

<artifactId>perftest2</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion examples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.yamcs</groupId>
<artifactId>yamcs</artifactId>
<version>5.10.9-Pixxel-7.1.0</version>
<version>5.10.9-Pixxel-7.2.0</version>
</parent>

<groupId>org.yamcs.examples</groupId>
Expand Down
2 changes: 1 addition & 1 deletion examples/pus/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.yamcs.examples</groupId>
<artifactId>examples</artifactId>
<version>5.10.9-Pixxel-7.1.0</version>
<version>5.10.9-Pixxel-7.2.0</version>
</parent>

<artifactId>pus</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion examples/replication1/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.yamcs.examples</groupId>
<artifactId>examples</artifactId>
<version>5.10.9-Pixxel-7.1.0</version>
<version>5.10.9-Pixxel-7.2.0</version>
</parent>

<artifactId>replication1</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion examples/replication2/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.yamcs.examples</groupId>
<artifactId>examples</artifactId>
<version>5.10.9-Pixxel-7.1.0</version>
<version>5.10.9-Pixxel-7.2.0</version>
</parent>

<artifactId>replication2</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion examples/replication3/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.yamcs.examples</groupId>
<artifactId>examples</artifactId>
<version>5.10.9-Pixxel-7.1.0</version>
<version>5.10.9-Pixxel-7.2.0</version>
</parent>

<artifactId>replication3</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion examples/simulation/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.yamcs.examples</groupId>
<artifactId>examples</artifactId>
<version>5.10.9-Pixxel-7.1.0</version>
<version>5.10.9-Pixxel-7.2.0</version>
</parent>

<artifactId>simulation</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion examples/snippets/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.yamcs.examples</groupId>
<artifactId>examples</artifactId>
<version>5.10.9-Pixxel-7.1.0</version>
<version>5.10.9-Pixxel-7.2.0</version>
</parent>

<artifactId>snippets</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion examples/templates/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.yamcs.examples</groupId>
<artifactId>examples</artifactId>
<version>5.10.9-Pixxel-7.1.0</version>
<version>5.10.9-Pixxel-7.2.0</version>
</parent>

<artifactId>templates</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion packet-viewer/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<parent>
<groupId>org.yamcs</groupId>
<artifactId>yamcs</artifactId>
<version>5.10.9-Pixxel-7.1.0</version>
<version>5.10.9-Pixxel-7.2.0</version>
</parent>

<artifactId>packet-viewer</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.yamcs</groupId>
<artifactId>yamcs</artifactId>
<version>5.10.9-Pixxel-7.1.0</version>
<version>5.10.9-Pixxel-7.2.0</version>

<packaging>pom</packaging>

Expand Down
2 changes: 1 addition & 1 deletion simulator/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.yamcs</groupId>
<artifactId>yamcs</artifactId>
<version>5.10.9-Pixxel-7.1.0</version>
<version>5.10.9-Pixxel-7.2.0</version>
</parent>

<artifactId>simulator</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>org.yamcs</groupId>
<artifactId>yamcs</artifactId>
<version>5.10.9-Pixxel-7.1.0</version>
<version>5.10.9-Pixxel-7.2.0</version>
</parent>

<artifactId>tests</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion yamcs-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.yamcs</groupId>
<artifactId>yamcs</artifactId>
<version>5.10.9-Pixxel-7.1.0</version>
<version>5.10.9-Pixxel-7.2.0</version>
</parent>

<artifactId>yamcs-api</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion yamcs-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<parent>
<groupId>org.yamcs</groupId>
<artifactId>yamcs</artifactId>
<version>5.10.9-Pixxel-7.1.0</version>
<version>5.10.9-Pixxel-7.2.0</version>
</parent>

<artifactId>yamcs-client</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion yamcs-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<parent>
<groupId>org.yamcs</groupId>
<artifactId>yamcs</artifactId>
<version>5.10.9-Pixxel-7.1.0</version>
<version>5.10.9-Pixxel-7.2.0</version>
</parent>

<artifactId>yamcs-core</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion yamcs-tse/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<parent>
<groupId>org.yamcs</groupId>
<artifactId>yamcs</artifactId>
<version>5.10.9-Pixxel-7.1.0</version>
<version>5.10.9-Pixxel-7.2.0</version>
</parent>

<artifactId>yamcs-tse</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion yamcs-web/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<parent>
<groupId>org.yamcs</groupId>
<artifactId>yamcs</artifactId>
<version>5.10.9-Pixxel-7.1.0</version>
<version>5.10.9-Pixxel-7.2.0</version>
</parent>

<artifactId>yamcs-web</artifactId>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
:host {
--panel-width: 450px;
--collapsed-width: 65px; /* Width when collapsed */
}

.detail {
Expand All @@ -11,6 +12,23 @@
border-left: 1px solid rgba(0, 0, 0, 0.1);
box-sizing: border-box;
font: 400 12px / 20px Roboto, sans-serif;
transition: width 0.3s ease, padding 0.3s ease; /* Smooth collapse/expand */
}

.detail.collapsed {
width: var(--collapsed-width);
overflow: hidden;
padding: 0; /* Optional: Remove padding when collapsed */
}

.toggle-button {
position: relative;
left: -40px; /* Adjust to position outside the panel */
background-color: #fff;
border: 1px solid rgba(0, 0, 0, 0.1);
border-radius: 4px;
padding: 4px 8px;
cursor: pointer;
}

.detail.hidden {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
<div class="detail">
<ng-content />
</div>
<div class="detail" [class.collapsed]="isCollapsed">
<ya-button
appearance="primary"
(click)="isCollapsed = !isCollapsed"
style="padding-left: 5px; padding-top: 5px;"
>
{{ isCollapsed ? 'Expand' : 'Collapse' }}
</ya-button>
<ng-content *ngIf="!isCollapsed"></ng-content>
</div>
Original file line number Diff line number Diff line change
@@ -1,15 +1,20 @@
import { AsyncPipe } from '@angular/common';
import { ChangeDetectionStrategy, Component } from '@angular/core';
import { CommonModule } from '@angular/common';
import { YaButton } from '../button/button.component';

@Component({
standalone: true,
selector: 'ya-detail-pane',
templateUrl: './detail-pane.component.html',
styleUrl: './detail-pane.component.css',
styleUrls: ['./detail-pane.component.css'],
changeDetection: ChangeDetectionStrategy.OnPush,
imports: [
CommonModule,
AsyncPipe,
YaButton
],
})
export class YaDetailPane {
}
isCollapsed = false; // Track whether the detail panel is collapsed
}
2 changes: 1 addition & 1 deletion yamcs-xtce/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.yamcs</groupId>
<artifactId>yamcs</artifactId>
<version>5.10.9-Pixxel-7.1.0</version>
<version>5.10.9-Pixxel-7.2.0</version>
</parent>

<artifactId>yamcs-xtce</artifactId>
Expand Down

0 comments on commit b9e2d36

Please sign in to comment.