shesha-io / shesha-framework

An open-source Low-Code development framework for .NET developers. Create .NET based business applications with 80% less code.
https://shesha.io
Apache License 2.0
380 stars 75 forks source link

Update all components that shows a message when not configured properly #1309

Open hlayisanimazuze opened 7 months ago

hlayisanimazuze commented 7 months ago

If the below components are not configured correctly, instead on displaying the current message as if, highlight the component in error and display the error/alert message on a tooltip.

URL with the above components: https://function-adminportal-test.shesha.dev/shesha/forms-designer?id=ccc17a1c-964b-4307-b792-8a2b847e861d

image

AlexanderSlavchovUX commented 5 months ago

Hi @nthangeniphumudzo please see some mockups below.

I have used a similar look and feel to the existing components but shrunk them down to a smaller size. The idea here is that the blue indicates something with a friendly tone that a component needs configuration and in yellow when there is a configuration but with an error such as an invalid value.

When hovering over the component it immediately shows a tooltip to give some further explanation on configuration or errors.

I have also omitted the 'X' button to dismiss them as I don't see how we can remove these error messages without creating an issue where there is an invisible component.

Lastly, I have also included a Figma prototype so you can use it to get a feel for how it works. Please open the link and hover over different components in the newly created area.

https://www.figma.com/proto/OPgxeZhTU3hYIJfe03rLcm/Github-Issues?node-id=23-549&t=2OYTUGt10TxbCMYa-1

Error1 Error2 Error3

AlexStepantsov commented 1 month ago

hi @nthangeniphumudzo

There is a new KanbanComponent added to the main branch

Please review validations in the component after merge new validations feature to the main branch