[PR #185] [CLOSED] Allow ability to wrap lines on viewing pastes #195

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

📋 Pull Request Information

Original PR: https://github.com/matze/wastebin/pull/185
Author: @theryecatcher
Created: 10/7/2025
Status: Closed

Base: masterHead: wrap-lines


📝 Commits (2)

  • e8f8c01 chore: Update Dockerfile to latest rust release
  • 5e16e8c feat: Allow line wrap for long text blobs

📊 Changes

5 files changed (+11 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)

📄 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/185 **Author:** [@theryecatcher](https://github.com/theryecatcher) **Created:** 10/7/2025 **Status:** ❌ Closed **Base:** `master` ← **Head:** `wrap-lines` --- ### 📝 Commits (2) - [`e8f8c01`](https://github.com/matze/wastebin/commit/e8f8c01485ad93b155bc05769b6e6d018a9beeaa) chore: Update Dockerfile to latest rust release - [`5e16e8c`](https://github.com/matze/wastebin/commit/5e16e8c85ebad46a10077d4a8d97fc6e260269bf) feat: Allow line wrap for long text blobs ### 📊 Changes **5 files changed** (+11 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) </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:07 +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#195
No description provided.