Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

docs(local-setup): update mobile client and web dashboard environment... #26

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

Merged
fulleni merged 2 commits into main from chore/docs
Oct 24, 2025

Conversation

@fulleni
Copy link
Member

@fulleni fulleni commented Oct 24, 2025
edited
Loading

Status

READY

Description

This pull request refines the local setup documentation for both the mobile client and web dashboard. The core change involves transitioning the environment configuration from direct code edits to utilizing Flutter's --dart-define flags. This update aims to provide a cleaner, more flexible way to switch between demo, development, and production environments without altering the source code, thereby improving the developer experience for setting up and running the applications locally.

Type of Change

  • ✨ New feature (non-breaking change which adds functionality)
  • 🛠️ Bug fix (non-breaking change which fixes an issue)
  • ❌ Breaking change (fix or feature that would cause existing functionality to change)
  • 🧹 Code refactor
  • ✅ Build configuration change
  • 📝 Documentation
  • 🗑️ Chore

... configuration
- Replace in-code environment configuration with dart-define flags
- Add instructions for running in different environments using flutter run
- Remove outdated lib/main.dart code references
- Update step descriptions for running the applications
- Remove physical device connection note for web dashboard setup
Copy link

Summary of Changes

Hello @fulleni, I'm Gemini Code Assist1 ! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request refines the local setup documentation for both the mobile client and web dashboard. The core change involves transitioning the environment configuration from direct code edits to utilizing Flutter's --dart-define flags. This update aims to provide a cleaner, more flexible way to switch between demo, development, and production environments without altering the source code, thereby improving the developer experience for setting up and running the applications locally.

Highlights

  • Environment Configuration Update: The method for configuring application environments (demo, development, production) has been updated from direct code modification in lib/main.dart to using Flutter's --dart-define flags.
  • Command-Line Examples: Clear command-line examples are now provided for running both the mobile client and web dashboard in different environments using the new --dart-define approach.
  • Documentation Clarity: Instructions for launching the applications after environment setup have been refined for better clarity, and an irrelevant <Aside> tag was removed from the web dashboard documentation.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request significantly improves the local setup documentation for both the mobile client and the web dashboard. Switching from modifying lib/main.dart to using --dart-define for environment configuration is a much cleaner and less error-prone approach. The instructions are clear and well-structured.

I've found one minor issue in the web dashboard documentation where a comment about the changes seems to have been accidentally included in the content. I've left a suggestion to fix it.

Additionally, you might want to consider updating the src/content/docs/development-environment-setup.mdx guide in a follow-up change. It still refers to the old method of editing lib/main.dart, which is now inconsistent with the new setup process.

- Created new documentation page for configuring VS Code launch environments
- Added tips to mobile-client and web-dashboard local setup guides
- Included important security note about sensitive information in launch.json
- Provided step-by-step instructions for creating and using launch.json
@fulleni fulleni merged commit 79318f9 into main Oct 24, 2025
@fulleni fulleni deleted the chore/docs branch October 24, 2025 21:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

1 more reviewer

@gemini-code-assist gemini-code-assist[bot] gemini-code-assist[bot] left review comments

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

AltStyle によって変換されたページ (->オリジナル) /