Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Versions History #506

Closed
agriffard opened this issue Jan 8, 2017 · 10 comments
Closed

Versions History #506

agriffard opened this issue Jan 8, 2017 · 10 comments
Milestone

Comments

@agriffard
Copy link
Member

If a content is versionable, it would be interesting to display a list of the versions and allow to switch between each of them and see the changes made and compare between two version.

@Jetski5822
Copy link
Member

I was thinking about this.... you could go back in history and then start from there again, but instead of replacing the other versions, you just branch off again. Similar to git version history.

@Jetski5822
Copy link
Member

^^^ This way a user could compare two outcomes

@agriffard
Copy link
Member Author

@jtkech : When the versionable stereotype is checked, would it be possible to have the history of a content in the admin?

@jtkech
Copy link
Member

jtkech commented Jun 2, 2018

@agriffard yes i think it would not be so difficult, as i remember, as long as the items are in the db we can query them e.g based on a given ContentItemId then before a given CreatedUtc and so on ...

        var test = await _session
            .Query<ContentItem, ContentItemIndex>(x => x.ContentItemId == id &&
                x.CreatedUtc < date && ...).Take(n).ListAsync();

This even if the content type is not versionable because it could have been versionable before.

@sebastienros
Copy link
Member

Audit Trail module.

@sebastienros sebastienros added this to the backlog milestone Jun 7, 2018
@sebastienros
Copy link
Member

Or limit it to just listing all versions in a separate view for now.

@infofromca
Copy link
Contributor

may we go a little further?
CRUD on different version according to different permission. something like wiki

@Skrypt
Copy link
Contributor

Skrypt commented Jun 14, 2018

Hubspot has a TimeLine API that has maybe some things we could get ideas from.
https://developers.hubspot.com/docs/methods/timeline/timeline-overview
I really like the UI at least.

@infofromca
Copy link
Contributor

infofromca commented Jun 15, 2018

#1976 is much better way

@Piedone
Copy link
Member

Piedone commented Apr 23, 2020

This will be available with #4620.

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

No branches or pull requests

7 participants