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

Multi hero tag #226

Merged
merged 4 commits into from
Feb 20, 2024
Merged

Conversation

vkprogrammer-001
Copy link
Contributor

Fixes #193

**Description: **
The issue of multiple heroes sharing the same tag within a subtree has been resolved. Previously, there was only one tag in the Floating Action Button (FAB), which caused conflicts when using it in two different instances. To rectify this, an additional tag has been added to the FAB, ensuring proper rendering and preventing hero tag clashes.

@RunTerror
Copy link
Contributor

@vkprogrammer-001, could you kindly share the error log? This would greatly assist in understanding the issue.

@BrawlerXull
Copy link

hey @RunTerror @vkprogrammer-001 could you please help me?
I am having issue in setting up the code locally

@vkprogrammer-001
Copy link
Contributor Author

vkprogrammer-001 commented Feb 18, 2024

@RunTerror ok so this is the error log
Screenshot 2024-02-18 at 11 27 02 PM

Screenshot 2024-02-18 at 11 26 54 PM

Screenshot 2024-02-18 at 11 26 36 PM

Screenshot 2024-02-18 at 11 26 25 PM

Screenshot 2024-02-18 at 11 26 10 PM

@vkprogrammer-001
Copy link
Contributor Author

@BrawlerXull

Setting Up the Beacon Locally

You need to set up both the frontend and backend parts of the beacon.

Frontend Setup:

  1. Install Flutter by following the provided instructions. If you encounter any issues, consider using fvm (Flutter Version Management).
  2. To activate fvm, use the command:
dart pub global activate fvm
  1. To install a specific version of Flutter, use the following commands:
fvm install stable
fvm install <version>
  1. Follow the given instructions to complete the setup.
  2. Set up your .env file with the following variables:
ANDROID_MAP_API_KEY=<api_key_android>
IOS_MAP_API_KEY=<your_ios_google_maps_api_key>
HTTP_ENDPOINT=http://10.0.2.2:4000/graphql
WEBSOCKET_ENDPOINT=ws://10.0.2.2:4000/graphql

Backend Setup:

  1. Install Redis. You can use brew for this. Remember to run the Redis server before running the backend part of the beacon.
  2. Check if your backend is set up properly.
  3. Run your GraphQL playground:
    • Use npm start to run the backend server. Check the logs to ensure it started properly.
    • Open the GraphQL playground at http://localhost:4000/graphql in any web browser and use queries to perform CRUD operations.
  4. You can use the following query in the GraphQL playground to perform a signup operation:
mutation {
  register(user: {name: “John Cenaa”, credentials: {email: “tester1@gmail.com”, password: “Pass@123”}}) {
    _id
    name
    email
  }
}

If you get the correct response, then your server is ready to connect with the frontend.

Follow the given instructions to complete the setup. Enjoy working with Beacon!

@vkprogrammer-001
Copy link
Contributor Author

@BrawlerXull if need any help feel free to contact me. and can post your query on the community on Slack channel

@RunTerror
Copy link
Contributor

@vkprogrammer-001 your solution seems correct for this problem, work on the CI test.

@vkprogrammer-001
Copy link
Contributor Author

@RunTerror Could you guide me on how to execute Flutter CI tests locally? I'd like to verify if all the tests are functioning as expected.

@Akshatji800 Akshatji800 merged commit 82a944f into CCExtractor:main Feb 20, 2024
7 checks passed
@vkprogrammer-001 vkprogrammer-001 deleted the multi_hero_tag branch February 26, 2024 17:14
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

There are multiple heroes that share the same tag within a subtree.
4 participants