Releases: tsalb/lwc-utils
1.9.0
Updated installation links here
Changed Components
-
Introduces configurable column type attributes to
soqlDatatable.- Configure the granularity in
lightning-datatabletypeAttributeproperties in the newDatatable_Column_Config__mdtobject.
- Configure the granularity in
-
Configuration page layout for various
Datatableconfigs has been improved.
Appendix
1.8.0
Updated installation links here
Changed Components
soqlDatatable updates:
- Add
iconName. See help tooltip. - Improve api initiated
refreshUX (spinners now work better). - Add
composedTitleslot for putting custom components inside alightning-cardbase componenttitleslot. - Remove case sensitivity for
checkboxType. - Clean
selectedRowsoutput when passing to a Flow table action.- Seems Summer 20 made some changes to how Flow ingests a serialized
sObjectinputVariable. - This doesn't fix it, but it does strip the flattened (parent) tableData prior to sending, just in case.
- Seems Summer 20 made some changes to how Flow ingests a serialized
messageService and related component updates:
- Updated with an
openvariant of some APIs which will bypass anyboundariesset up.- This supports better dialog close behavior with "Tab Focused Dialogs" release update.
- See Event Pulbisher examples for more detail.
Appendix
1.7.0
Updated installation links here
IMPORTANT NOTE:
If you're upgrading from a previous release, follow the instructions in this issue.
Changed Components
- This release adds
baseto a few generically named components. This effectively renames components in your org. - Adjusts the search default behavior for datatables in this lib, hopefully for the better!
Appendix
1.6.0
Updated installation links here
IMPORTANT NOTE PRE-EMPTING SUMMER 21
If you are experiencing any issues with either summer 21 or any error mentioned in issue #95, please follow the thread there for a workaround or unlisted hotfix patch (
1.6.1).
New Components
- Adds aura's
workspaceApi(with some limitations) tomessageService.
Changed Components
MessageServiceHandlercan now be given a custom boundary, allowing for some granular behavior in lightning service console.- Also, introduces additional recipes (in a service console app) to showcase this.
- General bugfixes and improvements to util code.
Housekeeping
- Starting this release:
corewill only have the current and previous logged insfdx-project.json.recipeswill only have the current release logged insfdx-project.json.
Recipe Installation Note: If you have
1.5.4of the recipes installed in your sandbox, you must first uninstall it before installing1.6.0of recipes. This is due to the fact I had to unwind some flexipage attributes, and there is a dependency there.
Appendix
1.5.4
Updated installation links here
Changed Components
- Fixed issue where lookup cell values (
collectionDatatable/soqlDatatable) were not working as expected in some scenarios.- Introduced by some overzealous truthy checks from Global Fuzzy Search in previous release.
Housekeeping
- Starting this release:
corewill only have the current and previous two releases logged insfdx-project.json.recipeswill only have the current release logged insfdx-project.json.
Appendix
1.5.3
Updated installation links here
Changed Components
soqlDatatableandcollectionDatatablehave a newshowSearch(Show Search) public design prop which shows Global (Fuse Fuzzy) Search.- See wiki for more details.
datatablecontains the actual search input, but specific implementations need to expose it viashowSearch = true.
Considerations
- If you plan on using global search with inline edit for picklist/lookup, please enable the
Allow Overflow (EXPERIMENTAL).- Because search results can return only a few rows, the dropdown for both picklist/lookup will get cut off.
- The downside of this experimental feature (to allow dropdown overflow) is it removes the ability for vertical/horizontal scrolling.
- When inline edit saves, global search is undone (search parameters cleared).
- Post MVP for global search, I may take a look at "holding" the search value and applying it to the table during a refresh from server.
Housekeeping
- Add some recipes to prettier ignore.
- Cleanup readme images (since things are in wiki now).
Appendix
1.5.0
This is a fairly significant release with the following milestones:
New Components
- Introduces the EventPublisher component to help close dialogs and other
message-servicerelated things.- Two flavors: local flow action (aura) and flow screen component (lwc).
- Introduces the csvDatatable (BETA).
Changed Components
- soqlDatatable has updated public events, public methods, and added a new slot.
Housekeeping
- Fixed
eslinterrors and deprecated pre-commit hooks in favor of actions (thank you @jlyon87!). - Moved most of the README contents to the Wiki.
- Branch protection against
masterhas been added.- Only
sfdx-project.jsonchanges need to go through a PR. - All install URLs are now more easily maintained in the wiki.
- Only
Appendix
1.4.0
Resolves #38
Adds a new Datatable_Action_Config__mdt.Type__c value of Table Overflow Action which adds to the overflow (dropdown) menu of table actions above each table.
This datamodel change is backwards compatible since it can't deactivate currently used values in Datatable_Action_Config__mdt.Type__c. Instead, it marks them with (OLD).
You can continue to use the old configs but for new ones consider migrating to the new format which requires:
Type__cofTable Action,Table Overflow Action, orRow Action.Order__cis now required (via validation rules) for each of the above selections.Table Action= 1 or 2 (which replaces the old- Primaryand- Secondaryvalues).Table Overflow Action>= 3 (which is new, and these are additional actions in the dropdown on the right).Row Actionorder logic is unchanged.
- Define a value in only one of the picklist values.
Table Action Name, valid values ofcustom_lwc/custom_flow.Overflow Action Name, valid values ofcustom_lwc/custom_flow.Row Action Namelogic and values is unchanged.
See the attached image for clarity (which is included in recipes):
And now, an image not for ants:
Finally, here is the page layout (with instructions) for Datatable_Action_Config__mdt:
Resolves #37
- Moved cmdt related page layouts from
recipestocore. - Clears up ambiguity by including page layouts in
coreforsoqlDatatablerelated cmdt. - Adds tooltips and more validation rules to
soqlDatatablerelated cmdt.
IMPORTANT NOTE:
If you are upgrading, you may have to install1.4.0twice per this known issue to get the correct page layout.
I have not tested on a clean1.4.0install but please be aware of this workaround.
Fixes #55
1.3.0
-
Fixed issues with
soql/collectionDatatablemeta property configs for Screen Flows.- This might be a breaking change if you used
collectionDatatable.recordCollectionin any way, it was originally meant as input only and this fixes that. - This might be a breaking change if you used
useLoadStyleHackForOverflowin the past few days, it was originally meant as input only and this fixes that.
- This might be a breaking change if you used
-
Moved
useLoadStyleHackForOverflowfrom static resource torenderedCallbackstyle tag appending.- The overflow hack is better scoped now, so it can be used when multiple
soql/collectionDatatablesare on the same page.
- The overflow hack is better scoped now, so it can be used when multiple
1.2.1
Fixes #49
- Adds
customHeightaka Table Height (px) to bothsoql/collectionDatatablefor Screen Flows.- Screen flows won't support relative vh (view height).
- Adds the
loadStylehack which forces CSS overflow so that in-line edit of picklists can overflow below the datatable container.- Use at the risk of minor CSS issues.
- Should only be used when in-line edit is required for < 5 rows.
- Fixes incorrect display of picklist values when database saved value is not found in the picklist options.



