Home Blog Page 29

How Agile Improvement Implements the One Supply of Fact Philosophy


In fashionable software program improvement, agility isn’t a matter of velocity — it’s about being adaptable, open, and constant. Whereas a lot of the eye in Agile improvement is concentrated round iterations, sprints, and steady supply, documentation usually falls behind.

However what if the documentation may sustain with the code? That’s precisely what Documentation as Code is about.

At its coronary heart, this method treats documentation like software program code: it’s versioned, re-inspected, examined, and deployed utilizing the identical instruments and workflows.

This idea is in actual alignment with the “Single Supply of Fact” philosophy that makes an attempt to convey and solidify info collectively in a undertaking so it doesn’t create confusion, redundancy, and miscommunication.

Let’s dive into what Documentation as Code (Docs as Code) is and the way it allows this philosophy in Agile settings.

What Is Documentation as Code?

Documentation as Code refers back to the apply of writing and supporting documentation utilizing the identical processes and instruments which are used for writing code.

How Agile Improvement Implements the One Supply of Fact Philosophy

As a substitute of storing technical content material in exterior programs reminiscent of Phrase paperwork or wikis, Docs as Code shops all the things in a model management system, usually Git.

Because of this documentation:

  • Lives in the identical repositories because the supply code.
  • Is written in light-weight markup languages reminiscent of Markdown or AsciiDoc.
  • Follows the identical branching, pull request, and code overview workflows.
  • Is built-in into the CI/CD pipeline, the place documentation could be routinely linted, examined, and deployed.

The important thing rules of the Documentation as Code philosophy collaborate with each other to maintain documentation exact, up-to-date, and straightforward to control.

To start with, by utilizing model management, each change to the documentation is tracked and could be rolled again if wanted, identical to with code.

Automation, in flip, helps simplify the method — builds, previews, and error checks occur independently, which implies much less work concerned and faster supply.

Additional, as a result of the identical device units are used when creating customized software program, collaboration is manner simpler. Builders, product managers, and technical writers may even contribute in keeping with established workflows.

The One Supply of Fact Philosophy

One Supply of Fact implies having info in a one single location, which everyone on the crew can seek advice from.

It’s easy in Agile improvement to have the documentation get unruly — there could be a few of it on wikis, some on shared drives, and a few buried in previous electronic mail threads.

With Documentation as Code, in flip, the Single Supply of Fact turns into the codebase itself. The documentation exists alongside the code, in the identical model management repository, and makes use of the identical workflow.

Put merely, any alteration to the code could be adopted by the matching documentation replace and everybody routinely is aware of about it.

By linking code and documentation collectively, groups keep away from duplication, scale back errors, and facilitate communication. This fashion, it’s a lot simpler to belief documentation — as a result of it will get up to date identical to the code, and by the identical folks.

Advantages of Documentation as Code in Agile Software program Improvement

General, Documentation as Code possesses some compelling advantages in Agile improvement, serving to groups work quicker, wiser, and with fewer misunderstandings.

GitHub, GitLab

First, it retains documentation updated. As a result of it’s being saved and stored with the code, any modifications could be carried out and reviewed directly. No ready for an individual to revise a separate doc or wiki down the road.

Second, it improves teamwork. All of the contributors, from builders and testers to writers and product managers, can contribute to the documentation utilizing the identical instruments they use to code.

Third, it impacts the code’s high quality. Writing and validating technical documentation concurrently with code forces builders to pay extra consideration to how their code behaves, which tends to result in a greater design with fewer bugs.

Fourth, builders can add automated checks and assessments to the CI/CD pipeline. They will routinely discover damaged hyperlinks, misspellings, or out of date references within the docs, the identical manner they’ll discover code.

Lastly, quite a few affluent corporations are already working towards this method. GitLab and Kubernetes initiatives have indicated that placing documentation into the event course of leads to extra steady, useful, and easier-to-use documentation.

The best way to Implement Documentation as Code

Getting Documentation as Code stay isn’t that tough, however it’ll take you to change the way in which your crew operates. One of the best recommendation right here is to start out small and regularly transfer towards making Docs as Code part of your course of.

1. Begin Small

To start with, select a small undertaking or a selected module to doc utilizing Docs as Code. This step permits your crew to get acquainted with the method with out feeling overwhelmed.

Then write documentation for one or two options or parts and retailer it in the identical Git repository as your code. This fashion, you’ll get a really feel for the way documentation could be handled like code.

2. Use the Proper Instruments

Subsequent, double-check you’ve the best instruments at hand. For model management, you’ll need to use a system like Git (with GitHub, GitLab, or Bitbucket).

For writing the documentation itself, you need to use easy markup languages, reminiscent of Markdown, AsciiDoc, or reStructuredText.

Additional, take into account making use of static website mills like MkDocs, Docusaurus, or Hugo to show your Markdown information into knowledgeable, user-oriented documentation web site.

Lastly, combine your documentation into your CI/CD pipeline (e.g., GitHub Actions, GitLab CI, or CircleCI) so as to auto-format checks, spelling checks, and deployment.

Documentation into Your Workflow

3. Incorporate Documentation into Your Workflow

When you’ve the instruments arrange, it’s time to merge documentation into your improvement workflow. Put merely, it means inserting documentation adjustments in the identical pipeline as code adjustments.

If a developer creates code, they have to additionally replace or add the respective documentation in the identical commit. To maintain all of the components organized, it’s essential to create pull requests for documentation adjustments and overview them identical to you’ll overview code adjustments.

4. Educate Your Group

Apart from, it’s vital to teach your crew on how Docs as Code works. This implies explaining the instruments you’ll use, the workflows, and the advantages of getting documentation in model management.

Have interaction builders, product managers, and technical writers to play lively roles in including to documentation. Collective accountability will make documentation a crew effort, not the only real accountability of 1 particular person.

5. Keep away from Frequent Pitfalls

On the identical time, watch out to not fall into widespread traps when going Docs as Code. One mistake to keep away from is over-engineering the documentation course of on the onset. As a substitute, simplify issues first after which add more and more extra advanced instruments or processes.

One other mistake is forgetting documentation after the preliminary setup is full. As a way to maintain your docs up-to-date, embody them within the CI/CD pipeline and encourage common overview. A quick reminder: for those who maintain documentation a low precedence, it’ll simply fall behind.

6. Undertake Steady Enchancment

Lastly, keep in mind that Docs as Code is a steady course of. The extra your crew will get used to the workflow, the extra it is possible for you to to streamline and refine it much more.

You possibly can, for example, add even higher automation, enhance the type, and even add person suggestions to additional improve the documentation. What is crucial is to deal with it as a long-term funding that pays off within the type of higher collaboration and a greater improvement course of.

Challenges and Concerns of Creating Documentation in Software program Improvement

One of many greatest challenges is to maintain the documentation updated when the code is being edited. To resolve this, there’s a must replace the documentation and likewise the code.

Creating Documentation

One other downside is duplication. Programmers prefer to remark within the code how issues are completed, and sometimes this repeats the documentation.

Whereas code feedback are vital, they have to concentrate on technical particulars within the code, and the documentation ought to present clear, high-level info for customers.

Adopting Docs as Code additionally requires remodeling how the crew works, which could be difficult for people used to conventional documentation. A few of the crew members may resist at first, however with time, once they see the advantages, it turns into painless.

Though automation helps, it will probably’t do all the things. Instruments can seek for small errors, however they’ll’t inform if the documentation is unambiguous or useful. That takes human involvement. Reviewing the documentation regularly ensures that it’s worthwhile and correct.

Lastly, as your undertaking progresses, the system documentation can turn out to be outdated or disconnected from the place the product is. To forestall this, it’s vital to have evaluations and updates regularly.

Having an individual who has the accountability of keeping track of particular areas of the documentation may also maintain all the things correct and true to life.

Problem Answer
Maintaining Documentation As much as Date Replace code and documentation collectively.
Duplication of Info Hold code feedback technical; documentation ought to concentrate on high-level information.
Adopting Docs as Code Regularly transition, displaying advantages over time.
Automation Limitations Common human evaluations to make sure readability and accuracy.
Outdated Documentation Common evaluations and updates to align with the newest product model.
Lack of Possession Assign crew members to supervise particular areas of documentation.

Actual-World Use Circumstances of Leveraging Software program Documentation

To get an thought of how Documentation as Code operates in precise environments, let’s analyze some use instances of corporations and initiatives which have efficiently enforced this technique.

The instances beneath research illustrate how Docs as Code aids in enhancing collaboration, sustaining related documentation, and making the event course of extra ample.

1. GitLab: A Chief in Docs as Code

GitLab, a well-known DevOps and CI/CD device, is a superb instance of an organization that has welcomed Documentation as Code.

Its docs are saved in the identical Git repository because the code, and your complete crew works collectively to take care of it as much as the minute.

The corporate makes use of GitLab’s personal CI/CD pipeline to routinely produce and deploy the documentation each time a change is pushed to the codebase.

Because of such an association, all undertaking members can simply entry and leverage the documentation. And since it’s a part of the event course of, GitLab sidesteps the basic downside of documentation rising outdated or forgotten.

It additionally unites your complete crew—builders, technical writers, and everybody else can contribute to the documentation in the identical manner they contribute to the code.

2. Kubernetes: Open Supply Success

Kubernetes is yet one more nice instance of how Documentation as Code is practiced.

All person documentation and API references for Kubernetes are stored in the identical Git repository as their code. This means that each time the software program is being altered, it’s easy to replace the documentation too.

In addition they make use of automation to verify for issues like hyperlink breaks or out of date code examples.

General, because of this course of, numerous contributors repeatedly refine the code and documentation at common intervals, guaranteeing that each piece of labor is present and reliable.

3. Stripe: Maintaining Documentation in Sync with Code

Stripe, a longtime cost firm, additionally makes use of Documentation as Code to maintain its API documentation updated.

As their crew adjusts their API, they modify their documentation together with the code throughout the identical Git repository. This fashion, all edits are immediately mirrored within the official docs.

By together with documentation in the identical course of as coding, Stripe avoids the inconvenience of sustaining separate documentation and supplies customers with the newest and finest info always.

The Position of Technical Writers in Docs as Code

Within the strategy of Docs as Code, technical writers have a particularly vital place. Whereas the builders write down the technical info, technical writers double-check that such info isn’t tough to learn, structured adequately, and straightforward to know for everybody.

Documentation

Technical writers rework difficult technical language into components anybody can perceive, and that is particularly important in Agile initiatives the place each software program and documentation get developed hand-in-hand.

Technical writers additionally work with builders, utilizing the identical Git repository in order that the documentation is at all times updated with the newest code.

Their data makes the documentation correct, well-organized, and useful. They overview updates, accumulate recommendations, and use automation instruments to catch small errors.

Typically, technical writers fill the hole between the technical facet of improvement and the wants of customers, making the entire documentation course of a hit.

FAQ

What’s “Documentation as Code”?

Documentation as Code is a apply of writing and conserving documentation in the identical manner builders write and maintain code — via automation, Git, and model management. It retains the documentation up-to-date, reviewed, and versioned identical to the software program itself.

Do builders write all of the documentation in Docs as Code?

Not essentially. Whereas builders will contribute, technical writers are nonetheless obligatory. They make the data properly organized, readable, and clear to customers, even when it’s written in a code repository.

Why is it essential to maintain documentation in the identical Git repository as code?

Maintaining code and documentation separate signifies that each of them could be up to date on the identical time. It avoids stale info being utilized by groups and ensures customers get the newest and most correct documentation on a regular basis.

Learn the way warehouse automation is resulting in ‘lights out’ success

0


Learn the way warehouse automation is resulting in ‘lights out’ success

A RightPick system with an ASRS illustrating lights out perform. Supply: RightHand Robotics

Warehouse operators are turning to robotics and automation to satisfy expectations for decrease prices and ever-faster success. “Lights-out” amenities promise full automation, however most of at this time’s warehouses and distribution facilities nonetheless depend on guide processes. A panel dialogue on the 2025 Robotics Summit & Expo will focus on the maturing applied sciences that allow lights-out operations.

This session on “Maximizing the Worth of a Warehouse By Lights Out Order Achievement” will likely be at 11:30 a.m. ET on Thursday, Might 1, in Room 256 of the Boston Conference and Exhibition Middle. The panelists may even contemplate the roles of choosing techniques, cellular robots, and automatic storage and retrieval techniques (ASRS).

Based on our specialists, end-to-end automation requires a transparent enterprise mannequin, correctly built-in applied sciences, and software program and processes to handle the return on funding (ROI). Attendees can study extra in regards to the following:

  • How warehouses can climate present financial disruptions
  • Enabling robots to work with legacy techniques and different equipment
  • The place human associates or supervision nonetheless is sensible
  • How a lot demand there may be for lights-out amenities
  • The function of software program, information, and synthetic intelligence in enhancing accuracy and throughput
  • How essential are integrators?

Study from specialists in lights-out success

Yaro Tenzer, CEO of RightHand Robotics, will discuss lights out warehouses at the 2025 Robotics Summit.

Yaro Tenzer is co-founder and CEO of RightHand Robotics, which offers predictable success in logistics purposes by growing robots that may grasp all kinds of on a regular basis objects. A pioneer within the house, RightHand has scaled prospects in Europe, Japan, and North America.

Previous to forming RightHand Robotics, Dr. Tenzer was a postdoctoral researcher on the Harvard Biorobotics Lab, the place he and his co-founders developed a most well-liked greedy answer for the DARPA Grand Robotics Problem.

Yaro acquired his Ph.D. in medical robotics from the Imperial Faculty London and holds a M.Sc. in mechatronics and B.Sc. in mechanical engineering from Ben Gurion College.

Ayman Labib is co-founder and CEO of SIMPL Automation.

Ayman Labib is co-founder and CEO of SIMPL Automation. Below his management, SIMPL is remodeling warehouse effectivity by retrofitting goods-to-person (G2P) automation onto present storage techniques—bridging the hole between conventional infrastructure and cutting-edge automation.

With greater than 28 years of expertise in automation, Labib has efficiently led over 80 automation initiatives throughout various industries. As the previous chief expertise officer at Invata Intralogistics, he performed a pivotal function in establishing and main its robotics division, driving greater than $180 million in income progress inside simply 4 years.

An entrepreneur at coronary heart, Ayman has based and invested in a number of start-ups, utilizing his mechanical and industrial engineering background to innovate in automation expertise. His experience in system design, robotics, and intralogistics has made him a acknowledged thought chief within the business, repeatedly pushing the boundaries of what’s attainable in warehouse automation.

Mike Keneally, co-owner of Accutech Packaging, will discuss lights-out order fulfillment at the Robotics Summit & Expo.

Mike Keneally is the co-owner of Accutech Packaging, a market chief in outbound packaging tools for the e-commerce and success industries. Its totally built-in options embody movie wrapping mailer techniques, autoboxing techniques, and padded mailer techniques. Keneally has been fascinated with the advances in robotics and has collaborated with quite a few firms within the ASRS and robotic choosing house.

Many firms are arising with nice options for merchandise choosing and sorting, however to realize decrease prices and quicker throughput, they need to consider built-in auto bagging and auto boxing.

Accutech affords its e-commerce shoppers the means to supply sustainable, curbside-recyclable packages that enchantment to their shoppers.

Eugene Demaitre, editorial director for robotics at WTWH Media

Eugene Demaitre is editorial director of the robotics group at WTWH Media, which produces Automated Warehouse, the Robotics Summit & Expo, The Robotic Report, and RoboBusiness.

Previous to working at WTWH Media, Demaitre was an editor at BNA (now a part of Bloomberg), Computerworld, TechTarget, Robotics Enterprise Assessment, and Robotics 24/7. He has participated in quite a few robotics webcasts, podcasts, and conferences worldwide.

Gene has a grasp’s from the George Washington College and lives within the Boston space.

Extra in regards to the Robotics Summit & Expo

The 2025 Robotics Summit & Expo will carry collectively greater than 5,000 attendees centered on constructing robots for numerous business industries. Attendees can achieve insights into the most recent enabling applied sciences, engineering finest practices, rising developments, and extra.

Keynote audio system will embody Aaron Saunders, the chief expertise officer at Boston Dynamics; James Kuffner, CTO of Symbotic; and Aaron Parness, director of utilized science in robotics and AI at Amazon Robotics, amongst others.

The present could have greater than 50 instructional periods in tracks on AI, design and growth, enabling applied sciences, healthcare, and logistics. The Engineering Theater on the present flooring may even function shows by business specialists.

The expo corridor will function over 200 exhibitors showcasing the most recent enabling applied sciences, merchandise, and companies that may assist robotics engineers all through their growth journeys.

The Robotics Summit additionally affords quite a few networking alternatives, a Profession Truthful, a robotics growth problem, the RBR50 Robotics Innovation Awards Gala, and extra.

Registration is now open.


SITE AD for the 2025 Robotics Summit registration.
Register now so you do not miss out!


ios – Swift CSV import fails with ‘Didn’t load flashcards: ERR257.DFU’ — doable encoding or parsing difficulty?


I’m engaged on importing flashcards from a CSV file in my Swift app. I exploit the next methodology to generate and write the CSV file:

func generateCSVText(withManagedObjects arrManagedObject: [Flashcard]) {
    var CSVString = "reply, questionn"

    for flashcard in arrManagedObject {
        let entityContent = ""(flashcard.flashcardAnswer)", "(flashcard.flashcardQuestion)"n"
        CSVString.append(entityContent)
    }

    let tempDirectory = FileManager.default.temporaryDirectory
    let fileURL = tempDirectory.appendingPathComponent("(cardSet.cardSetName).csv")

    do {
        attempt CSVString.write(to: fileURL, atomically: true, encoding: .utf8)
        DispatchQueue.principal.async {
            self.csvFileURL = fileURL
        }
        self.isShowingExportView = true
    } catch {
        print("Error writing CSV: (error.localizedDescription)")
    }
}

Then I try and import it utilizing:

func importFlashcards(from fileURL: URL) {
    do {
        let content material = attempt String(contentsOf: fileURL, encoding: .utf8)
        let rows = content material.parts(separatedBy: "n").dropFirst() // Skip header

        for row in rows {
            let trimmed = row.trimmingCharacters(in: .whitespacesAndNewlines)
            guard !trimmed.isEmpty else { proceed }

            var parts = trimmed.parts(separatedBy: "", "")
            if parts.depend == 2 {
                // Take away surrounding quotes
                var reply = parts[0]
                var query = parts[1]

                if reply.hasPrefix(""") { reply.removeFirst() }
                if query.hasSuffix(""") { query.removeLast() }

                dataController.newFlashcard(reply: reply, query: query)
            }
        }
    } catch {
        print("Didn't load flashcards: (error.localizedDescription)")
    }
}

Nonetheless, after I choose the file for import, I get the next error:

Didn't load flashcards: ERR257.DFU

I additionally opened the CSV in a web based CSV editor and viewer, chosen “UTF-8” encoding there, and it displayed/edited simply positive.

Bagel AI Raises $5.5M to Bridge Product and GTM Groups with AI-Powered Intelligence Platform

0


In a major transfer towards redefining how corporations align product technique with enterprise affect, Bagel AI has introduced a $5.5 million Seed funding spherical led by at.inc/, with extra backing from Demo Capital, Loyal VC, CS Angel, and notable angel traders together with Zoom’s former CPO Oded Gal, CyberArk Founder Udi Mokady, and Atlassian’s former Head of Product Advertising Sean Regan.

Fixing the Multi-Trillion-Greenback Disconnect

On the coronary heart of Bagel AI’s mission is fixing a $3 trillion-dollar downside: the misalignment between product groups and go-to-market (GTM) features. Regardless of corporations drowning in suggestions, analytics, and buyer insights, a lot of this information stays underutilized—locked in silos and unfold throughout instruments like Salesforce, Jira, Zendesk, and Gong. The outcome? Groups make product selections in a vacuum, and GTM methods fall flat—some estimates present as much as 70% of GTM methods fail resulting from poor alignment.

Bagel AI is stepping in because the AI-powered connective tissue between these important features.

Not Simply Extra Knowledge—Smarter Knowledge

Bagel AI doesn’t merely accumulate information—it transforms it. Utilizing customer-tailored AI fashions, Bagel AI mechanically analyzes scattered, unstructured suggestions from a number of sources, extracting significant insights about product gaps, person ache factors, and rising market tendencies.

The platform goes additional by linking these insights on to enterprise metrics, guaranteeing that each product choice will be quantified by ROI. This transforms guesswork into technique, and transforms information from a passive useful resource into an lively development driver.

“As corporations start shifting away from a growth-at-all-cost mindset and as an alternative specializing in smarter, extra sustainable development, Bagel AI is presenting a path to realize this,” stated Ohad Biron, CEO & Co-founder of Bagel AI. “We allow groups to pinpoint—utilizing AI—the fitting resolution for the fitting downside, all whereas driving measurable outcomes.”

AI-Pushed Product Intelligence: A Nearer Look

Right here’s how Bagel AI works throughout a typical enterprise product group:

  • Computerized Knowledge Consolidation: Pulls in structured and unstructured suggestions from Slack, Chrome, Jira, Gong, Salesforce, Notion, and extra.

  • AI-Powered Evaluation: Learns an organization’s distinctive taxonomy to detect patterns, product pains, and untapped alternatives in real-time.

  • Segmentation & Prioritization: Ranks roadmap objects based mostly on buyer sentiment, income potential, and adoption chance.

  • Finish-to-Finish Alignment: From product managers to gross sales leaders and buyer success groups, Bagel AI retains everybody aligned with 360° visibility into characteristic affect and supply.

This isn’t a static dashboard. It’s an always-on, studying system that acts as an clever product co-pilot, proactively recommending actions and roadmap concepts that drive enterprise outcomes.

Constructed for Groups Who Want Outcomes, Not Studies

“Product groups are drowning in scattered information and clunky instruments. Bagel AI adjustments that,” stated Oded Gal, former CPO of Zoom and Bagel AI board member. “It connects information to selections—and in the end to income—by automating the messy evaluation work and aligning groups quick.”

This isn’t simply one other analytics platform. Bagel AI’s zero-silo integration mannequin embeds deeply into present workflows, changing outdated options like Productboard, UserVoice, and even “glorified spreadsheets.”

As a substitute of dumping extra dashboards on already-overwhelmed groups, Bagel AI delivers actionable, ranked insights natively throughout the instruments groups already use.

Momentum and the Highway Forward

Bagel AI is already trusted by high-growth corporations together with Tipalti, Zenicy, Hivebrite, and HoneyBook. The platform is delivering tangible outcomes:

  • 31% greater onboarding success price

  • 15% churn discount

  • 12x sooner response to product gaps

  • 85% much less duplicated information throughout instruments

And now, with this $5.5 million injection of capital, the corporate plans to speed up buyer acquisition and scale its platform to fulfill hovering demand for AI-driven product intelligence.

“Bagel AI is proving its affect the place it issues most—serving to product and GTM groups uncover hidden insights and switch them into enterprise outcomes,” stated Roni Bonjack, Enterprise Associate at at.inc/ and board member at Bagel AI. “The worth is rapid. That’s what makes this such an thrilling funding.”

Abstract

Based in 2022 by Ohad Biron (CEO), Itai Danino (CTO), and Yuval Nachman (CPO), Bagel AI is an alumnus of Google’s prestigious AI First accelerator. The founding group brings a uncommon mixture of product experience, technical management, and a mission-driven strategy to reworking how corporations make selections.

Their motto? “Make each characteristic depend.”

With this newest funding and rising buyer traction, Bagel AI is on a path to changing into the gold commonplace in product intelligence platforms—empowering corporations to behave smarter, scale sooner, and ship extra worth with each product choice.

SoundCloud makes use of Jetpack Look to construct Preferred Tracks widget in simply 2 weeks



SoundCloud makes use of Jetpack Look to construct Preferred Tracks widget in simply 2 weeks

Posted by Summers Pittman – Developer Relations Engineer

To make it even simpler for customers to hear on Android, builders at SoundCloud — an artist-first music platform — turned to Jetpack Look to create a Preferred Tracks widget for his or her highly-rated app, which boasts 4.6 stars and over 100 million downloads. With a catalog of over 400 million tracks from greater than 40 million creators, SoundCloud is devoted to connecting artists and followers by way of music, and this newest replace to its Android app affords listeners an much more handy method to get pleasure from their favourite tracks. Propelled by Look, the staff was capable of full the challenge in simply two weeks, saving treasured growth time and boosting engagement.

Maximize visibility with user-friendly touchpoints

By showcasing the art work of their not too long ago favored tracks, the brand new Preferred Tracks widget permits customers to to leap on to a particular music or entry their full monitor record proper from their dwelling display. This retains SoundCloud entrance and heart for listeners, performing as a shortcut to their private libraries and inspiring them to tune again in.

Preferred Tracks isn’t SoundCloud’s first widget. Over a decade in the past, SoundCloud builders used RemoteViews to create a Participant widget that allow customers simply management playback and like tracks. After not too long ago updating the Participant widget based mostly on design suggestions, builders made certain to prioritize a customized interface for Preferred Tracks. The brand new widget options each gentle and darkish modes, resizes freely to accommodate consumer preferences, and dynamically adapts its theme to enrich the consumer’s wallpaper. Backed by Look, these design selections ensured the widget isn’t simply seamless to make use of but additionally serves as an interesting and tailor-made gateway into the SoundCloud app.

A foldable smartphone is open, displaying various apps and widgets, including music controls and 'Liked tracks'

SoundCloud’s Preferred Tracks widget in motion.

Speed up growth cycles with Look

Look additionally performed an important function in streamlining the event of Preferred Tracks. For builders already proficient in Compose, Look’s intuitive design felt acquainted, minimizing the training curve and accelerating the staff’s onboarding. The platform’s assortment of code samples supplied a helpful place to begin, too, serving to builders rapidly grasp its capabilities and finest practices. “Utilizing pattern app repositories is an effective way to be taught. I can try a whole repository and examine how the code operates,” mentioned Sigute Kateivaite, lead SoundCloud engineer on the Android staff. “It sped up our widget growth by so much.”

Quote card reads: “Using sample app repositories is a great way to learn. It sped up our widget development.” — Sigute Kateivaite, Android Engineer at SoundCloud

The declarative nature of Look’s UI was particularly helpful to builders. As a result of they didn’t have to make use of extra XML information when constructing, builders might create cleaner, extra readable code with much less boilerplate. Look additionally allowed them to work with modules individually, that means elements may very well be written and built-in one after the other and reused for later iterations. By isolating elements, builders might rapidly take a look at modules, establish and resolve points, and construct for various states with out duplication, resulting in extra environment friendly workflows.

Look’s design additionally improved the general code high quality. The power to make modifications utilizing Android Studio’s help for Look’s real-time preview enabled builders to construct elements in isolation without having to combine the UI part into the widget or deploy the complete widget on the cellphone. They may symbolize numerous states, view all related instances, and evaluation modifications to elements with out having to compile the complete app. Put merely, Look made builders extra productive as a result of it allowed them to iterate quicker, refining the widget for a extra polished closing product.

Elevate app widgets with the facility of Look

With efficient new workflows and no main growth points, the SoundCloud staff applauds Look for streamlining a profitable manufacturing. “With the brand new Preferred Tracks widget, rollout has been actually steady,” Sigute mentioned. “Growth and the testing course of went actually easily.” Early knowledge additionally reveals promising outcomes — lively customers now work together with the widget to entry the app a number of occasions a day on common.

Stat card reads:'2X average daily active user interaction with widget feature.'

2X common every day lively consumer interplay with widget characteristic.

Trying forward, the SoundCloud staff is raring to make use of extra of Look to enhance present widgets, like adopting canonical layouts, and even develop new ones. Whereas the present Preferred Tracks widget focuses totally on picture show, the staff is inquisitive about together with different forms of content material to additional enrich consumer expertise. Builders additionally hope emigrate the Participant widget over to Look to entry the framework’s strong theming choices, simplify resizing processes, and handle some long-standing bugs.

Past the Preferred Tracks and Participant options, the staff is happy in regards to the potential of utilizing Look to construct a wider vary of widgets. The modular, component-based structure of the Preferred Tracks widget, with reusable parts like UserAvatar and Brand, affords a strong basis for future growth, promising to simplify processes from the beginning.

Get began constructing customized app widgets with Jetpack Look

Quickly develop and deploy widgets that preserve your app seen and interesting with Look.


This weblog submit is a part of our collection: Highlight Week on Widgets, the place we offer sources—weblog posts, movies, pattern code, and extra—all designed that can assist you design and create widgets. You may learn extra within the overview of Highlight Week: Widgets, which can be up to date all through the week.