Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: UI no updating after select a collection #11

Open
gepd opened this issue Feb 17, 2022 · 3 comments
Open

bug: UI no updating after select a collection #11

gepd opened this issue Feb 17, 2022 · 3 comments
Labels
bug Something isn't working

Comments

@gepd
Copy link
Contributor

gepd commented Feb 17, 2022

When you select a collection from appwrite you don't have any feedback after press the + icon, so you don't know if It was add or not.

If you press the button multiples times and then closes the selection window, you will see multiples instances of the same collection, I think there is no reason why you should be allowing this, as you always will need one collection matching with the input data

image

@tannermeade
Copy link
Owner

tannermeade commented Feb 17, 2022

Thanks for making the issue. I haven't focused very much on state management of the UI yet, so it is good to compile a complete list of the state issues so they can be fixed all at once.

What is going on here is it is adding the collection to the Appwrite Data origin, but the UI just isn't updating to reflect that until you click back out of the dialog, then that triggers a state update and it shows them.

I'll be adding nice UI state reactions to the buttons in that dialog and updating the Appwrite list behind the dialog so it is clear.

Thanks!

@tannermeade tannermeade added the bug Something isn't working label Feb 17, 2022
@gepd
Copy link
Contributor Author

gepd commented Feb 17, 2022

Thanks for making the issue. I haven't focused very much on state management of the UI yet, so it is good to compile a complete list of the state issues so they can be fixed all at once.

What is going on here is it is adding the collection to the Appwrite Data origin, but the UI just isn't updating to reflect that.

I have noted that, it happened with all options where state management was updated. I opened the issue because this have a second issue, the collection duplicity

@tannermeade
Copy link
Owner

I have noted that, it happened with all options where state management was updated. I opened the issue because this have a second issue, the collection duplicity

Thank you! 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants