Skip to content

Commit

Permalink
Fixes Sorting Bug (#26)
Browse files Browse the repository at this point in the history
This release fixes a bug that caused the Record Type screen component to have non-deterministic sort order (most likely in order of the Record Types getting created).

With this release, changes are made so that the component shows the record types in alphabetical order based on Label/Name. Some other syntax cleanup and other non-functional changes were made to prepare for more configuration options and enhancements moving forward.

* updated scratch org settings

* cleanup WIP

* cleaner syntax for boolean conversion

* removed unnecessary semicolons

* changing public apis to getters with private props

* cleaning up syntax

* implementing a default sort: ascending by name

* add linting to project

* cleaning up syntax

* rename scratch def file

* additional test recordtype

* clean syntax

* new release 0.5 package IDs
  • Loading branch information
jkranz-rk authored Nov 26, 2022
1 parent ae9d369 commit dfb046a
Show file tree
Hide file tree
Showing 14 changed files with 16,394 additions and 50 deletions.
16 changes: 16 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
**/lwc/**/*.css
**/lwc/**/*.html
**/lwc/**/*.json
**/lwc/**/*.svg
**/lwc/**/*.xml
**/aura/**/*.auradoc
**/aura/**/*.cmp
**/aura/**/*.css
**/aura/**/*.design
**/aura/**/*.evt
**/aura/**/*.json
**/aura/**/*.svg
**/aura/**/*.tokens
**/aura/**/*.xml
**/aura/**/*.app
.sfdx
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ NOTE ABOUT THE TEST DIRECTORY: the "test" directory is _not_ needed for sandbox

## Latest Released Unlocked Package Install URL

`/packaging/installPackage.apexp?p0=04t4x000000Rr3MAAS`
`/packaging/installPackage.apexp?p0=04t4x000000RrIsAAK`

## Display Types

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"orgName": "RecordType Picker Install Testing",
"edition": "Enterprise",
"features": []
}
{
"orgName": "RecordType Picker Install Testing",
"edition": "Enterprise",
"features": [],
"hasSampleData": true
}
9 changes: 8 additions & 1 deletion config/project-scratch-def.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
{
"orgName": "RecordType Picker Development",
"edition": "Developer",
"features": []
"features": [],
"settings": {
"userManagementSettings": {
"enableEnhancedPermsetMgmt": true,
"enableEnhancedProfileMgmt": true,
"enableNewProfileUI": true
}
}
}
Loading

0 comments on commit dfb046a

Please sign in to comment.