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

[proposal] address missing features for flutter web in flutter/uxr #52

Closed
iapicca opened this issue Apr 28, 2021 · 9 comments
Closed

[proposal] address missing features for flutter web in flutter/uxr #52

iapicca opened this issue Apr 28, 2021 · 9 comments

Comments

@iapicca
Copy link

iapicca commented Apr 28, 2021

I'm a great fan of the concept and the work done by the team and the community for nav2-usability
I'm also a fan of the initiative suggested by @rydmike and carried on by @osaxma of collecting flutter web limitation
so far (with the feeling that this list is just a fraction of the issues):

plus all the keyboard, mouse and other issues not specific to web

IMHO, how these issues are addressed should depend from devs feedback,
for example in a recent youtube conference @mariamhas asks feedback about the use cases for flutter web hot-reload
@marwan-at-work and @nguyenxndaidev provided 2 valid use cases for flutter web hot-reload:

such a useful feedback could be "irretrievable" if not collected properly.

As a flutter developer I'm concerned about the future for flutter web,
quoting @creativecreatorormaybenot 's comment in reference to hot reload for flutter web

The fact that Flutter Web does not support it as a stable platform should be a big red flag in terms of priority. If the priority is low because it seems like this is not feasible, you should at least give us an indication that it is not going to happen.

I feel in the same way and not just for hot reload, but for most (if not all) the missing features mentioned above
and often parity are considered feature request with low priority, but for devs these feel like bugs
(paraphrasing @gaaclarke comment on a not-so-much tangentially related issue)

these red flags might cause even flutter enthusiasts to looks somewhere else for web development (for example)
this is a dangerous feedback loop

flutter web is not a priority => flutter web lacks features => few devs adopt flutter web => flutter web is not a priority

Collecting and analyzing developers feedback might break this loop

I wish the missing features for flutter web will be addressed in the same way as nav2-usability

thank you

@xuanswe
Copy link
Contributor

xuanswe commented Apr 28, 2021

flutter web is not a priority => flutter web lacks features => few devs adopt flutter web => flutter web is not a priority

Nice quote 😄 !

@amorenew
Copy link

Hot-reload is a must feature for web developers 😭 🥺

@mariamhas
Copy link

Thank you for the feedback and pointing us to the web limitations outlined by @osaxma.

Feedback like this is very valuable so I appreciate you taking the time to share it.

While Flutter’s web support is now available in the stable channel, we don’t consider the work done.

Leading up to the stable release, we did several research studies with early adopters using Flutter on the web as well as surveys to help us define the V1 stable release of Flutter’s web support.

We are currently in the process of defining our priorities and future roadmap for Flutter on the web.

My main takeaway from your feedback is that you’d like to see the same transparency with our plans and research for Flutter on the web that we have done with the research for nav2.

I’m closing this issue, but will ensure that we address the points you made when we communicate our plans and conduct our research for Flutter on the web in the future. Stay tuned :)

Until then, the best way to provide the team feedback is to continue filing and upvoting issues in the flutter/flutter repo.

Thank you!
Mariam

@iapicca
Copy link
Author

iapicca commented May 14, 2021

[...] My main takeaway from your feedback is that you’d like to see the same transparency with our plans and research for Flutter on the web that we have done with the research for nav2. [...]

@mariamhas
that is almost correct, I do have a question that I feel being the true core of the issue;
for the current road-map for web and desktop states

For Web specifically, our focus will be on fidelity and performance, rather than new features

some, including myself, may feel that the road-map could be more detailed, specifically

is parity across platform considered a new feature?

@mariamhas
Copy link

following up on this: I hope this blog post is the kind of roadmap you were looking for and addresses more specifically what our near term plans are. https://medium.com/flutter/flutter-whats-next-on-the-web-e0454bff964

@creativecreatorormaybenot

thanks @mariamhas - the scrolling section in my mind is missing issues like flutter/flutter#83368, i.e. if you are not using macOS and/or trackpads, the default scrolling behavior currently is not usable on some devices.

@rydmike
Copy link

rydmike commented Sep 16, 2021

Excellent article and progress on Flutter Web, thanks @mariamhas.

I noticed the infamous topic SEO was only fleetingly mentioned, what kind of strategy are you going with to tackle it?

SEO Renderer

An interesting community approach that I found is the seo_renderer package: https://pub.dev/packages/seo_renderer

It can help a bit, you can wrap Text with TextRenderer, Links with LinkRenderer and Images in ImageRenderer. What does that do?

  • On VM builds, nothing
  • On Web it inserts the Text, Link, and image link alt name into the web page in normal divs, but only for search engine bots. When you test and verify in the browser you have to debug as a search engine crawler, to actually see them. For normal users they are not present as that would obviously mess up the web app.

It's not a perfect solution, but it can help to reduce the stress of not having any SEO at all from important text, links and images in your Flutter web app. Plus you can use it in cross platform VM builds too.

It uses dart.html to do its magic, and sure, mixing it into Flutter is not ideal. As a disclaimer, I contributed to the project, but only minorly by showing the author how to do the conditional dart.html and wrappers so it is not even imported in VM builds, but can be still be used in same code base.

@creativecreatorormaybenot

@rydmike I am 99% sure this behavior is punished by search engines btw.

@rydmike
Copy link

rydmike commented Sep 16, 2021

@creativecreatorormaybenot it is definitely a strong possibility that it may be so.

Author is trying to find out if that is the case as well:

I've seen reports from using this package and getting good SEO results, but I'm not sure either. It is indeed "a bit" like past cloaking.

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

No branches or pull requests

6 participants