Skip to content

Automatically add up-to-date screen shots to the dartdocs for widgets #1433

Closed

Description

@FlutterIssues

From @sethladd on November 6, 2015 17:11

  • on the homepage
  • in the widget gallery
  • in the tutorial, showing what each snippet should look like

Copied from original issue: flutter/website#53

Activity

  1. FlutterIssues commented on Jan 28, 2016

    @FlutterIssues
    Author

    From @HansMuller on November 6, 2015 18:8

    Yes! To the widget gallery http://flutter.io/widgets/

    For many of the basic widgets, diagrams would be helpful.

  2. eseidelGoogle commented on Jan 28, 2016

    @eseidelGoogle
    Contributor

    Pretty simple on Android:
    http://blog.shvetsov.com/2013/02/grab-android-screenshot-to-computer-via.html

    I've considered adding a flutter screenshot command to make this even easier.

    The flutter tools depend on the imobiledevice library already, which includes idevicescreenshot to make it possible to pull screenshots from an iOS device as well.

  3. changed the title [-]Add some screenshots[/-] [+]Add some screenshots to Widget Gallery and Tutorial[/+] on Jan 28, 2016
  4. added this to the Hackathon milestone on Jan 28, 2016
  5. eseidelGoogle commented on Feb 25, 2016

    @eseidelGoogle
    Contributor

    Do we plan to complete this for next Tues?

  6. modified the milestones: , Hackathon on Feb 25, 2016
  7. Hixie commented on Mar 5, 2016

    @Hixie
    Contributor

    Here's a proposal:

    • Have some dartdocs have little code snippets showing how to use the widget.
    • Make an application display each such snippet in turn, and with each one output to the console a marker.
    • Have a script watch the console, and call adb screenshot each time the marker is seen, saving the screenshot in a predictable way.
    • Have a script upload the screenshots somewhere predictable.
    • Reference the screen shots from the dartdocs.
    • Have this whole thing play out with each change, so that the screenshots are always up to date.
  8. Hixie commented on Apr 4, 2016

    @Hixie
    Contributor

    cc @qchong

    This is the bug I was thinking of that talked about having bots automatically generate screen shots and uploading them so that the documentation could have continually-updated pictures of the widgets.

  9. 17 remaining items

  10. Hixie commented on Dec 19, 2018

    @Hixie
    Contributor
  11. added
    c: contributor-productivityTeam-specific productivity, code health, technical debt.
    frameworkflutter/packages/flutter repository. See also f: labels.
    and removed
    will need additional triageThis issue or PR needs attention before being routed to secondary triage
    on Dec 19, 2018
  12. removed this from the milestone on Dec 10, 2020
  13. Hixie commented on Mar 16, 2023

    @Hixie
    Contributor

    Going to close this now that we have live previews which is even better.

  14. github-actions commented on Mar 30, 2023

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  15. locked as resolved and limited conversation to collaborators on Mar 30, 2023
  16. added
    P3Issues that are less important to the Flutter project
    and removed on Jun 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Issues that are less important to the Flutter projectc: contributor-productivityTeam-specific productivity, code health, technical debt.d: api docsIssues with https://api.flutter.dev/frameworkflutter/packages/flutter repository. See also f: labels.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions