sfdx-package-generator icon indicating copy to clipboard operation
sfdx-package-generator copied to clipboard

'Select All' works incorrectly when filtering

Open PotSeht opened this issue 4 years ago • 4 comments

Hi Vignaesh, thanks for all the work you've done to bring people this extension, its extremely useful!

I just wanted to raise that if you when you filter a given set of records, then use the 'SELECT ALL' button, rather than just selecting the set of filtered records, it selects all records against the metadata type. This populates the package.xml below as such. I've also included a gif illustrating the issue.

<types>
	<members>*</members>
	<name>CustomTab</name>
</types>

Regards, Frank

x6Z2pSFFXX

PotSeht avatar Apr 15 '20 00:04 PotSeht

Hi @PotSeht , Thanks for your feedback. I get the issue. At present that how it is designed to work. Select all will always select all the contents irrespective of the filter. Let me think of a way to bring in the functionality you are asking for. BTW do you have any ideas on how the UI should be?

vignaesh01 avatar Apr 15 '20 05:04 vignaesh01

Hi @vignaesh01,

UI-wise, I think you've done an excellent job already. How it currently looks is very functional and looks good. The only thing I can think of is perhaps have the color scheme of the package generator be leveraged by the Color Theme of the IDE, just to provide consistency across the app? Just an idea.

Thanks for seeing as to whether that functionality is possible, I think it would definitely provide a better user experience.

PotSeht avatar Apr 15 '20 05:04 PotSeht

@vignaesh01 A lot of coworkers that are less tech savvy and would love to use your app are running into this issue.

Perhaps I can help creating an additional 3rd button 'Add selection'?

RubenHalman avatar Oct 21 '20 16:10 RubenHalman

I also missing 'Add Selection' button. This would be usefull.

PawelWozniak avatar Mar 05 '21 10:03 PawelWozniak