Skip to content
This repository has been archived by the owner on Jun 1, 2024. It is now read-only.

Components and actions in the config should also be case-insensitive #297

Open
Tiagoperes opened this issue Oct 27, 2020 · 1 comment
Open
Labels
enhancement New feature or request low priority Not solving this for now

Comments

@Tiagoperes
Copy link
Contributor

The name of the components or actions that come from the backend are case-insensitive, but the internal Beagle configuration is not. This can be very confusing for developers, because, when they are in the backend, the case doesn't matter, but when they're making their beagle config in the front-end, the name does matter.

For instance, if the dev wants to use the component screen, in the backend he/she can write beagle:SCreeNcomponent, it will work. In the front-end config, if the dev wants to replace the default behavior of the screen, he/she MUST write beagle:screencomponent. If any case is wrong, the component won't be replaced and the dev will have no idea why, because he/she doesn't even know what the "correct" case is.

@Tiagoperes Tiagoperes added the enhancement New feature or request label Oct 27, 2020
@hectorcustodiozup hectorcustodiozup self-assigned this Nov 16, 2020
@hectorcustodiozup
Copy link
Contributor

I could not replicate the issue, these are the steps I followed according to what I understood from the description

1 - Created in a payload.json file the component beagle:tExT
image

2 - At the configuration for my components I added an overwritten one beagle:TexT
image

3- The component was rendered correctly overwriting the default one
image

@hectorcustodiozup hectorcustodiozup removed their assignment Nov 16, 2020
@Tiagoperes Tiagoperes added the low priority Not solving this for now label Apr 13, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request low priority Not solving this for now
Projects
None yet
Development

No branches or pull requests

2 participants