MangoAutomation / ma-dashboards

Mango Module for creating custom HTML5 Dashboards using AngularJS
Other
6 stars 7 forks source link

Completed remaning expor features #346

Open pierpuccini opened 4 years ago

pierpuccini commented 4 years ago

infiniteautomation/ma-modules-public#88

pierpuccini commented 4 years ago

This PR includes

terrypacker commented 4 years ago

@pierpuccini this may be an issue for the other Lists but I just noticed that if I have 0 mailing lists and and 1 the export button does not show up at the top of the list header. Also if I refresh the page and delete delete it the export button is still there. These buttons should be dynamic based on number of items in the list 0 not there 1 or more button is there.

terrypacker commented 4 years ago

@pierpuccini the watchlist icon should say 'Export' not 'Export all'.

terrypacker commented 4 years ago

@pierpuccini I was not able to fully test the publishers because of this bug #348

terrypacker commented 4 years ago

@pierpuccini not sure what the plan is for the User export but it currently does not use the filter but is labeled 'Export' not 'Export all' which is what it will do

pierpuccini commented 4 years ago

@terrypacker regarding the user export, I left it like that because the plan is to use the filter, should I go back and correct that until the filter ability is added? Regarding the other issue mentioned I'll go back and revise.

terrypacker commented 4 years ago

@pierpuccini for the user export that is fine to leave it as is for now.

jazdw commented 4 years ago

@terrypacker

These buttons should be dynamic based on number of items in the list 0 not there 1 or more button is there.

I disagree. I think we are better off leaving the button displayed, I don't think hiding it really benefits the user experience at all. It can be a bit of a pain to determine how many items are in the list outside of the component. Therefore I think we should just not bother.

Hiding the button can also affect the flow of the page, if anything we should disable it. I think leaving it enabled also gives the user the option to see the structure of the json even if it is empty.

terrypacker commented 4 years ago

@jazdw fine by me.