Skip to content

Conversation

@adegeo
Copy link
Contributor

@adegeo adegeo commented Aug 9, 2021

  • Merged the sensor related device feature articles into a single article: sensors.md
  • Rewrote code examples
  • Improved intros to each sensor
  • Moved the sensor speed include into this file
  • Created new TOC entry (just a guess for now) Device features/Sensors
  • Enabled latex for embedding mathematical formulas (converted plain text formulas to latex)

Internal preview link

@davidbritch

Contributes to #16

@adegeo adegeo requested a review from davidbritch August 9, 2021 19:41
@adegeo adegeo marked this pull request as ready for review August 9, 2021 19:57
Copy link
Contributor

@davidbritch davidbritch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only minor comments.

docs/TOC.yml Outdated
items:
- name: Customize controls
href: user-interface/handlers/customize.md
- name: Device features
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#16

The root node should be Platform integration, followed by an Essentials node, then Sensors.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ditto for the folder structure in the repo: docs/platform-integration/essentials/

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll follow up with a new PR to move all the files. With the TOC though, should we call out essentials as a section? What benefic does it provide to do

Device features > Essentials > Sensors over
Device features > Sensors

The TOC doesn't need to logically follow the repo folder structure. I know the product will evolve with how essentials is presented to the developer, but to me, it doesn't make sense to call out essentials anymore. It's not a library or a product, you may need some config, but it's just using .NET MAUI to access to device features, essential or not. We can play with it.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are two issues here. The first is calling it Device features. Essentials includes functionality that isn't a device feature (e.g. main thread access, file APIs, web auth etc.). Hence the original product name - it was the essential functionality missing from Xamarin.Forms, and other Xamarin platforms. It's still going to publicly be referred to as Essentials over the first year of MAUI.

The second issue is that we specifically want a root TOC node of Platform integration, with Essentials under it, because Essentials is but one approach to platform integration. There'll be a lot more content under Platform integration. If we don't have the Essentials node under Platform integration it'll get very messy finding things (there'll be ~100 docs under platform integration at GA).

Copy link
Contributor

@davidbritch davidbritch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll merge to keep you moving, but we definitely want Platform integration > Essentials > Sensors, and the same folder structure in the repo.

@davidbritch davidbritch merged commit 8048f54 into adegeo-essentials-ported Aug 11, 2021
@davidbritch davidbritch deleted the adegeo-essentials-sensors branch August 11, 2021 11:01
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

Successfully merging this pull request may close these issues.

3 participants