SEMOSS / semoss-ui

Apache License 2.0
17 stars 3 forks source link

feat(client): add ability to upload multiple files in UploadBlock #297

Open stelbailey opened 3 weeks ago

stelbailey commented 3 days ago

Hi @neelneelneel ,

Thank you for the feedback! I've added a toggle switch to the options to allow the app developer to turn on/off multiple file uploading. Additionally, I updated the logic to set the value correctly for the file paths. I set the value to be a string of the file locations (separated by commas).

I was also hoping for some clarification on your note about the MigrationManager, I looked around and was not sure what you meant to update within that.

johbaxter commented 3 days ago

image

@stelbailey So if you make changes to any of the data properties, as for removing properties and or adding new properties that are required.

We have a migration manager that allows you to make structural changes to block definitions, to accommodate for the changes you made to the definition of the Upload Block.

For example, old apps may be on version "0.0.alpha-1" if you had breaking changes for upload blocks that were used in "0.0.alpha-1" you would create a new migration function to directly modify those blocks in the previous version tothe changes you have made to the block.

Ctrl + P for "MigrationManager" and take a look at how it gets called in our "BlocksRenderer"