fix: bugs in product table fixed & form changes in settings and enrollment #43
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Some issues that were occurring in the order when adding more products have been resolved, where the product table was experiencing visual glitches. Additionally, some modifications have been made to the CSS of the forms in the settings. The 'client secret' field now has its value hidden, and tooltips have been added to the checkboxes in the enrollment form.
Additional information
An important point to mention is that, in this case, it's preferable to keep the Client Secret as a 'password' and not display characters initially for security reasons (even though the token, being lengthy, adds a layer of security). It's better to keep it hidden. Another reason is to avoid having to insert JavaScript code because with HTML, it becomes complex to have a visible field for the user with a value like 'ABCD***HIJK' without modifying the form's behavior. This is because there needs to be both a hidden input and a visible input, which can potentially lead to conflicts when modifying the value.
This is what an order with more than one product looks like:
This is how the Client Secret is being displayed:
These are the tooltips for checkboxes in the Enrollment form:
Checklist for Merge