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

Hide System Field Updates in Record Page Timelines #6761

Open
Bonapara opened this issue Aug 28, 2024 · 41 comments
Open

Hide System Field Updates in Record Page Timelines #6761

Bonapara opened this issue Aug 28, 2024 · 41 comments
Assignees
Labels
good first issue Good for newcomers scope: backend Issues that are affecting the backend side only size: short

Comments

@Bonapara
Copy link
Member

Current Behavior

Some system field updates are displayed in record page timelines. However, as they lack a FieldDisplay, no value appears near the field title.

CleanShot 2024-08-28 at 11 48 36

Desired Behavior

We shouldn't display system fields in the timeline.

@Bonapara Bonapara added scope: backend Issues that are affecting the backend side only size: short for experienced contributor labels Aug 28, 2024
@Faisal-imtiyaz123
Copy link
Contributor

@Bonapara I would like to work here.

@Bonapara
Copy link
Member Author

Sure @Faisal-imtiyaz123, thanks for contributing!

@charlesBochet
Copy link
Member

charlesBochet commented Sep 1, 2024

@Bonapara @FelixMalfait should we rather add a isAuditable on field level?

I don't like the isSystem one :p
We have a settings column on Fields, we plan to add things in it such as: isSearchable, we could add isAuditable there too

@FelixMalfait
Copy link
Member

@charlesBochet At the field-level it's a bit more subtle than isAuditable because we still want these fields to be audit-logged but we don't want the timelineActivity to display include them, so I'd advocate for a different name (isDisplayedInTimelineActivity or something like that).
But I don't see a case where a field would be displayed in the page, and wouldn't be displayed in the timeline.
So in my opinion, the field we should use here is the same we will introduce to replace most use-cases for isSystem (isDisplayed or something like that).
Bottom line is I think we should use isSystem

@charlesBochet
Copy link
Member

Okay I understand the reasoning! Let's go for isSystem as long as we don't have a better naming

@FelixMalfait
Copy link
Member

Changing to GoodFirstIssue as it shouldn't be too difficult.
We should filter out fields where isSystem = true in the diff.
Think about the edge case where just 1 field was changed (e.g. position was changed by dragging the item on the list view), then we don't want to create any timelineActivity.

Do it on the backend rather than on the frontend. I would probably do it in EntityEventsToDbListener

@Bonapara
Copy link
Member Author

Bonapara commented Oct 1, 2024

/oss.gg 150

Copy link

oss-gg bot commented Oct 1, 2024

Thanks for opening an issue! It's live on oss.gg!

@Harsh-Sanklecha
Copy link

/assign

Copy link

oss-gg bot commented Oct 7, 2024

Assigned to @Harsh-Sanklecha! Please open a draft PR linking this issue within 48h ⚠️ If we can't detect a PR from you linking this issue in 48h, you'll be unassigned automatically 🕹️ Excited to have you ship this 🚀

@raaaaj214
Copy link

/assign

Copy link

oss-gg bot commented Oct 10, 2024

Assigned to @raaaaj214! Please open a draft PR linking this issue within 48h ⚠️ If we can't detect a PR from you linking this issue in 48h, you'll be unassigned automatically 🕹️ Excited to have you ship this 🚀

Copy link

oss-gg bot commented Oct 10, 2024

@Harsh-Sanklecha, Just a little reminder: Please open a draft PR linking this issue within 12 hours. If we can't detect a PR in 12h, you will be unassigned automatically.

@nilaygit-10721
Copy link

/assign

Copy link

oss-gg bot commented Oct 10, 2024

This issue is already assigned to another person. Please find more issues here.

@parthmodi152
Copy link

/assign

Copy link

oss-gg bot commented Oct 14, 2024

@raaaaj214, Just a little reminder: Please open a draft PR linking this issue within 12 hours. If we can't detect a PR in 12h, you will be unassigned automatically.

@charlesBochet
Copy link
Member

/unassign

Copy link

oss-gg bot commented Oct 14, 2024

Issue unassigned.

@oss-gg oss-gg bot unassigned raaaaj214 Oct 14, 2024
@sudarshana133
Copy link

/assign

Copy link

oss-gg bot commented Oct 14, 2024

Assigned to @sudarshana133! Please open a draft PR linking this issue within 48h ⚠️ If we can't detect a PR from you linking this issue in 48h, you'll be unassigned automatically 🕹️ Excited to have you ship this 🚀

@sudarshana133
Copy link

/unassign

Copy link

oss-gg bot commented Oct 14, 2024

Issue unassigned.

@Heisen47
Copy link

/assign

Copy link

oss-gg bot commented Oct 14, 2024

Assigned to @Heisen47! Please open a draft PR linking this issue within 48h ⚠️ If we can't detect a PR from you linking this issue in 48h, you'll be unassigned automatically 🕹️ Excited to have you ship this 🚀

Copy link

oss-gg bot commented Oct 15, 2024

@sudarshana133, Just a little reminder: Please open a draft PR linking this issue within 12 hours. If we can't detect a PR in 12h, you will be unassigned automatically.

Copy link

oss-gg bot commented Oct 15, 2024

@Heisen47, Just a little reminder: Please open a draft PR linking this issue within 12 hours. If we can't detect a PR in 12h, you will be unassigned automatically.

Copy link

oss-gg bot commented Oct 16, 2024

@raaaaj214, Just a little reminder: Please open a draft PR linking this issue within 12 hours. If we can't detect a PR in 12h, you will be unassigned automatically.

@Heisen47
Copy link

/unassign

@oss-gg oss-gg bot unassigned Heisen47 Oct 16, 2024
Copy link

oss-gg bot commented Oct 16, 2024

Issue unassigned.

@razamzai
Copy link

/assign

Copy link

oss-gg bot commented Oct 16, 2024

Assigned to @razamzai! Please open a draft PR linking this issue within 48h ⚠️ If we can't detect a PR from you linking this issue in 48h, you'll be unassigned automatically 🕹️ Excited to have you ship this 🚀

@Khaan25
Copy link
Contributor

Khaan25 commented Oct 18, 2024

Hey @Bonapara, May I ask what are the steps to reproduce it? I've tried to find the Position to change but could find any field.

@Bonapara
Copy link
Member Author

Sure:

CleanShot.2024-10-18.at.14.54.03.mp4

@Khaan25
Copy link
Contributor

Khaan25 commented Oct 18, 2024

Thank you very much

@Khaan25
Copy link
Contributor

Khaan25 commented Oct 19, 2024

@Bonapara, I've fixed other issues I've had. I would love to work on this issue as well.

@Bonapara
Copy link
Member Author

@razamzai are you still on it?

@Khaan25
Copy link
Contributor

Khaan25 commented Oct 21, 2024

Hey, could you assign me :)

My other PRs is under review. I can quickly wrap this up as well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers scope: backend Issues that are affecting the backend side only size: short
Projects
None yet
Development

No branches or pull requests