[PR #2] Add rendered WireGuard config output pane #2

Open
opened 2026-10-13 21:08:26 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/amnezia-vpn/config-decoder/pull/2
Author: @p166
Created: 4/10/2026
Status: 🔄 Open

Base: master ← Head: feature/render-wg-config-view


📝 Commits (1)

  • 4a24185 Add rendered WireGuard config output pane

📊 Changes

3 files changed (+44 additions, -0 deletions)

View changed files

📝 mainwindow.cpp (+35 -0)
📝 mainwindow.h (+2 -0)
📝 mainwindow.ui (+7 -0)

📄 Description

Summary

  • add third read-only output pane for rendered AWG/WireGuard config
  • parse decoded JSON and extract containers[0].awg.last_config.config
  • replace DNS placeholders with root dns1/dns2 values
  • refresh rendered output when either encoded or decoded input is changed

Testing

  • build project with qmake/make
  • verify rendered [Interface]/[Peer] output appears in third pane

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/amnezia-vpn/config-decoder/pull/2 **Author:** [@p166](https://github.com/p166) **Created:** 4/10/2026 **Status:** 🔄 Open **Base:** `master` ← **Head:** `feature/render-wg-config-view` --- ### 📝 Commits (1) - [`4a24185`](https://github.com/amnezia-vpn/config-decoder/commit/4a24185a45312e53e5c25fac078f1bf4beb106cd) Add rendered WireGuard config output pane ### 📊 Changes **3 files changed** (+44 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `mainwindow.cpp` (+35 -0) 📝 `mainwindow.h` (+2 -0) 📝 `mainwindow.ui` (+7 -0) </details> ### 📄 Description ## Summary - add third read-only output pane for rendered AWG/WireGuard config - parse decoded JSON and extract containers[0].awg.last_config.config - replace DNS placeholders with root dns1/dns2 values - refresh rendered output when either encoded or decoded input is changed ## Testing - build project with qmake/make - verify rendered [Interface]/[Peer] output appears in third pane --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
amnezia-vpn/config-decoder#2
No description provided.