Skip to content

Conversation

@trufurs
Copy link

@trufurs trufurs commented Feb 9, 2026

Closes #2993

This PR adds eval method for display depends on on the customer portal using the same function used in Agent portal

@RitvikSardana
Copy link
Member

@trufurs

This is not complete, if we are going to implement Field Dependency on the ticket view, we should implement it in Agent Portal as well.

It should filter the select fields / link fields similar to how it is done in the "New Ticket View"

@codecov
Copy link

codecov bot commented Feb 9, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 50.56%. Comparing base (4c73593) to head (4a3e085).
⚠️ Report is 33 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #2994      +/-   ##
===========================================
+ Coverage    50.54%   50.56%   +0.01%     
===========================================
  Files          122      122              
  Lines         5403     5403              
===========================================
+ Hits          2731     2732       +1     
+ Misses        2672     2671       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@trufurs
Copy link
Author

trufurs commented Feb 9, 2026

@RitvikSardana
It is there on agent portal, see the sub category is hidden automatically
image

@RitvikSardana
Copy link
Member

I mean the options are not filtered, of Select and Link fields

@trufurs
Copy link
Author

trufurs commented Feb 9, 2026

@RitvikSardana
i agree with you,
i can take that in another pr , fixing the filters bug similar to the way it is done in new ticket view.
or if you want i will do it one PR (new PR) fixing commit message errors.

@RitvikSardana
Copy link
Member

please make this work with Agent Portal & Custom Portal both

it should only work if we have a setting enabled

"Apply Field Dependency in Ticket View"

if this is enabled, then only these filters should apply in Ticket View.
By default it should be disabled.

This setting should exist in HD Settings in backend and in "General" in Frontend settings

1 similar comment
@RitvikSardana
Copy link
Member

please make this work with Agent Portal & Custom Portal both

it should only work if we have a setting enabled

"Apply Field Dependency in Ticket View"

if this is enabled, then only these filters should apply in Ticket View.
By default it should be disabled.

This setting should exist in HD Settings in backend and in "General" in Frontend settings

@trufurs trufurs closed this Feb 9, 2026
@trufurs
Copy link
Author

trufurs commented Feb 9, 2026

i will update it with new PR

@trufurs
Copy link
Author

trufurs commented Feb 10, 2026

@RitvikSardana
i see this field dependency issue of not using display on on agent portal -mobile view as well but it currently works on agent portal desktop view
so should i add 2 fields
Apply Field Dependency in Customer View
Apply Field Dependency in Agent View

or
Apply Field Dependency in Ticket View -> only
and i also change the current desktop view to evaluate only if this is enabled ?

can you please guide me with a simple requirements and what should be the end result ?
also i started working on filter table dependency for parent child in agent portal ( i will make separate PR for it , or if you want in one i can do that)

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

Successfully merging this pull request may close these issues.

Field Dependency should hide the field in customer portal

2 participants