Project

General

Profile

Actions

Feature #42043

open

Abbreviate quoted text in descriptions in Activity view

Added by Go MAEDA 1 day ago. Updated 1 day ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Activity view
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:

Description

This patch enhances the Activity view by abbreviating lengthy quoted text in event descriptions. Instead of showing all the quoted lines, it replaces them with `'> ...'`. This change helps show important information more clearly within the limited number of characters.

The patch changes how descriptions are shown in the Activity view. It finds long sections of quoted text and shortens them. For example:

In the current Activity view, it is displayed like this:
The same sentences ("Ruby is a dynamic, ...") are displayed twice.

With this patch applied, it is displayed like this:
Quoted parts are abbreviated, and more of the comment section is displayed.

This allows the Activity view to focus on displaying the most relevant information within a limited number of characters.


Files

Actions #1

Updated by Go MAEDA 1 day ago

I have updated the patch to keep the first line of quoted text while combining the rest into > ....
This makes it easy for readers to understand the context of the comment that follows the quoted text.

Example:
Assume the original comment is as follows.

John Smith wrote in #note-1:
> The quick brown fox
> jumps over the lazy dog.

Brick quiz whangs jumpy veldt fox.

> The five

> boxing wizards

> jump quickly.

The quick onyx goblin jumps over the lazy dwarf.

In the Activity view, it is displayed as follows. The first line of the quoted text is retained, and subsequent lines are omitted and shown as > .... In the previous patch, the entire quoted text was replaced with > ..., which sometimes made it difficult to understand the context of the comment.

John Smith wrote in #note-1:
> The quick brown fox
> ...
Brick quiz whangs jumpy veldt fox.
> The five
> ...
The quick onyx goblin jumps over the lazy dwarf.
Actions #2

Updated by Go MAEDA 1 day ago

This is a screenshot of the new patch in #note-1.

Actions

Also available in: Atom PDF