[PR #782] [MERGED] web/debug: add a copy button, fix page padding, refactor #1261

Closed
opened 2025-11-09 10:09:19 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/imputnet/cobalt/pull/782
Author: @alectrocute
Created: 9/27/2024
Status: Merged
Merged: 10/11/2024
Merged by: @wukko

Base: mainHead: AA/debug-page-improvements


📝 Commits (9)

  • 39c269d debug/+page.svelte: use translations, add copy button, iterate through array for template
  • 5df414e remove icon
  • 6493b32 use more apt class and id names
  • 591903c make suggested improvements per @wukko
  • 10600a0 oops
  • 5422e32 clean up css
  • 11069c7 copy compressed version of data, remove translations
  • 02024ca web/SectionHeading: add support for copying data
  • 002e642 web/settings/debug: use the section heading component, fix padding

📊 Changes

2 files changed (+47 additions, -29 deletions)

View changed files

📝 web/src/components/misc/SectionHeading.svelte (+16 -5)
📝 web/src/routes/settings/debug/+page.svelte (+31 -24)

📄 Description

In this PR:

  • Use i18n
  • Add "Copy" button to make debug sections easier to copy
  • Iterate through array for sections instead
Screenshot 2024-09-27 at 12 48 04 PM

🔄 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/imputnet/cobalt/pull/782 **Author:** [@alectrocute](https://github.com/alectrocute) **Created:** 9/27/2024 **Status:** ✅ Merged **Merged:** 10/11/2024 **Merged by:** [@wukko](https://github.com/wukko) **Base:** `main` ← **Head:** `AA/debug-page-improvements` --- ### 📝 Commits (9) - [`39c269d`](https://github.com/imputnet/cobalt/commit/39c269d70ccae306fbd66d6833b7ac1f4120a1b4) debug/+page.svelte: use translations, add copy button, iterate through array for template - [`5df414e`](https://github.com/imputnet/cobalt/commit/5df414e0c383ef8a756e3398d2e0b9e4e3793e0b) remove icon - [`6493b32`](https://github.com/imputnet/cobalt/commit/6493b323b3a74a38994ddfc6b590fbfac6b5f823) use more apt class and id names - [`591903c`](https://github.com/imputnet/cobalt/commit/591903cab35dfe1e746d388dc3f16487ef545d42) make suggested improvements per @wukko - [`10600a0`](https://github.com/imputnet/cobalt/commit/10600a0d280be7f16f9840fbced1479ca4ff8ace) oops - [`5422e32`](https://github.com/imputnet/cobalt/commit/5422e32f40990e12cd20ad3c88bc83331253f287) clean up css - [`11069c7`](https://github.com/imputnet/cobalt/commit/11069c7d4592bf7c83407f9026d9892d0176a7fe) copy compressed version of data, remove translations - [`02024ca`](https://github.com/imputnet/cobalt/commit/02024ca7fc94000ef6c0d2a1ca791babf1972214) web/SectionHeading: add support for copying data - [`002e642`](https://github.com/imputnet/cobalt/commit/002e642c51de543be7652c7687fe560caa344c9e) web/settings/debug: use the section heading component, fix padding ### 📊 Changes **2 files changed** (+47 additions, -29 deletions) <details> <summary>View changed files</summary> 📝 `web/src/components/misc/SectionHeading.svelte` (+16 -5) 📝 `web/src/routes/settings/debug/+page.svelte` (+31 -24) </details> ### 📄 Description In this PR: - Use i18n - Add "Copy" button to make debug sections easier to copy - Iterate through array for sections instead <img width="1480" alt="Screenshot 2024-09-27 at 12 48 04 PM" src="https://github.com/user-attachments/assets/6b2c968a-410f-4539-a88b-46d0f6fe3aac"> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-09 10:09:19 -06:00
Sign in to join this conversation.