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

Offline mode #51

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

Offline mode #51

wants to merge 6 commits into from

Conversation

Pebkac03
Copy link

fixes Stacked-Org/stacked#1140

Add offline_mode to stacked.json config to using stacked cli offline. It does so by passing the flag --no-pub to flutter run build_runner build. "offline mode" is of course just a suggestion easily changed by a maintainer or at the request of a maintainer.

This does pass tests apart from two which did not pass on the main branch either, I considered fixing them out of scope of this PR.

Copy link
Contributor

@FilledStacks FilledStacks left a comment

Choose a reason for hiding this comment

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

Happy with the implementation besides the library addition.

I have a question about that below.

@@ -1,4 +1,5 @@
/// Stores all the commands used throughout the app that
library;
Copy link
Contributor

Choose a reason for hiding this comment

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

Why has this been added?

Copy link
Author

Choose a reason for hiding this comment

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

Auto added by linter.

linter: "Dangling library doc comment. Add a 'library' directive after the library comment."

has no effect other than for the auto generated API reference (not sure what the difference is though). Would change the above comment to "//" or keep library.

Copy link
Author

Choose a reason for hiding this comment

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

guessing it means the file will be added under "Libraries" in the attached picture with all constants documented.
Skärmbild 2024-12-13 005419

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.

[bug]: stacked cli hangs when not connected to network and analytics are enabled
2 participants