Hi,

we've been doing an alternate implementation for d8, which basically works the same way - BUT:

- it's entity-generic
- it's written in proper d8 style, e.g. leverages services
- there WIP PR to make it work per view-mode
- it has to be a configured a bit differently. It provides an "Entity render history" views argument default plugin, so you configure a contextual views filter to use the plugin as argument, make it multiple and negate it. That way it's easily usable with any kind of view, even regardless of the query backend (think: search api based views).

It has the same problem though: It does not account for ajax requests.

The reason we did the alternate implementation is that there was nothing here at that point of creation. However, we did not contribute our development here early enough. Sry for that!

The code is over at:
https://github.com/drunomics/views_exclude_previous

What do you think about it? Do you think the code from https://github.com/drunomics/views_exclude_previous would be a good base for further d8 development? I'd be happy with making it a 8.2.x version and to collaborate with you on it if it matches your expectations.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

fago created an issue. See original summary.

a.milkovsky’s picture

I am still using the https://github.com/drunomics/views_exclude_previous version. I would be happy to collaborate here as well.

yahyaalhamad’s picture

Status: Active » Postponed
yahyaalhamad’s picture

Title: Collaborate on d8 version » Support all entity types
Category: Task » Plan
Priority: Normal » Major
Status: Postponed » Active

Will be working on it and release version 3.x soon.

yahyaalhamad’s picture

Title: Support all entity types » Roadmap for 3.x
useernamee’s picture

There seems to be little to no activity here. We (me and @fago) are still eager to co-maintain this module and add the improvements from the ticket description in the 3.x version.

fago’s picture

fago’s picture

Title: Roadmap for 3.x » Add new entity-generic version
Version: 8.x-1.x-dev » 3.x-dev

As clarified in the mentioned ticket, we are moving on with the new entity-generic version developed by drunomics as 3.x.
While the functionality is similar, this is a completely different module and thus there is NO upgrade path. Remove old views plugins and configure the new ones instead.

  • fago committed 7e9207f4 on 3.x
    [#2912820] feat:  "Add new entity generic module"
    
fago’s picture

Status: Active » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.