-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Flutter as framework of Dart #12866
base: master
Are you sure you want to change the base?
Flutter as framework of Dart #12866
Conversation
This PR moves all the files of Flutter to be under Dart, same as JavaScript and Python and other language to framework relationships. After this is merged. I will begin looking at first updating all the links in product and static-pages to respect these new redirect links. Potentially blogs aswell. But then importantly and funcitonally, I want to look at ensuring that feature which the Flutter SDK inherits from the Dart SDK and any example in the other direction, are properly show in the docs. For example Dio integration is not seen in flutter.
flutter icon should display for flutter on main page and side bar
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Skipped Deployment
|
Bundle ReportChanges will increase total bundle size by 5.35kB (0.03%) ⬆️. This is within the configured threshold ✅ Detailed changes
Affected Assets, Files, and Routes:view changes for bundle: sentry-docs-client-array-pushAssets Changed:
view changes for bundle: sentry-docs-server-cjsAssets Changed:
view changes for bundle: sentry-docs-edge-server-array-pushAssets Changed:
|
getsentry/sentry-docs#12866 this PR is just to prepare for the changes we might apply on docs
would otherwise need to update types or some other strangeness, and the config as is, is rather extensive
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we could instead add the following rule in redirects.js
{
source: '/platforms/flutter/:path*',
destination: '/platforms/dart/guides/flutter/:path*',
},
happy to push that change in this PR, lmk :)
to: '/platforms/dart/guides/flutter/tracing/trace-propagation/', | ||
}, | ||
{ | ||
from: '/platforms/flutter/tracing/trace-propagation/custom-instrumentation/', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I picked this entry randomly to test my suggestion for using redirect.js - and found out that this path doesn't exist. the correct path is
/platforms/flutter/tracing/instrumentation/custom-instrumentation/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we can probably ignore this if we use the redirects.js approach
This PR moves all the files of Flutter to be under Dart, same as JavaScript and Python and other language to framework relationships.
After this is merged. I will begin looking at first updating all the links in the following, to respect these new redirect links.
Functionally in the UI, this PR only really removes Flutter as a platform in the landing page and side bar. It is a subitem under Dart
But then importantly and functionally, I want to look at ensuring that features which the Flutter SDK inherits from the Dart SDK, and any examples in the other direction, are properly show in the docs. For example Dio integration is not seen in flutter.