Fakultas Ilmu Komputer UI

Skip to content

fix: creator ecosystem follow logic


Previously ecosystems could be duplicately displayed in ekosistem saya and sudah bergabung.

Backend Ecosystem creation has been adjusted in firebase repo to auto follow ecosystem on creation.

These changes adjust the FE to fix logic by adding new field to ecosystem_follows called isCreator, this assists to not fetch follower ecosystems created by user.

Also removes unnecessary isOwner() function that asyncly checks if user isCreator and instead just checks from the new creatorId prop synchronously.

Added packages:

How to test:

Follow another person's ecosystem and also attempt to follow your own ecosystem.

Tested on:

  • iOS
  • Android
Edited by Ahmad Izzudin Alifyandra

Merge request reports