[PR #2120] [CLOSED] changed the html string in the hscontrol/handlers.go file using go-elem #2512

Closed
opened 2025-12-29 03:21:36 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/juanfont/headscale/pull/2120
Author: @amha-mersha
Created: 9/9/2024
Status: Closed

Base: mainHead: amha.refactoring_html_codes_using_goelem


📝 Commits (1)

  • 6972b0b Changed all the html into go using go-elem

📊 Changes

229 files changed (+56389 additions, -0 deletions)

View changed files

.coderabbit.yaml (+15 -0)
.dockerignore (+19 -0)
.envrc (+1 -0)
.github/CODEOWNERS (+10 -0)
.github/FUNDING.yml (+3 -0)
.github/ISSUE_TEMPLATE/bug_report.yaml (+83 -0)
.github/ISSUE_TEMPLATE/config.yml (+11 -0)
.github/ISSUE_TEMPLATE/feature_request.yaml (+36 -0)
.github/pull_request_template.md (+22 -0)
.github/renovate.json (+34 -0)
.github/workflows/build.yml (+71 -0)
.github/workflows/check-tests.yaml (+41 -0)
.github/workflows/docs-test.yml (+27 -0)
.github/workflows/docs.yml (+52 -0)
.github/workflows/gh-actions-updater.yaml (+22 -0)
.github/workflows/lint.yml (+75 -0)
.github/workflows/release.yml (+38 -0)
.github/workflows/stale.yml (+24 -0)
.github/workflows/test-integration.yaml (+124 -0)
.github/workflows/test.yml (+37 -0)

...and 80 more files

📄 Description

  • have read the CONTRIBUTING.md file
  • raised a GitHub issue or discussed it on the projects chat beforehand
  • added unit tests
  • added integration tests
  • updated documentation if needed
  • updated CHANGELOG.md

Summary by CodeRabbit

  • New Features

    • Enhanced the registration web API with a modular HTML structure for improved maintainability and readability.
    • Introduced dynamic rendering of HTML elements using the elem-go library, allowing for easier updates to the registration page.
    • Added comprehensive HTML guides for configuring Tailscale on Apple and Windows devices, improving user experience.
  • Bug Fixes

    • Resolved issues related to inline HTML by implementing a more structured approach, reducing potential errors in the registration process.

🔄 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/juanfont/headscale/pull/2120 **Author:** [@amha-mersha](https://github.com/amha-mersha) **Created:** 9/9/2024 **Status:** ❌ Closed **Base:** `main` ← **Head:** `amha.refactoring_html_codes_using_goelem` --- ### 📝 Commits (1) - [`6972b0b`](https://github.com/juanfont/headscale/commit/6972b0bdb705b83df7eb0cd47637b666391ae3a0) Changed all the html into go using go-elem ### 📊 Changes **229 files changed** (+56389 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `.coderabbit.yaml` (+15 -0) ➕ `.dockerignore` (+19 -0) ➕ `.envrc` (+1 -0) ➕ `.github/CODEOWNERS` (+10 -0) ➕ `.github/FUNDING.yml` (+3 -0) ➕ `.github/ISSUE_TEMPLATE/bug_report.yaml` (+83 -0) ➕ `.github/ISSUE_TEMPLATE/config.yml` (+11 -0) ➕ `.github/ISSUE_TEMPLATE/feature_request.yaml` (+36 -0) ➕ `.github/pull_request_template.md` (+22 -0) ➕ `.github/renovate.json` (+34 -0) ➕ `.github/workflows/build.yml` (+71 -0) ➕ `.github/workflows/check-tests.yaml` (+41 -0) ➕ `.github/workflows/docs-test.yml` (+27 -0) ➕ `.github/workflows/docs.yml` (+52 -0) ➕ `.github/workflows/gh-actions-updater.yaml` (+22 -0) ➕ `.github/workflows/lint.yml` (+75 -0) ➕ `.github/workflows/release.yml` (+38 -0) ➕ `.github/workflows/stale.yml` (+24 -0) ➕ `.github/workflows/test-integration.yaml` (+124 -0) ➕ `.github/workflows/test.yml` (+37 -0) _...and 80 more files_ </details> ### 📄 Description <!-- Headscale is "Open Source, acknowledged contribution", this means that any contribution will have to be discussed with the Maintainers before being submitted. This model has been chosen to reduce the risk of burnout by limiting the maintenance overhead of reviewing and validating third-party code. Headscale is open to code contributions for bug fixes without discussion. If you find mistakes in the documentation, please submit a fix to the documentation. --> <!-- Please tick if the following things apply. You… --> - [x] have read the [CONTRIBUTING.md](./CONTRIBUTING.md) file - [ ] raised a GitHub issue or discussed it on the projects chat beforehand - [ ] added unit tests - [ ] added integration tests - [ ] updated documentation if needed - [ ] updated CHANGELOG.md <!-- If applicable, please reference the issue using `Fixes #XXX` and add tests to cover your new code. --> <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Enhanced the registration web API with a modular HTML structure for improved maintainability and readability. - Introduced dynamic rendering of HTML elements using the `elem-go` library, allowing for easier updates to the registration page. - Added comprehensive HTML guides for configuring Tailscale on Apple and Windows devices, improving user experience. - **Bug Fixes** - Resolved issues related to inline HTML by implementing a more structured approach, reducing potential errors in the registration process. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 03:21:36 +01:00
adam closed this issue 2025-12-29 03:21:36 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/headscale#2512