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: handle inactive RTs and RTs via PermSet #63

Merged
merged 9 commits into from
Aug 19, 2023
Merged

Conversation

dschach
Copy link
Owner

@dschach dschach commented Aug 19, 2023

  • Differentiate between active and inactive RTs
  • If a Profile has zero Record Types assigned, and PermSets do, the Master RT shows as default when described. So we choose (at random) one of the available record types.
  • Record Type picklists now include an option to show all Record Types that are active, with unavailable ones disabled.

@codecov
Copy link

codecov bot commented Aug 19, 2023

Codecov Report

Patch coverage: 100.00% and project coverage change: +1.51% 🎉

Comparison is base (90ea466) 98.48% compared to head (482813f) 100.00%.
Report is 36 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff             @@
##             main       #63      +/-   ##
===========================================
+ Coverage   98.48%   100.00%   +1.51%     
===========================================
  Files           1         1              
  Lines         132       188      +56     
===========================================
+ Hits          130       188      +58     
+ Misses          2         0       -2     
Flag Coverage Δ
Apex 100.00% <100.00%> (+1.51%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Changed Coverage Δ
force-app/main/default/classes/RecordTypes.cls 100.00% <100.00%> (+1.51%) ⬆️

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

@dschach dschach merged commit 064e1aa into main Aug 19, 2023
8 checks passed
@dschach dschach deleted the fix/inactive-types branch August 19, 2023 04:16
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.

1 participant