googlecodelabs / flutter-github-graphql-client Goto Github PK
View Code? Open in Web Editor NEWLicense: Apache License 2.0
License: Apache License 2.0
Hello, I really enjoyed the new Github GraphQL tutorial. Thanks for your hard work!
I was able to get it to work after adjusting a few settings in the Github App created in Step 4. First I enabled the following permissions to "Read-only" (Issues and Pull-Requests):
Second, I installed the App by visiting the "Install" tab and clicking Install for my account.
After this everything worked great!
Not sure if I'm unique in experiencing this so I wanted to share. Thanks!
Thanks for the codelab. I got it to work on my Chromebook. I added " gdk_set_allowed_backends("x11");" to the linux main.cc (see github issue #57932).
Just wanted to report some output from my terminal when using the desktop app.
`[30897:30999:0714/224556.039224:ERROR:gbm_wrapper.cc(271)] Failed to export buffer to dma_buf: No such file or directory (2)
[30897:30999:0714/224556.040362:ERROR:gbm_wrapper.cc(271)] Failed to export buffer to dma_buf: No such file or directory (2)
[30897:30999:0714/224556.041202:ERROR:gbm_wrapper.cc(271)] Failed to export buffer to dma_buf: No such file or directory (2)
[30897:30897:0714/224557.153617:ERROR:gl_surface_presentation_helper.cc(258)] GetVSyncParametersIfAvailable() failed for 1 times!
[30897:30897:0714/224557.185157:ERROR:gl_surface_presentation_helper.cc(258)] GetVSyncParametersIfAvailable() failed for 2 times!
[30897:30897:0714/224557.232237:ERROR:gl_surface_presentation_helper.cc(258)] GetVSyncParametersIfAvailable() failed for 3 times!
[31532:31532:0714/224617.732448:ERROR:edid_parser.cc(102)] Too short EDID data: manufacturer id
Opening in existing browser session.
[0714/224617.869794:ERROR:nacl_helper_linux.cc(308)] NaCl helper process running without a sandbox!
Most likely you need to configure your SUID sandbox correctly
`
It's already in step-5 and have create file build.yaml
but when generate it with command
$ flutter pub run build_runner build --delete-conflicting-outputs
and look through lib/src/github_gql/
is missing some files like
├── github_oauth_credentials.dart
├── main.dart
├── src
│ ├── github_gql
│ │ ├── github_queries.ast.gql.dart
│ │ ├── github_queries.graphql
│ │ ├── github_queries.op.gql.dart
│ │ └── github_queries.req.gql.dart
│ └── github_login.dart
└── third_party
└── github_graphql_schema
├── schema.public.ast.gql.dart
├── schema.public.graphql
└── schema.public.schema.gql.dart
So, my expectation should have those file like this :
CMake Error at flutter/generated_plugins.cmake:13 (add_subdirectory):
The source directory
C:/learning/github_graphql_client/windows/flutter/ephemeral/.plugin_symlinks/window_to_front/windows
does not contain a CMakeLists.txt file.
Call Stack (most recent call first):
CMakeLists.txt:51 (include)
Exception: Unable to generate build files
The window to front native plugin doesn't seem to work for me on a Chromebook running in the default Linux (penguin) container.
I expect that this is probably due to the on-going work to get Wayland supported in Flutter Linux desktop and thus the current need for the gdk_set_allowed_backends("x11");
workaround, but I thought I flag this here in case anyone else runs into it in the meantime.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.