TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Adaptive Cards: Platform-agnostic snippets of UI, authored in JSON

100 pointsby kaypee901over 1 year ago

20 comments

Dachande663over 1 year ago
If Microsoft want to use this, they need to use it. I was engaged in a 9 week battle with the MS Teams review team who were wholly and utterly incompetent.<p>They wanted fields added and moved that could not be because all of the layout was determined by the card and MS Teams own rendering (namely they wanted a settings link on a card list). It took three calls with their “engineers” to make them realise. Microsoft will never commit to something long enough for them to learn it internally so why should anyone else bother?<p>Rant over.
评论 #39296055 未加载
评论 #39302131 未加载
评论 #39295515 未加载
felixfbeckerover 1 year ago
I get that XML is not cool anymore but JSON is really a terrible language to define user interfaces. This smells like using JSON for the sake of using JSON.<p>There&#x27;s a reason why JSX (basically XML in JS) is so popular and not some JSON definition of HTML. Even Windows apps have XAML so the UI doesn&#x27;t have to be defined in C# objects.
评论 #39295063 未加载
评论 #39301408 未加载
评论 #39297646 未加载
npuntover 1 year ago
This is so weird. Why would anyone adopt a UI framework from a team that can&#x27;t even put together decent website for their UI framework?<p>The site shows exactly one example (a very ho-hum weather widget) and that requires squinting to see it among all the other things in the video. It shows no other examples, nor the code to construct them. Nor does their documentation home [1]. The text is also illegible with ultra-thin 200 weight straight out of 2013.<p>Like, there&#x27;s hundreds of examples of developer tool sites that get the basics right, and they&#x27;re not even about UI.<p>(normally its bad form on HN to comment on the site vs the content, but in this case the site really <i>is</i> the content)<p>[1]: <a href="https:&#x2F;&#x2F;learn.microsoft.com&#x2F;en-us&#x2F;adaptive-cards&#x2F;" rel="nofollow">https:&#x2F;&#x2F;learn.microsoft.com&#x2F;en-us&#x2F;adaptive-cards&#x2F;</a>
评论 #39297672 未加载
modulovalueover 1 year ago
There&#x27;s a similar project from Google: <a href="https:&#x2F;&#x2F;github.com&#x2F;flutter&#x2F;packages&#x2F;tree&#x2F;main&#x2F;packages&#x2F;rfw">https:&#x2F;&#x2F;github.com&#x2F;flutter&#x2F;packages&#x2F;tree&#x2F;main&#x2F;packages&#x2F;rfw</a><p>rfw is used by Google&#x27;s Gemini LLM to generate UI.<p>rfw runs on the web&#x2F;android&#x2F;ios&#x2F;macos&#x2F;linux&#x2F;windows, anywhere where Flutter runs.
andrewstuartover 1 year ago
I like that Microsoft innovates alot but I&#x27;m wary of the long trail of UI technologies that have fallen by the wayside.
bmalicoatover 1 year ago
I first heard of this project here on HN when I shared a project I finished with a friend to accomplish a similar goal for iOS widgets[1]. I still use a server-delivered JSON file for a live widget on my iPhone. I think there&#x27;s a lot of value to this type of delivery even if you can&#x27;t fully customize the UI.<p>[1] <a href="https:&#x2F;&#x2F;wd.gt&#x2F;" rel="nofollow">https:&#x2F;&#x2F;wd.gt&#x2F;</a>
dangover 1 year ago
Related:<p><i>Adaptive Cards</i> - <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=31449834">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=31449834</a> - May 2022 (35 comments)<p>edit: also - related ongoing thread I assume?<p><i>Microsoft&#x27;s Fast</i> - <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=39294360">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=39294360</a>
bern4444over 1 year ago
I was on a team building tweet tiles[0][1] which required a cross platform UI system that would allow 3rd party developers to register a schema that would be used to render a custom UI under certain circumstances (usually by including a link in your post). We made it to beta, but never beyond given the internal turmoil.<p>We considered Adaptive Cards, but ultimately decided against it in favor of our own schema especially since we already had platform specific UI libraries.<p>Why?<p>Adaptive cards proved inflexible for uses not part of its core capabilities.<p>Adaptive cards doesn&#x27;t allow for interactive elements IE charts or graphs with tool tips.<p>Adaptive cards doesn&#x27;t appear to be well maintained or supported for ongoing future needs.<p>There were some other reasons but they are fuzzy a couple of years after the fact. This was one of the most fun projects I&#x27;ve worked on, I had to write a mini parser which is always a fun exercise, and I think it had massive potential. Would have been a very cool project to ship to prod fully but it wasn&#x27;t meant to be.<p>[0]<a href="https:&#x2F;&#x2F;twitter.com&#x2F;XDevelopers&#x2F;status&#x2F;1585707921433923585" rel="nofollow">https:&#x2F;&#x2F;twitter.com&#x2F;XDevelopers&#x2F;status&#x2F;1585707921433923585</a><p>[1]<a href="https:&#x2F;&#x2F;twitter.com&#x2F;ashevat&#x2F;status&#x2F;1562862418514288640" rel="nofollow">https:&#x2F;&#x2F;twitter.com&#x2F;ashevat&#x2F;status&#x2F;1562862418514288640</a>
candiddevmikeover 1 year ago
&gt; Adaptive Cards are platform-agnostic snippets of UI<p>No macOS or Linux support...
评论 #39294821 未加载
评论 #39294681 未加载
评论 #39294815 未加载
emorning3over 1 year ago
I&#x27;ve played around with Lowdefy, <a href="https:&#x2F;&#x2F;lowdefy.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;lowdefy.com&#x2F;</a>. I kinda liked it. A similar concept but uses YAML instead of JSON.
password4321over 1 year ago
Someone showed up to say it would stick around (since 2016) 2 years ago.<p><a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=31449834#31467664">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=31449834#31467664</a>
kmetanover 1 year ago
This brings memories of Object Linking and Embedding...
评论 #39294848 未加载
Theoretical_Catover 1 year ago
This format is supported by Webex Teams, and I&#x27;ve used it to make alerts from Alertmanager actually readable. When it&#x27;s used in conjunction with go templating, it can create some pretty useful results.
klysmover 1 year ago
I don&#x27;t know how many times we are going to try and define UI as data (XML&#x2F;JSON&#x2F;whatever). Has it not been sufficiently demonstrated that it doesn&#x27;t really work in practice?
评论 #39296708 未加载
ranger_dangerover 1 year ago
Now if this was a Qt&#x2F;QML plugin I would actually pay money for it.
zarathustrealover 1 year ago
How many times are we going to “invent” data as code before we admit everyone should be using Lisp?
awinter-pyover 1 year ago
is it like some sort of hypertext markup language that can be styled using a cascading class-based DSL
furyofantaresover 1 year ago
Is the voice in the promo video TTS?
ChrisArchitectover 1 year ago
(2021)? (2016)?
jcolettiover 1 year ago
Is it just me or is the design (and especially typography) of this website atrocious?
评论 #39295258 未加载