OpenEnergyPlatform / oeplatform

Repository for the code of the Open Energy Platform (OEP) website. The OEP provides an interface to the Open Energy Family
http://openenergyplatform.org/
GNU Affero General Public License v3.0
62 stars 19 forks source link

keep track of OEKG modifications (insertions, deletions) #1448

Open adelmemariani opened 1 year ago

adelmemariani commented 1 year ago

Description of the issue

For OEKG, the ability to see which users have taken which actions is essential.

Ideas of solution

At least we should maintain a history of:

We should also be able to roll back the OEKG to a previous state based on:

Workflow checklist

adelmemariani commented 1 year ago

I have implemented a history feature that tracks each modification made by a user. Each time a user makes a change in a bundle, while the oekg gets updated, the changed part of the bundle is being logged. It means the previous state of the bundle (before change) along with the new state (after change) of the bundle is being tracked. For each modification, the bundle ID, date and time of the change, and the user who did the change is saved. This will let us filter the changes based on the specific bundle(s), a period of time, or specific user(s). The following is a screenshot of the feature so far:

Screenshot 2023-11-02 at 14 18 33

Do you have suggestions about how to filter and navigate the history? We can also explore options for filtering a specific part of a bundle such as 'study-name' or ...

stap-m commented 1 year ago

Discussion from oekg-meeting today: