-
Notifications
You must be signed in to change notification settings - Fork 3.3k
☔ Focused initial get started flow around web hot reload #11911
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
Comments
This version of the getting started codelab hasn't been updated in a lot time and with Filip's ["Your first Flutter app" codelab](https://docs.flutter.dev/get-started/codelab), it's mostly duplicated content. We prefer developers following that one and according to analytics, they mostly do. This PR then redirects from the removed page to the preferred codelab's introduction. Contributes to #11911 by starting to clean up the getting started section and reducing duplication of the content that it will add.
Tasks to implement plan as proposed: Phase 0
Phase 1
Phase 2
Phase 3
Phase 4
Phase 5Depends on web support for hot reload being in stable, not behind a flag.
Related/extra
|
- Adds a new index page and directory at `docs.flutter.dev/install` - Moves the `/get-started/uninstall` page to `/install/uninstall` - Moves the `/release/upgrade` page to `/install/upgrade` Contributes to #11911 **Staged:** https://flutter-docs-prod--pr11951-feat-install-directory-8n0cctp3.web.app/install
- Moves `/get-started/install/help` to `/install/troubleshoot` - Cleans up the page formatting and link references - Updates the help icon include for improved accessibility Contributes to #11911 **Staged:** https://flutter-docs-prod--pr11954-misc-install-troubleshootin-5xquyl0u.web.app/install/troubleshoot
Moves the setup instructions with some minor cleanup from https://docs.flutter.dev/get-started/editor to each editor's respective page. The old page will be removed as part of follow up work as there are still some dependencies on it. Contributes to #11333 and #11911
- Move `/get-started/editors` to `/tools/editors` - Remove the setup instructions - These were moved to the individual editor pages in #11955. - Update the page with a new index of editor support, with a section for local editors, online editors, and other/unsupported editors. Resolves #11333 Contributes to #11911 **Staged:** https://flutter-docs-prod--pr11956-feat-11333-yuqts3as.web.app/tools/editors
Following the format of #11968 Contributes to #11911 **Staged:** https://flutter-docs-prod--pr11984-feat-web-setup-instructions-5i2qiffj.web.app/platform-integration/web/setup
For now, it's not linked to anywhere or in the sidenav, but that will change once some other necessary content lands. Part of #11911 Some of this content is duplicated from elsewhere. Once every part of this issue lands, some pieces might be extracted to partials where helpful. **Staged:** https://flutter-docs-prod--pr11992-feat-install-with-vs-code-6qmcg59p.web.app/install/with-vs-code
Hey @parlough thanks for working on this. Yesterday I had to go through the setup of a new Mac and the setup documentation is much worse than what it was some years ago. Actually the user experience of initial setup and awesome documentation was what made me pick Flutter. |
Thank you for noticing this and providing this feedback! I really appreciate it.
I'm sorry about that! Some of the changes were necessary and had good intentions, but were never able to be brought to full fruition. If you have any specific feedback or pain points from this time around, please do let me know. I'll try to account for that as we work on this overhaul and simplification.
I'm glad, that's real nice to hear :) I hope our setup docs and experience can get there again! We're trying to land these improvements quickly and there's other areas and tooling being explored to streamline the flow as well, but hopefully these doc improvements are a step in the right direction. Thank you! |
Some new content, some extracted from the existing get started flow with simplifications. Part of #11911 **Staged:** https://flutter-docs-prod--pr11999-feat-add-to-path-1qnmz0sc.web.app/install/add-to-path
Following the format of #11968 Contributes to #11911 **Staged:** https://flutter-docs-prod--pr12005-feat-setup-windows-ma59a9vu.web.app/platform-integration/windows/setup _Replaces: https://docs.flutter.dev/platform-integration/windows/install-windows_
Following the format of #11968 Contributes to #11911 **Staged:** https://flutter-docs-prod--pr12003-feat-macos-setup-bq24qf6n.web.app/platform-integration/macos/setup _Replaces: https://docs.flutter.dev/platform-integration/macos/install-macos_
Following the format of #11968 Contributes to #11911 **Staged:** https://flutter-docs-prod--pr12004-feat-linux-setup-3ujw5efj.web.app/platform-integration/linux/setup _Replaces: https://docs.flutter.dev/platform-integration/linux/install-linux_
Updates the formatting of the new `/platform-integration/ios/setup` page to be consistent with the current state of the others. Then fully replace the old page, removing them and adding redirects. Contributes to #11911 **Staged:** https://flutter-docs-prod--pr12007-feat-standardize-ios-setup-jxytw7k0.web.app/platform-integration/ios/setup --------- Co-authored-by: Loïc Sharma <[email protected]> Co-authored-by: Jenn Magder <[email protected]>
Adds a page that covers manual installation of Flutter, partially reusing existent content but with simplifications and reformatting. Contributes to #11911
Also introduces a new set up flow that utilizes the new separated docs on the install index page: https://flutter-docs-prod--pr12013-feat-install-flow-9x48m1eo.web.app/install#get-started Contributes to #11911
Standardize the uninstall docs with the new format used by the rest of the [new installation docs](https://docs.flutter.dev/install) and fix some related issues. Contributes to #11911 Fixes #12009 **Staged:** https://flutter-docs-prod--pr12029-feat-uninstall-standardize-ihkcdxc9.web.app/install/uninstall
The work in #11911 will eventually supersede these docs, but to ease that transition and make it easier to review complete some preliminary cleanup and small fixes. - Removes old includes that weren't used anymore recently landed changes - Inlines use of most remaining includes to simplify maintenance and eventual removal - Remove various usages of liquidjs templating where unnecessary or overcomplicated - Removes some verbose terminal output where hard to keep up to date - Removes some outdated/unlikely troubleshooting asides in favor of linking to official, external docs. - Removes a few mentions of specific software versions. Contributes to #11911 Contributes to #11907 Fixes #11997 Closes #10963 Closes #10884 Resolves #10885
Uh oh!
There was an error while loading. Please reload this page.
Objective
Help developers set up Flutter and quickly experience some of its excellent developer experience features.
Problems
Goals
Non-goals
Assumptions
Documentation plan
Get started overhaul
/get-started
Title: Get started developing with Flutter
Content: Happy path of installing Flutter with VS Code plugin, running app on web, (maybe have) trying hot reload, (maybe have) trying DevTools/flutter panel.
/get-started/codelab
Title: Write your first Flutter app
Content: Existing, but update to highlight ability to easily develop on web.
/get-started/learn
Title: Learn Flutter development
Content: Index of options and resources to learn Flutter development after setup.
Install guides and references
/install
Title: Install Flutter
Content: Index of various installation options.
/install/manual
Title: Install Flutter manually
Content: Installing Flutter manually with archive zip or git in terminal.
/install/vs-code
Title: Install Flutter using VS Code
Content: Shared instructions with getting started flow.
/install/troubleshooting
Title: Troubleshoot Flutter installation
Content: An index of known issues and their solutions during Flutter installation.
/install/upgrade
Title: Upgrade Flutter
Content: Mostly existing content relocated.
/install/uninstall
Title: Uninstall Flutter
Content: Mostly existing content relocated.
/install/system-requirements
Title: Development system requirements
Content: The latest known system requirements for development environments.
/install/add-to-path
Title: Add Flutter to your system path
Content: Instructions on how to add Flutter to your PATH.
Develop for new platform
/platform-integration/ios/setup
Title: Set up iOS development
/platform-integration/android/setup
Title: Set up Android development
/platform-integration/web/setup
Title: Set up web development
/platform-integration/macos/setup
Title: Set up macOS development
/platform-integration/windows/setup
Title: Set up Windows development
/platform-integration/linux/setup
Title: Set up Linux development
/platform-integration/setup
Title: Set up development for a new platform
Content: Index for setting up your system to develop for a new platform.
/platform-integration/add-new-platform
Title: Best practices for bringing your app to a new platform
Testing and metrics
Setup time reduction:
Setup completion:
Setup success:
#install-and-setup
channel, and StackOverflow.Desire to develop for other platform:
Release criteria
Questions
The text was updated successfully, but these errors were encountered: