[PR #186] [MERGED] Allow ability to wrap lines on viewing pastes #196

Closed
opened 2026-02-27 10:16:08 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/matze/wastebin/pull/186
Author: @theryecatcher
Created: 10/8/2025
Status: Merged
Merged: 10/9/2025
Merged by: @matze

Base: masterHead: line-wrap


📝 Commits (3)

  • 92c261b chore: Update Dockerfile to latest rust release
  • a93f4ca feat: Allow line wrap for long text blobs
  • 703d0d3 chore: Add help entry for the toggle shortcut

📊 Changes

6 files changed (+15 additions, -2 deletions)

View changed files

📝 Dockerfile (+1 -1)
📝 Dockerfile.arm (+1 -1)
📝 README.md (+1 -0)
📝 crates/wastebin_server/src/javascript/paste.js (+3 -0)
📝 crates/wastebin_server/src/style.css (+5 -0)
📝 crates/wastebin_server/templates/formatted.html (+4 -0)

📄 Description

This attempts to resolve issue #177.

  • Introduces a new line-wrap css class inheriting from the line class, which isn't used by default
  • Introduces a keybinding that would allow user to toggle between wrapping lines and not while viewing a paste
  • I had to update rust dependencies in the Dockerfile so as to allow testing with podman

🔄 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/matze/wastebin/pull/186 **Author:** [@theryecatcher](https://github.com/theryecatcher) **Created:** 10/8/2025 **Status:** ✅ Merged **Merged:** 10/9/2025 **Merged by:** [@matze](https://github.com/matze) **Base:** `master` ← **Head:** `line-wrap` --- ### 📝 Commits (3) - [`92c261b`](https://github.com/matze/wastebin/commit/92c261be7090d03f399e62ab9ffe91f58c471df4) chore: Update Dockerfile to latest rust release - [`a93f4ca`](https://github.com/matze/wastebin/commit/a93f4cada106fee767c3a42ea7d7e4c947a49871) feat: Allow line wrap for long text blobs - [`703d0d3`](https://github.com/matze/wastebin/commit/703d0d3288c2ba622c1b2e2e78471f5cddd26a5d) chore: Add help entry for the toggle shortcut ### 📊 Changes **6 files changed** (+15 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `Dockerfile` (+1 -1) 📝 `Dockerfile.arm` (+1 -1) 📝 `README.md` (+1 -0) 📝 `crates/wastebin_server/src/javascript/paste.js` (+3 -0) 📝 `crates/wastebin_server/src/style.css` (+5 -0) 📝 `crates/wastebin_server/templates/formatted.html` (+4 -0) </details> ### 📄 Description This attempts to resolve issue #177. - Introduces a new line-wrap css class inheriting from the line class, which isn't used by default - Introduces a keybinding that would allow user to toggle between wrapping lines and not while viewing a paste - I had to update rust dependencies in the Dockerfile so as to allow testing with podman --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 10:16:08 +03:00
Sign in to join this conversation.
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
starred/wastebin-matze#196
No description provided.