OpenMetadata icon indicating copy to clipboard operation
OpenMetadata copied to clipboard

Previous value and new value is not displayed correctly for space separated data

Open sureshms opened this issue 4 years ago • 8 comments

  • [x] Names should be one block - Clemens Rau changed to Ramendra Bahadur:
image
  • [x] PersonalData.Personal changed to PII.None
image
  • [x] The following should be added tags to column first_name instead of firstname.tags:
image
  • [ ] Following should just be Unfollowed table table dev.fivetran_airflow_public.ab_user_w_new_constraints instead of posted on followed by details of unfollowed a table:
image

cc @harshach

sureshms avatar Oct 12 '22 04:10 sureshms

Hello @harshach @sureshms, These diffs are getting generated from the backend, so assigning this to the backend team.

Sachin-chaurasiya avatar Oct 12 '22 05:10 Sachin-chaurasiya

@Sachin-chaurasiya this should not be coming from the backend. Can you double check the api response. Cc @vivekratnavel

sureshms avatar Oct 12 '22 05:10 sureshms

@sureshms , I have checked it, we are getting it from the backend in the message attribute.

"message": "Added **first_name.tags**: `PII.NonSensitive`",
{
    "id": "34ec35a9-fabb-4490-ad80-262f2c1fad73",
    "type": "Conversation",
    "href": "http://sandbox-beta.open-metadata.org/api/v1/feed/34ec35a9-fabb-4490-ad80-262f2c1fad73",
    "threadTs": 1665514177915,
    "about": "<#E::table::sample_data.ecommerce_db.shopify.dim_address_clean::columns::first_name::tags>",
    "entityId": "4f58a1f5-61c5-449b-a0c7-66ccc3c8b701",
    "createdBy": "harsha",
    "updatedAt": 1665514177915,
    "updatedBy": "harsha",
    "resolved": false,
    "message": "Added **first_name.tags**: `PII.NonSensitive`",
    "postsCount": 0,
    "posts": [],
    "reactions": []
}

Sachin-chaurasiya avatar Oct 12 '22 05:10 Sachin-chaurasiya

@sureshms @Sachin-chaurasiya activities are formed from the backend but styling is applied on the UI right "message": "Added tags: Tier.Tier1",

harshach avatar Oct 12 '22 05:10 harshach

@sureshms @Sachin-chaurasiya activities are formed from the backend but styling is applied on the UI right "message": "Added tags: Tier.Tier1",

Yes @harshach , That is markdown and we are parsing the markdown on the UI side.

Sachin-chaurasiya avatar Oct 12 '22 05:10 Sachin-chaurasiya

@vivekratnavel will take care of it once he is back. We need to do a better diff for strings . Looks like we are applying same diff that we do for description in here.

harshach avatar Oct 12 '22 05:10 harshach

Can I pick it up

07Himank avatar Oct 17 '22 04:10 07Himank

hi @07Himank any updates here? Let us know if you need any help

pmbrull avatar Nov 24 '22 06:11 pmbrull