Azure / azure-functions-durable-js

JavaScript library for using the Durable Functions bindings
https://www.npmjs.com/package/durable-functions
MIT License
128 stars 47 forks source link

Add new programming model to Durable docs #442

Closed hossam-nasr closed 1 year ago

hossam-nasr commented 1 year ago

Same as https://github.com/Azure/azure-functions-nodejs-worker/issues/651 but for Durable docs. Durable docs do their organization of language snippets differently than other docs. For example, Blob storage bindings docs have a pivot at the top to choose a language:

image

Under that language's page, we can switch between old and new programming model snippets using tabs at the top of the snippet.

On the other hand, durable docs use those tabs on top of snippets to switch between programming languages with no pivot at the top:

image

We would have to add a tab for each of JS old model, TS old model, JS new model, TS new model, or switch all of the durable docs to using pivots at the top to choose a language rather than tabs, and reserve tabs for switching between models, or come up with another solution.

hossam-nasr commented 1 year ago

Closed by https://github.com/MicrosoftDocs/azure-docs-pr/pull/227228