Skip to content

Add some new functionality#817

Open
BigIskander wants to merge 13 commits intothomasnordquist:masterfrom
BigIskander:add_functionality
Open

Add some new functionality#817
BigIskander wants to merge 13 commits intothomasnordquist:masterfrom
BigIskander:add_functionality

Conversation

@BigIskander
Copy link

Add new functionality:

  1. Ability to save history data (last 100 observations) to text file.
  2. Ability to minimize the program to system tray.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds two user-facing features: exporting recent history values to a file and minimizing the Electron app to the system tray.

Changes:

  • Add “Minimize to tray” menu entry and tray lifecycle logic in the Electron main process.
  • Add “Save history” UI action to download history items as a local file.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 9 comments.

File Description
src/electron.ts Adds tray creation/destruction tied to window hide/show events.
src/MenuTemplate.ts Adds an application menu item to hide the focused window (“Minimize to tray”).
app/src/components/Sidebar/HistoryDrawer.tsx Adds client-side download/export of the history list via a generated data URL.

@BigIskander
Copy link
Author

Applied changes suggested by code review.

@github-actions
Copy link

✅ Mobile Demo Video Generated Successfully

Full Mobile Video (Pixel 6 - 412x914)

📥 Download Mobile Video (MP4) | GIF


📑 Mobile Video Segments

Click to expand mobile segments
1. MQTT Explorer on Mobile (5.1s)

MQTT Explorer on Mobile

2. Connect to MQTT Broker (7.9s)

Connect to MQTT Broker

3. Browse Topic Tree (8.9s)

Browse Topic Tree

4. View Message Details (6.8s)

View Message Details

5. Search Topics (9.2s)

Search Topics

6. JSON Message Formatting (9.6s)

JSON Message Formatting

7. Settings with Disconnect/Logout (2.6s)

Settings with Disconnect/Logout

8. Mobile-Friendly MQTT Explorer (4.5s)

Mobile-Friendly MQTT Explorer

Mobile videos recorded at 412x914 (Pixel 6 viewport). Videos will expire in 90 days.

@github-actions
Copy link

✅ Mobile Demo Video Generated Successfully

Full Mobile Video (Pixel 6 - 412x914)

📥 Download Mobile Video (MP4) | GIF


📑 Mobile Video Segments

Click to expand mobile segments
1. MQTT Explorer on Mobile (5.1s)

MQTT Explorer on Mobile

2. Connect to MQTT Broker (8.0s)

Connect to MQTT Broker

3. Browse Topic Tree (9.0s)

Browse Topic Tree

4. View Message Details (6.8s)

View Message Details

5. Search Topics (9.2s)

Search Topics

6. JSON Message Formatting (9.6s)

JSON Message Formatting

7. Settings with Disconnect/Logout (2.6s)

Settings with Disconnect/Logout

8. Mobile-Friendly MQTT Explorer (4.5s)

Mobile-Friendly MQTT Explorer

Mobile videos recorded at 412x914 (Pixel 6 viewport). Videos will expire in 90 days.

@github-actions
Copy link

⚠️ Mobile Demo Video Generated (Test Failed)

⚠️ Note: The mobile demo test encountered errors but videos were still uploaded for debugging. Check the logs for details.

Full Mobile Video (Pixel 6 - 412x914)

📥 Download Mobile Video (MP4) | GIF


Scene information not available - check if video processing completed

Mobile videos recorded at 412x914 (Pixel 6 viewport). Videos will expire in 90 days.

@github-actions
Copy link

✅ Mobile Demo Video Generated Successfully

Full Mobile Video (Pixel 6 - 412x914)

📥 Download Mobile Video (MP4) | GIF


📑 Mobile Video Segments

Click to expand mobile segments
1. MQTT Explorer on Mobile (5.1s)

MQTT Explorer on Mobile

2. Connect to MQTT Broker (8.0s)

Connect to MQTT Broker

3. Browse Topic Tree (9.0s)

Browse Topic Tree

4. View Message Details (6.8s)

View Message Details

5. Search Topics (9.2s)

Search Topics

6. JSON Message Formatting (9.6s)

JSON Message Formatting

7. Settings with Disconnect/Logout (2.6s)

Settings with Disconnect/Logout

8. Mobile-Friendly MQTT Explorer (4.5s)

Mobile-Friendly MQTT Explorer

Mobile videos recorded at 412x914 (Pixel 6 viewport). Videos will expire in 90 days.

@github-actions
Copy link

✅ Mobile Demo Video Generated Successfully

Full Mobile Video (Pixel 6 - 412x914)

📥 Download Mobile Video (MP4) | GIF


📑 Mobile Video Segments

Click to expand mobile segments
1. MQTT Explorer on Mobile (5.1s)

MQTT Explorer on Mobile

2. Connect to MQTT Broker (8.1s)

Connect to MQTT Broker

3. Browse Topic Tree (9.0s)

Browse Topic Tree

4. View Message Details (6.8s)

View Message Details

5. Search Topics (9.3s)

Search Topics

6. JSON Message Formatting (9.6s)

JSON Message Formatting

7. Settings with Disconnect/Logout (2.6s)

Settings with Disconnect/Logout

8. Mobile-Friendly MQTT Explorer (4.5s)

Mobile-Friendly MQTT Explorer

Mobile videos recorded at 412x914 (Pixel 6 viewport). Videos will expire in 90 days.

@github-actions
Copy link

✅ Mobile Demo Video Generated Successfully

Full Mobile Video (Pixel 6 - 412x914)

📥 Download Mobile Video (MP4) | GIF


📑 Mobile Video Segments

Click to expand mobile segments
1. MQTT Explorer on Mobile (5.1s)

MQTT Explorer on Mobile

2. Connect to MQTT Broker (8.1s)

Connect to MQTT Broker

3. Browse Topic Tree (9.0s)

Browse Topic Tree

4. View Message Details (6.8s)

View Message Details

5. Search Topics (9.3s)

Search Topics

6. JSON Message Formatting (9.6s)

JSON Message Formatting

7. Settings with Disconnect/Logout (2.6s)

Settings with Disconnect/Logout

8. Mobile-Friendly MQTT Explorer (4.5s)

Mobile-Friendly MQTT Explorer

Mobile videos recorded at 412x914 (Pixel 6 viewport). Videos will expire in 90 days.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants