Skip to content

Add mark-as-unread#1995

Merged
Alkarex merged 5 commits intoFreshRSS:devfrom
Alkarex:mark-as-unread
Sep 3, 2018
Merged

Add mark-as-unread#1995
Alkarex merged 5 commits intoFreshRSS:devfrom
Alkarex:mark-as-unread

Conversation

@Alkarex
Copy link
Copy Markdown
Member

@Alkarex Alkarex commented Sep 1, 2018

'sub' => array(
'actualize' => 'Updating',
'articles' => array(
'marked_read' => 'The articles have been marked as read.',
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The selected articles have been marked as read?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done in 9b2f101

Copy link
Copy Markdown
Member

@Frenzie Frenzie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll toss in a follow-up PR for the Dutch translation if you prefer. :-)

'search' => htmlspecialchars_decode(FreshRSS_Context::$search, ENT_QUOTES),
'state' => FreshRSS_Context::$state,
)
),
Copy link
Copy Markdown
Member

@Frenzie Frenzie Sep 1, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I always get annoyed by languages that don't allow this. ;-)

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Like JSON!

@Alkarex Alkarex added the Work in progress 🚧 Wait before merging label Sep 1, 2018
In order to prevent erroneous marking-as-unread.
We might find a better logic later.
@Alkarex Alkarex removed the Work in progress 🚧 Wait before merging label Sep 2, 2018
@Alkarex
Copy link
Copy Markdown
Member Author

Alkarex commented Sep 2, 2018

I have disabled mark-as-unread when read articles are not shown.
This is to prevent users from marking-as-unread the whole reader/category/feed by mistake. It might be possible to find a better logic (the ones I have in mind has the drawback of always requiring an additional expensive SQL request at each view to find the boundaries, or require some not-so-nice JavaScript).

To make it easier to discover
@Alkarex
Copy link
Copy Markdown
Member Author

Alkarex commented Sep 3, 2018

image

@Alkarex Alkarex merged commit d3f5bd8 into FreshRSS:dev Sep 3, 2018
@Alkarex Alkarex deleted the mark-as-unread branch September 3, 2018 18:48
@Alkarex
Copy link
Copy Markdown
Member Author

Alkarex commented Sep 3, 2018

@Frenzie Ready for translation PR ;-)

Alkarex added a commit that referenced this pull request Sep 3, 2018
@Alkarex Alkarex modified the milestones: 1.12.0, 1.11.2 Sep 3, 2018
Alkarex added a commit to Alkarex/FreshRSS that referenced this pull request Sep 8, 2018
Alkarex added a commit that referenced this pull request Sep 8, 2018
mdemoss pushed a commit to mdemoss/FreshRSS that referenced this pull request Mar 25, 2021
* Add mark-as-unread

FreshRSS#1966

* Change sentence

FreshRSS#1995 (comment)

* Enable mark-as-unread only when unread articles are shown

In order to prevent erroneous marking-as-unread.
We might find a better logic later.

* Disable instead of hide mark-as-unread option

To make it easier to discover
mdemoss pushed a commit to mdemoss/FreshRSS that referenced this pull request Mar 25, 2021
mdemoss pushed a commit to mdemoss/FreshRSS that referenced this pull request Mar 25, 2021
Alkarex added a commit to Alkarex/FreshRSS that referenced this pull request Jul 22, 2022
@Alkarex Alkarex mentioned this pull request Jul 22, 2022
if (!$get) {
// No get? Mark all entries as read (from $id_max)
$entryDAO->markReadEntries($id_max);
$entryDAO->markReadEntries($id_max, $is_read);
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in #4456

Alkarex added a commit that referenced this pull request Jul 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants