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

feat: data versioning #2068

Open
wants to merge 22 commits into
base: main
Choose a base branch
from
Open

feat: data versioning #2068

wants to merge 22 commits into from

Commits on Nov 8, 2024

  1. Add a change history /w logidze

    Store a history which keeps track of every change made to certain
    entities and add a "History" tab to the Reaction/Sample detail pages.
    Related entities are displayed in the version history. E.g. Reaction ->
    ReactionsSample
    
    Save timestamp and author of the version with the changes. A change diff
    to the previous version can be displayed.
    
    Tracked entities:
    
    - Attachment
    
    - Container
    
    - ElementalComposition
    
    - Reaction
    
    - ReactionsSample
    
    - Residue
    
    - Sample
    
    Co-authored-by: VadimKeller <[email protected]>
    2 people authored and Adrian Herrmann committed Nov 8, 2024
    Configuration menu
    Copy the full SHA
    0fa81fc View commit details
    Browse the repository at this point in the history
  2. Add svg formatter and json

    Add revert button to versioned field
    
    reset colum information
    
    re-create schema
    
    update solvent label
    Danny Truong authored and Adrian Herrmann committed Nov 8, 2024
    Configuration menu
    Copy the full SHA
    1741ea7 View commit details
    Browse the repository at this point in the history
  3. Enhance versioning + revert function

    Make revert function work (#780)
    
    - Update version list after reverting a change
    
    - Fix issue /w big svgs
    
    - Make reverting molfile / svg work
    
    - Fix merge issues
    
    - Replace passing local variables /w using state
    
    Add missing versioning for Screens, Wellplates, and Research plans
    
    Change the way versions are displayed in the version table. Previously
    we had one version per database update. Now we group versions by the
    request id. These changes are now merged to make it more intuitive for
    the user.
    
    Implement revert functionality /w fetchers, reverters, and serializers
    
    Implement a new revert UI with one button per version and one modal to
    select revertible values. Delete old revert button.
    
    Co-authored-by: Martin Schneider <[email protected]>
    Co-authored-by: VadimKeller <[email protected]>
    3 people authored and Adrian Herrmann committed Nov 8, 2024
    Configuration menu
    Copy the full SHA
    59c3820 View commit details
    Browse the repository at this point in the history
  4. refactor: various files

    Adrian Herrmann committed Nov 8, 2024
    Configuration menu
    Copy the full SHA
    e176e2a View commit details
    Browse the repository at this point in the history
  5. refactored Form and removed css

    Adrian Herrmann committed Nov 8, 2024
    Configuration menu
    Copy the full SHA
    109768a View commit details
    Browse the repository at this point in the history
  6. feat: Added Version Table to Sample as All Versions Tab

    Adrian Herrmann committed Nov 8, 2024
    Configuration menu
    Copy the full SHA
    78db23e View commit details
    Browse the repository at this point in the history
  7. added author to all_versions

    Adrian Herrmann committed Nov 8, 2024
    Configuration menu
    Copy the full SHA
    b447648 View commit details
    Browse the repository at this point in the history
  8. feat: versions tab syncs with properties - reloads on click

    Adrian Herrmann committed Nov 8, 2024
    Configuration menu
    Copy the full SHA
    369f0f5 View commit details
    Browse the repository at this point in the history
  9. feat: added fields to sample serializer

    Adrian Herrmann committed Nov 8, 2024
    Configuration menu
    Copy the full SHA
    e199277 View commit details
    Browse the repository at this point in the history
  10. feat: added versioning to reactions

    Adrian Herrmann committed Nov 8, 2024
    Configuration menu
    Copy the full SHA
    cab0fc9 View commit details
    Browse the repository at this point in the history
  11. feat: added versions to research_plan

    Adrian Herrmann committed Nov 8, 2024
    Configuration menu
    Copy the full SHA
    df6106e View commit details
    Browse the repository at this point in the history
  12. feat: added versions to screen

    Adrian Herrmann committed Nov 8, 2024
    Configuration menu
    Copy the full SHA
    4440258 View commit details
    Browse the repository at this point in the history
  13. fix: mistakes from rebase

    Adrian Herrmann committed Nov 8, 2024
    Configuration menu
    Copy the full SHA
    1c3d0a6 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    48541ad View commit details
    Browse the repository at this point in the history
  15. feat: added wellplate to versioning

    Adrian Herrmann committed Nov 8, 2024
    Configuration menu
    Copy the full SHA
    b83d32f View commit details
    Browse the repository at this point in the history
  16. feat: added wells to versioning

    Adrian Herrmann committed Nov 8, 2024
    Configuration menu
    Copy the full SHA
    f2d7bf2 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    13f2dd2 View commit details
    Browse the repository at this point in the history
  18. reverted refactoring in sample.rb

    Adrian Herrmann committed Nov 8, 2024
    Configuration menu
    Copy the full SHA
    67f153a View commit details
    Browse the repository at this point in the history
  19. refactor: changed BootstrapTable to AgGridReact

    Adrian Herrmann committed Nov 8, 2024
    Configuration menu
    Copy the full SHA
    e7b55dd View commit details
    Browse the repository at this point in the history
  20. fix: rebase on bootstrap update

    Adrian Herrmann committed Nov 8, 2024
    Configuration menu
    Copy the full SHA
    ac70bcb View commit details
    Browse the repository at this point in the history
  21. sample detail rebase fix

    Adrian Herrmann committed Nov 8, 2024
    Configuration menu
    Copy the full SHA
    161d0f4 View commit details
    Browse the repository at this point in the history
  22. added tests for version_api

    Adrian Herrmann committed Nov 8, 2024
    Configuration menu
    Copy the full SHA
    ab6c437 View commit details
    Browse the repository at this point in the history