Full text
João Nuno Freitas Flambó Duarte Pattern Libraries: Addressing Implementation Challenges at Bosch June 2024 UMinho | 2024 João nuno Freitas Flambó Duarte Pattern Libraries: Addressing Implementation Challenges at Bosch University of Minho School of Architecture, Art and Design
João Nuno Freitas Flambó Duarte Pattern Libraries: Addressing Implementation Challenges at Bosch Master’s thesis Master in Product and Services Design Service Design Study conducted under the guidance of Professor António Bernardo Mendes Seiça Providência Santarém Professor Filipe André Moura Lima June 2024 University of Minho School of Architecture, Art and Design
ii Copyright and Conditions of Use of the Work by Third Parties This is an academic work that may be used by third parties provided that the internationally accepted rules and good practices regarding copyright and related rights are respected. This work may therefore be used in accordance with the terms of the licence below. If the user needs permission to use the work under conditions not provided for in the licence indicated, they should contact the author via the University of Minho Repository. Atribuição CC BY https://creativecommons.org/licenses/by/4.0/
iii Dedico este trabalho ao pai, Francisco, por ser o meu modelo de resiliência. À mãe, Helena, pelo suporte e por nunca me deixar duvidar. Ao Hugo e à Marta, por terem um papel maior do que aquele que acham que têm. À Matilde, por me motivar a ser sempre a minha melhor versão, e por me inspirar todos os dias. “Tudo é possível; basta quereres.” Francisco Duarte
iv Acknowledgements I am extremely grateful for having had Professor Filipe Lima and Professor Bernardo Providência as my supervisors. I truly appreciate the time and support that you have always given me, for always challenging me to make this work better, and for trusting me. I am thankful to Bosch MA-AS for having given me the space to research and to grow, and to all members, who have always received me in a positive environment. Thank you for having participated and for helping move this dissertation onwards, and for always motivating me whenever it was needed.
v STATEMENT OF INTEGRITY I hereby declare having conducted this academic work with integrity. I confirm that I have not used plagiarism or any form of undue use of information or falsification of results along the process leading to its elaboration. I further declare that I have fully acknowledged the Code of Ethical Conduct of the University of Minho.
vi Resumo Título: Bibliotecas de Padrões: Abordando Desafios de Implementação na Bosch Esta investigação tem como objetivo explorar e abordar os desafios associados à implementação e uso de Bibliotecas de Padrões na Bosch Mobility Aftermarket-Automotive Service Solutions. As Bibliotecas de Padrões, também conhecidas como Bibliotecas de Componentes de Interface do Utilizador, são cruciais para garantir a eficiência no desenvolvimento de produtos e a consistência da interface em todo o portfólio de produtos de uma empresa. No entanto, a implementação e governança destas bibliotecas apresentam desafios que podem afetar estes benefícios, levando a inconsistências na interface, duplicação de trabalho e um impacto negativo na experiência do utilizador. Além disso, afeta igualmente a satisfação dos colaboradores, pois as pessoas podem sentir-se frustradas com processos e diretrizes pouco claras e ineficientes, que levam à necessidade de gerir inconsistências e redundâncias no seu trabalho. Esta dissertação pretende descobrir esses desafios no contexto de uma organização multinacional e identificar oportunidades de melhoria. Após apresentar uma revisão bibliográfica focada em Sistemas de Design e Bibliotecas de Padrões, este trabalho revela um Estudo de Caso abrangendo a Bosch Mobility Aftermarket - Automotive Service Solutions em Portugal, para fornecer uma visão interna sobre algumas das práticas e desafios associados à implementação eficaz de Bibliotecas de Padrões nas organizações. O estudo emprega entrevistas semiestruturadas para recolher dados qualitativos dos participantes, fornecendo dados sobre a sua experiência e perceções. É usada uma análise temática para identificar temas e desafios comuns, e as descobertas visam preencher a lacuna entre as melhores práticas teóricas e a aplicação prática. Os principais problemas relacionam-se com a participação, transparência nos processos e discrepâncias entre design e código. Algumas sugestões para resolver estes problemas são discutidas, como a melhoria da documentação e o incentivo à transparência e contributos. O estudo revela a necessidade de modelos de governança claros que garantam uma colaboração e comunicação eficazes, o que contribuirá para o sucesso de uma Biblioteca de Padrões dentro de uma organização. Palavras-chave: Bibliotecas de Padrões, Colaboração, Desafios de Implementação, Governança, Sistemas de Design
vii Abstract Title: Pattern Libraries: Addressing Implementation Challenges at Bosch The present investigation aims to explore and address the challenges associated with the implementation and usage of Pattern Libraries within Bosch Mobility Aftermarket-Automotive Service Solutions. Pattern Libraries, also known as User-Interface Component Libraries, are crucial in ensuring product development efficiency and User Interface consistency across a company's product portfolio. However, the deployment and governance of these libraries often present challenges that can weaken these benefits, leading to user interface inconsistency, duplication of work, and a negative impact on user experience. Additionally, it also affects employee satisfaction as people may feel frustrated with unclear and inefficient processes and guidelines that lead to having to manage inconsistencies and redundancies in their work. This dissertation seeks to uncover these challenges within the context of a multinational organisation and identify opportunities for improvement. After presenting a focused literature review around Design Systems and Pattern Libraries, this work unveils a case-study covering Bosch Mobility Aftermarket - Automotive Service Solutions in Portugal, to provide an inside view into some of the practices and challenges associated with effectively implementing Pattern Libraries in organisations. The study employs semi-structured interviews to gather qualitative data from participants, providing insights into their experiences and perceptions. A thematic analysis is then used to identify common themes and challenges, and the findings aim to bridge the gap between theoretical best practices and practical application. The primary problems uncovered are issues with participation, transparency in processes, and discrepancies between design and code. Some suggestions to solve these issues are discussed, such as improving documentation and fostering transparency and contributions. The study reveals the need for clear governance models that ensure effective collaboration and communication, which will contribute to the success of a Pattern Library within an organisation. Keywords: Collaboration, Design Systems, Governance, Implementation Challenges, Pattern Libraries
2 This topic becomes relevant also to the Design field, particularly to User Experience (UX) design, as it addresses issues regarding accessibility and usability of digital products and/or services. These considerations are crucial in shaping how products are perceived while influencing user’s satisfaction. Furthermore, it intersects with the realm of Design Management, as it involves planning effective workflows and processes for managing design assets, in this case, PL within a corporate setting. Finally, it steps into the realm of Service Design by tackling issues related to digital services and digital ecosystems which are prevalent in organisations. The idea is to streamline the development of these services and provide consistency across solutions that can enable better customer experiences. 1.3 – Research approach Building upon the opportunity given at Bosch MA-AS to tackle design inconsistencies across products, this study explores the systemic challenges faced by many corporations with distributed design teams, aiming not only to enhance the efficiency of design-related processes, but also to improve the overall UX by identifying gaps in the PL usage, which will be reflected in the products UI, proposing mitigation strategies, and ultimately contributing to the products UI consistency. It seeks to give a comprehensive understanding of PL but also some background on Design Systems (DS) as the foundational frameworks that encompasses PL. The research approach is structured to bridge the gap between the best practices found in the literature and their practical application within the context of Bosch MA-AS. Given this context, the following research question emerges: In what ways can the implementation and usage of PL within a corporate environment be optimised to address common design inconsistencies and ultimately enhance the overall user experience? To answer this question, this study aims to: 1. Contextualize DS and PL, identifying best practices and main challenges on their implementation and usage; 2. Identify work practices related to the usage of DS and PL at Bosch MA-AS; 3. Interpret the data collected at Bosch, identifying gaps and improvement opportunities through the lens of the literature review.
3 1.4 – Organization of the dissertation This document is structured in chapters that aim to systematically organize and explain the information. The content of each chapter is structured as follows: Chapter 1 – Introduction The first chapter introduces the research topic, the problem framing, outlines the objectives, and provides an overview of the methodologies used. It sets the stage for the succeeding chapters by contextualising the relevance of this study. Chapter 2 – Theoretical background This chapter reviews existing literature on DS and PL. It presents the definition for both and outlines their benefits, relevance, and challenges associated with their implementation. It also discusses some best practices and serves as theoretical basis for this study. Chapter 3 – Methodology Chapter 3 describes the research methodology used for this study, including the methods and tools used for data collection. It presents the rationale behind the chosen methodology and provides an overview of the process that was used to conduct the research. Chapter 4 – Findings In this chapter, the data collected from the interviews at Bosch MA-AS is presented and interpreted. Key findings and themes that emerged from the analysis are outlined, providing a detailed view on the current practices related to PL at Bosch. Chapter 5 – Conclusion This chapter discusses what was uncovered, and the findings are interpreted in relation to the research objectives and existing literature, where areas for improvement in practices at Bosch MA-AS are suggested.
4 Chapter 6 – Limitations and future work The final chapter presents some recommendations for future research and practical application of similar studies, outlining some of the limitations of the current study and giving indications for future work. Chapter 2 | Theoretical background 2.1 – Design Systems 2.1.1 – Introduction There are multiple views on the content and definition of DS. Nevertheless, common features are found across the different concepts. Lund and Wahlgren (2022) present a simple, yet comprehensive definition, stating that “design systems are a collection of tools, elements, patterns and design guidance”, even adding that, in software and web development, they are used “to align design and communication, streamline development and manage and reuse libraries of design patterns, digital components and style design” (Lund & Wahlgren, 2022, p. 12). Vesselov and Davis (2019) suggest that this concept of a unified design language finds its roots in significant design periods, such as The Bauhaus and The Swiss Style movements, where certain guidelines were followed to shift the focus from decorative elements to functionality, or utilising grids to create asymmetry. The authors claim that the influence of these movements is reflected in the progression of modern graphic and web design, understanding them as foundational pillars for modern DS. Expanding on this idea, Kholmatova (2017) claims that DS are “a set of interconnected patterns and shared practices coherently organised to achieve the purpose of digital products” (Kholmatova, 2017, p. 18), where patterns are elements recurrently used to build an interface, whereas practices are decisions on how to create and use those patterns. It becomes essential to highlight the distinction between DS and PL, as they are often mistakenly understood as being the same thing. This confusion, as claimed by Vesselov and Davis (2019), occurs because generally they may contain many of the same parts. However, DS are comprehensive systems that house tangible and non-tangible elements, where non-tangible elements can be brand-values,
5 processes or philosophies behind design decisions, and tangible elements are things such as colourpalettes or even PL (Edelberg & Kilrain, 2020; Vesselov & Davis, 2019). Design principles, brand guidelines, PL, Style Guides, shared language and Voice and Tone are some of the matters encompassed by DS (Churchill, 2019; Frost, 2016; Kholmatova, 2017; Lund & Wahlgren, 2022; Vesselov & Davis, 2019). Given the framing of the initial problem and the motivation, this dissertation will focus on PL as key resources to develop interfaces and promote consistency and will further develop this concept in the next chapter. Overall, DS as comprehensive collections of design knowledge, help to standardise interaction design and UX inside a company or organisation, by creating guidelines and reusable patterns that can serve multiple teams and multiple products. They also assure that specific aspects, namely accessibility considerations and performance, are constantly incorporated, while helping designers and developers to efficiently build UIs across multiple platforms (Lamine & Cheng, 2022). Besides helping to maintain coherence and reducing divergencies across products, or even a portfolio of products – by avoiding these to look and behave differently – DS are a means to reduce efforts and enhance cross-functional collaboration within teams (Churchill, 2019; Yew et al., 2020). With such a system in place, it becomes easier to make quick updates, improvements, or additions of new features as they are based on an existing structure. This helps a company to remain consistent and efficient as it already has the foundation for future developments, allowing it to easily implement existing elements and quickly add new patterns (Edelberg & Kilrain, 2020). The next section will discuss in detail some of the benefits of DS. 2.1.2 – Benefits of a DS DS can provide significant improvements and create a positive impact on companies or organisations. By providing a common language for building and designing products, they can offer a comprehensive understanding of the company’s design language, its products and their overarching vision, which may allow teams to work and collaborate more efficiently and with more certainty (Vesselov & Davis, 2019). They can also help to reduce development and design effort “by allowing designers to export their knowledge to a systematic collection of patterns” (Lund & Wahlgren, 2022, p. 12), which can then
6 empower its users to avoid reinventing already known solutions and instead reutilise existing patterns for their work. Consequently, this promotes efficiency, cohesion and consistency throughout the product development process, ultimately streamlining the workflow and enhancing productivity (Lund & Wahlgren, 2022). Vesselov and Davis (2019) further emphasize that DS play a crucial role in accelerating the team’s progress by optimising the process of translating design concepts into actual implementations, thus reducing the time and effort needed for design iteration and development. The authors even add that an established system not only grants the design team access to styles, shared patterns, and implementation guidelines but also serves as a central repository of design truth. This consolidation of resources allows team members to work autonomously while minimising the risk of product’s inconsistencies. Furthermore, developers can utilise these guidelines as a reference point during the development phase, reducing the need for extensive communication with designers, as they have a comprehensive documentation at their disposal which allows them to understand a pattern’s behaviour and seamlessly implement the patterns by simply using the code (Vesselov & Davis, 2019). Without having to constantly tackle the same sets of UX related issues, designers can be more productive and agile, allowing them to dedicate more time to the exploration of new ideas, to user research, and finding ways to make their product’s experience more intuitive and competitive (Vesselov & Davis, 2019). Not only are product development and design positively impacted by a DS, but processes, cross-functional and cross-disciplinary collaboration within teams also benefit significantly (Yew et al., 2020). As pointedout by Lund and Wahlgren (2022), by establishing a common understanding and reference source, DS have the potential to mitigate disagreements, alleviate cognitive burdens for teams, and offer a substantially enhanced experience for both designers and developers, thereby leading to elevated levels of job satisfaction, decreased stress levels, and reduced team turnover (Lund & Wahlgren, 2022). According to Churchill (2019), the adoption of a DS can contribute to the resolution of conflicts among team members while facilitating smoother collaboration and communication processes. The author goes on to add that the implementation/adoption of such a system is posited to not only alleviate individual decision-making responsibilities of each team member, but also serve to alleviate cognitive strain on teams, resulting in a more cohesive and efficient work environment. This reduction in cognitive load can lead to a decrease in friction between different departments or areas, ultimately fostering increased professional satisfaction and reducing stress levels among managers (Churchill, 2019). In one of the findings from Yew's investigation (2020), a participant mentioned that the adoption of a DS effectively assisted their company in resolving fundamental collaboration and communication issues within the
7 product development process, thereby enabling the company to scale its product offerings in a much more consistent manner. In addition to their role in streamlining processes and enhancing collaboration, DS also serve as a means to foster learning within teams. Lund and Wahlgren (2022) highlight this aspect by emphasising that DS scaffold learning by offering a structured framework of creative building blocks that allow its users, including novice designers, to freely explore it and grow with the experience of the more seasoned designers, as they progress in working with the system. 2.1.3 – Conclusions To summarise, this section explored some perspectives regarding the nature and constituents of DS, following the definition by Lund and Wahlgren (2022), characterising DS as comprehensive tools that are instrumental in aligning design efforts, streamline the product development process and promote consistency. Reflecting historical influences from relevant design movements, such as The Bauhaus and The Swiss Style, Vesselov and Davis (2019) trace the lineage of DS while also underscoring their evolution as foundational pillars in modern design practices. Additionally, Kholmatova (2017) complements by underscoring the interconnected nature of DS when conceptualising them as structured systems of patterns and shared practices targeted towards achieving digital products’ goals. Crucially, a distinction is drawn between DS and PL, as discussed by Vesselov and Davis (2019), highlighting DS as comprehensive frameworks that encompass tangible and non-tangible elements, which extend beyond mere pattern repositories. These can house assets that go from design principles to PL, positing DS as repositories of design knowledge that foster standardisation in interaction design, brand and UX across an organisation. It is highlighted their pivotal role in enhancing cross-functional collaboration, fostering a proper environment conducive to innovation and productivity (Churchill, 2019; Lund & Wahlgren, 2022; Yew et al., 2020). The section ends by underscoring the scaffolding effect of DS, providing a structured framework for creative exploration and growth, particularly beneficial for novice designers, which gives another layer of significance to the role of DS within organisations, contributing to continuous improvement and learning among team members (Lund & Wahlgren, 2022).
8 2.2 – Pattern Libraries 2.2.1 – Introduction To address the concept of PL, it’s relevant to mention Christopher Alexander’s (1977) work in architecture and city planning, where the concept of pattern languages is presented (Alexander et al., 1977). The author emphasizes the importance of having a shared pattern language that encapsulates solutions to recurring problems in the built environment. Expanding on this concept, authors such as Welie (2011), Borchers (2001) and Bernhaupt (2009) also define patterns in HCI as proven solutions for recurring design problems. These patterns can appear individual, but are often found interconnected with other patterns and referenced from a higher hierarchy, forming from this structure a comprehensive pattern collection, which is the foundation for a pattern language (Borchers, 2001). Having these interrelationships is what creates additional value over having single, individual patterns (Welie & Veer, 2011). Design patterns, as discussed by Winckler et al. (2010), provide specific solutions, in contrast to abstract suggestions, to structure usability guidelines and best practices, which will enhance the efficiency of design and development work processes. By having these pre-built design solutions, these libraries will also facilitate consistency, while also allowing designers to focus on the content and value of their products, instead of constantly trying to solve the same recurring design problems (Moore et al., 2020). What first started as an extension of brand identity documents that had their focus on corporate values and style, namely aspects like typography and colour, PL may still encompass styles, but primarily feature functional patterns and design principles (Kholmatova, 2017). These patterns and principles could be guidelines such as the spacing units system, for example, to define the base and increments of any measure, such as the 8px system or UI elements like buttons, dropdowns or form fields (Vesselov & Davis, 2019). The growing relevance of PL in digital product design and development is strongly illustrated by large organisations, such as Apple, Google or IBM, each developing their own PL (Apple Human Interface Guidelines, n.d.; Google Material Design, n.d.; IBM Carbon, n.d.). It is understood that the evolution and adoption of these design frameworks in HCI demonstrates a shift towards the standardization of digital interfaces. This shift ensures not only an intuitive and consistent
9 UX, but it also creates a positive impact on the product development cycle (Borchers, 2001; Vesselov & Davis, 2019; Welie & Veer, 2011). 2.2.2 – The value of PL PL can have great impact on the company, its brand, the teams, and the users themselves. When addressing UI consistency, we understand that it will affect not only the users (by impacting the UX), but also the work of the teams developing the interfaces, by allowing the reuse of effective design solutions (Malone, 2005). However, as underlined by Vora (2009), it is important to emphasize that, in order for this positive impact to be noted, a formal process for reusing patterns needs to be implemented, while also properly documenting them and share them in a way that promotes reuse. The author even adds that, most of the times, “designers and developers spend time trying to solve user interface design problems for which successful design solutions have already been identified and implemented” (Vora, 2009, p. 389), which highlights the importance of having a well-implemented PL. UX also plays an important role for the company, as it can significantly impact its reputation, goals and the brand’s perception (Malone, 2005). Norman’s (2013) concept of mental models, which relate to a user’s own perception of how a given system works, is closely associated to UX and UI consistency. When interacting with a product, users rely on these models to understand the product’s behaviour and functionality. Thus, consistency across UX and UI, ensures that users’ expectations towards how the system will behave, matches with how the system actually works, which can lead to a smoother and more intuitive user experience (Norman, 2013). In this context, a well-implemented PL will help to reinforce users' mental models by offering known design patterns and interactions across different parts of the product, or even across different products within the same product portfolio. Having the importance of PL underlined, the next section will present some of the specific benefits of using such frameworks, but also some of the main challenges associated with their implementation and usage.
10 2.2.3 – Benefits and challenges As established in the preceding section, PL serve as fundamental tools in improving a product’s UI consistency and UX. There are already some identified benefits that can be reflected, as stated by Gale (1996) and Wilson (2004), on different parts, such as on an end-user perspective, the developers, designers or even on the business itself. Table 1 presents an adaptation by the researcher of the benefits the authors claim, split by group: Table 1 - Benefits of PL End-users Developers and Designers Business Reduced interaction errors Maintain control over the look and feel of the software Create user-friendly systems that cut support costs while enhancing UX Less frustration when interacting with the product Minimize re-invention of solutions Boost market awareness Increased morale Make the most of learning and iteration Boost product awareness Improved efficiency on tasks Facilitate the creation of software to be reused Reduce training expenses Behaviour expectations are met Make the development process faster Enhance staff retention Reduced resistance to new technology Minimize random design choices Increase user acceptance of new systems *adapted from Gale (1996) and Wilson (2004) Patterns themselves enable developers and designers to reuse design solutions, both visually and in code, promoting UI consistency and predictability and enhancing learnability for users. Moreover, leveraging reusability in code and design work saves time by enabling the improvement of existing features, rather than rebuilding them every time from scratch (MacDonald, 2019). Lund and Wahlgren (2022) state that this reusability, while promoting consistency and cohesion, also helps to speed up the development workflow, saving time and money to the organisation. The authors even add that a PL can establish a more collaborative workflow across the multiple disciplines involved in the development of a product,
11 establishing a shared vocabulary in the organisation, and providing relevant documentation accessible to all stakeholders. It also serves as a future-friendly foundation for teams to continuously enhance and refine their work and processes, adopting an agile approach for accounting the evolving nature of product development (Lund & Wahlgren, 2022). It is important to also mention a digital product’s capability of adapting itself to the multiple devices users can use, while also maintaining its consistency and usability standards across platforms (Rathore & Singhal, 2024). A PL, in this sense, can make cross-device performance and accessibility considerations easier, as these issues are already solved for each of the patterns, having the adaptability and/or responsiveness already defined, which are automatically applied in the implementation (Kholmatova, 2017; Lund & Wahlgren, 2022). Not only across the different instances of an application, but as well between different applications, users can transfer their learning, know-how and mental models in order to be more productive at the tasks they want to perform, as a consequence of designs being built in a structured manner (Simpson, 1999). For designers, having a PL with high-fidelity patterns readily available to use in a prototype, signifies minimising the risks of performing inaccurate user tests, as the prototype itself, by being built with shared patterns, is similar looking to what a product looks like in the actual implementation (MacDonald, 2019). While this is true, it could also present a risk if the design patterns are different from the coded ones, as what users will be tested with, won’t be true to what they will actually be using. Wilson (2004) identifies this as one of the possible reasons for PL to fail, explaining that ”inconsistency in a consistency document will reduce its credibility” (Wilson, 2004, p. 5). The author also discusses some other relevant reasons why PL libraries can fail, namely: - If they are too big, and there is no major focus on areas that are critical; - There is no proper advertisement, in a sense to spread the knowledge and inform people of their existence; - Managers are not aware of their benefits; - They were built without relevant stakeholders’ inputs; - There are no formal methods to guarantee consistency and standards; - Lack of an appropriate process to distribute updates; - Giving conflicting advice and general lack of consistency; - Indexing is poorly built, making it hard to find patterns;
18 first aims to define a specific case and should be described and detailed, whereas the instrumental case, which is applied in this investigation, seeks to understand a specific issue or problem within a case. This issue is portrayed by the inconsistencies associated with PL usage within Bosch MA-AS. To evaluate the data from the case-study, a thematic analysis is used to uncover patterns and themes from the collected information, which will then be interpreted to form conclusions by the researcher (Creswell, 2013). Figure 1 represents the structure of this study: Figure 1 - Structure and phases of the current study On the definition phase, it was observed the practices related to PL and their relation to product’s inconsistency. This was the starting point for this investigation, as issues were arising concerning the management of such frameworks at Bosch MA-AS. The prepare and collect phase started by gathering a list of relevant participants to interview and collect insights from. These participants were mainly front-end developers, as they are the ones who deal the most with PL. Designers and full-stack developers were also considered for this study, but in a smaller amount. This was due to limitations of people, where only two designers were available within the context, and full-stack developers as PL are also part of their work, but not on a regular basis. On this phase, an interview script and a consent form were also developed to guide the interview, assuring consistency across interviews, and informing the participants about the study and what information would be collected. The interviews were then conducted to a total of 9 participants, comprehending people from the aforementioned groups, and took around 45 minutes each. The analysis phase first started by identifying themes for each participant at the end of each interview, following a thematic analysis approach, which will be further explained in the next section. With this, it was possible to segregate the information in similar groups across participants, while also allowing to identify different groups of information. After the identification of themes individually per participant, patterns were uncovered across all participants’ information. It was after gathering all the themes that conclusions were drawn in last place.
19 3.2 – Context This case-study focuses on investigating the practices associated with PL within a multinational organisation that operates in the mobility sector. It is applied specifically within the department of Engineering Software Multibrand (ESM), situated inside the Product Area Diagnostics (PAD) section of Bosch MA-AS. This department focuses on software development for the mobility aftermarket and houses about 100 individuals and more than 5 projects. The company has an already implemented DS to address these challenges, but some challenges and issues are still felt at the department. Over a period of five months, this study aims to investigate the mentioned challenges associated with the usage of PL within this specific organisational context. The organisation operates in a dynamic and competitive environment illustrated by rapid technological advancements and evolving customer expectations. As such, the need for efficient development processes and consistent product delivery is crucial. However, the ESM department, like many software companies, which is illustrated by the bibliographic review, struggles with issues related to maintaining product consistency and maximizing pattern reuse across various projects to optimise product development efficiency. The implementation of a DS within the organization highlights its commitment to streamlining development processes and enhancing product quality. Nevertheless, the effectiveness of the PL within this context remains a subject of analysis. By focusing on a specific department, this study aims to provide valuable insights into the challenges and opportunities associated with the implementation of PL in a realworld environment. However, it is important to highlight that, because this study was conducted within a limited setting, the results obtained may be specific to the particular department under investigation. These findings might vary if the study was conducted at a central department level, which would allow to analyse challenges on a global scale.
20 3.3 – Semi-structured interviews To find out what were the main issues related to the use of the PL at Bosch MA-AS, it was necessary to investigate how people were experiencing the use of these frameworks and what was their perception towards the initial problem. Consequently, it was decided to conduct semi-structured interviews. This specific research method was chosen by the need to ask probing, open-ended questions that seek to know the individual thoughts of each participant (Adams, 2015). This approach lies in the intermediate space between standardised, predominantly closed-ended nature of structured interviews, and the complete opposite on open-ended, unstructured interviews. Semi-structured interviews encapsulate elements from both, but joins them to create a distinct framework (Adams, 2015). This combination of closed- and open-ended questions are implemented in a conversational manner, individually with participants, and are frequently supplemented by follow-up why or how questions. Its nature also allows to go through the multiple topics in the agenda, in no particular order if needed, instead of strictly following the previously scripted questions, which permits the exploration of entirely unexpected topics (Adams, 2015). Some of the disadvantages presented by Adams (2015) regarding semi-structured interviews were considered, mainly the time consuming and labour intensive nature of this type of interviews. These efforts are needed as interviewers need to possess certain qualities such as sensitivity, adaptability, and a comprehensive understanding of relevant subject matters. Besides, the whole process of preparing, conducting and then analysing the results of semi-structured interviews is complex. It entails a significant amount of time and effort, often involving the analysis of extensive notes and transcripts. Considering the aforementioned research method and respective constraints, a planning for this investigation was created and is presented in the next section. 3.4 – Study Plan Table 3 represents the multiple phases of the investigation and respective details:
21 Table 3 - Phases and respective details of the investigation Phase Activity Details 1st phase Bibliographic review - Gain a comprehensive knowledge on DS and PL, understanding respective benefits, best practices, and implementations - Create the theoretical basis for the investigation of the issues at Bosch MA-AS 2nd phase Creation of an interview script - Address what are the main challenges - Understand individual perspectives - Assure consistency across interviews regarding topics and questions - Prepared for avoiding biases Consent form - Inform participants of the scope of this study - Collect authorisation for the interview’s audio recording (for further analysis) Schedule meeting / Information email - Schedule an appropriate time slot to conduct the interview (aimed for 45min)
22 Phase Activity Details - To first inform participants of the topic and the context of the interview Test-round - Start collecting real data - Test if the script is adequate or if it needs to be adapted - Collect possible topics that are not being considered at the moment - Understand possible interviews dynamic 3rd phase Semi-structured interviews - Address challenges, constraints, and suggestions from participants - Collect qualitative data - Start to uncover patterns in participants answers 4th phase Thematic analysis - Analyse interviews transcripts - Code the information commonly for each participant - Find common themes across participants 5th phase Results - Draw conclusions from the gathered information In the first phase, a comprehensive bibliographic review was conducted to better understand the topic of this study, aiming to point-out relevant and best practices associated to PL, what are common challenges
23 when implementing and using PL and overall, create a theoretical basis for the development of this investigation. The second phase comprehended the preparation for applying the research methods. A script was developed to guide the interviews, considering the flexibility for potential adaptations to refine it and its questions based on participant feedback during the interview (Adams, 2015). This consideration was maintained throughout the interviews, ensuring that all topics were addressed with all participants. The agenda for the interviews was not too extensive, but the most relevant topics to address were highlighted, assuring they would be discussed (Adams, 2015). The interviews, with the exception of the first one, were conducted in Portuguese and the results adapted to English. This was a decision taken after the testround, which was conducted in English. Since the participants’ mother-tongue is Portuguese, discussing some of the topics revealed to be more complex in a language which they are not native in. This also allowed the researcher, also native in Portuguese, to better understand the gathered information. Additionally, the selection of the participants was based on their interaction and work with PL, as it would not make sense to interview someone who is not aware of the challenges of using such frameworks. When mentioning the patterns, it was chosen to address to them as components, as participants were more familiar with this terminology. The questions that were inserted in the script are listed in the Table 4, considering the original question, and respective English adaptation: Table 4 - Questions from the script in Portuguese and English Questions (Portuguese) Adaptation (English) 1- Para começar, podes-me falar um pouco sobre a tua role? - o que é mais gostas, por exemplo, em trabalhar como ___? a. E há quanto tempo trabalhas como ___? b. E na experiência anterior, já trabalhaste com bibliotecas de padrões antes? 1- To start the interview, could you please tell me a bit about your role? – what do you like the most of working as ___? a. And for how long have you been working as ___? b. And in your experience, have you worked with UI Component Libraries before?
24 Questions (Portuguese) Adaptation (English) c. Utilizas as bibliotecas aqui na Bosch? c. Do you use the UI libraries here at Bosch? 2- Estás ciente dos benefícios da utilização dessas bibliotecas? Podes desenvolver sobre isso? 2- Are you aware of the benefits of using such libraries? Can you develop on that? 3- Ainda neste tópico, na tua opinião, quais são alguns dos aspectos positivos das bibliotecas que utilizas aqui na Bosch? a. Porquê? 3- Still on this topic, in your opinion, what are some good aspects about the libraries you use here at Bosch? a. Why? 4- E no lado oposto, consegues identificar os aspectos negativos das mesmas? 4- And on the opposite side, can you identify the negative aspects about them? 5- Quais são os principais desafios, na tua opinião, quando utiliza as bibliotecas? 5- What are the main challenges for you, when using the libraries? 6- Como é que é o processo de criação de um novo componente, de ponta a ponta? a. Quais são os aspectos positivos e os aspectos negativos? 6- How does the process of creating a new component looks like, from end-to-end? a. What are some good aspects and some negative aspects? 7- O que tens a dizer sobre a facilidade de encontrar componentes nas bibliotecas? 7- What do you have to say about the findability of UI components in the libraries? 8- Estás ciente das inconsistências dos produtos, tanto no portfólio de produtos como no produto individual em que estás a trabalhar? 8- Are you aware of product inconsistencies, both across the product portfolio and on the individual product you’re working on? a. [If yes] What do you think is causing that?
25 Questions (Portuguese) Adaptation (English) a. [Se sim] O que achas que pode estar a causar isso? 9- Tens alguma ideia ou sugestão de melhoria relativamente aos principais desafios? a. O que é que achas que deveria ser diferente? 9- Do you have any idea or suggestion for improvement regarding the main challenges? a. What do you think should be different? 10- Do meu lado é tudo. Queres acrescentar alguma coisa que não foi mencionada, mas que consideres importante? a. Podes fazê-lo posteriormente caso te ocorra. 10- From my side that’s all. Is there anything that you would like to add that wasn’t mentioned, but you find relevant? a. You can do it after as well. A consent form for the participants to sign was also developed. This document informed the context of this investigation and the confidentiality of the data that would be collected. It aimed to assure their consent for answering the researcher’s questions, grant permissions to be contacted later to clarify any doubt regarding their provided information, and to grant permission for audio to be recorded during the interview, so it could be accessed later to analyse information. The audio was deleted as soon as the study was over, as it was also informed to the participants in the interview. After preparing the interviews, an email with a meeting invitation was sent to the participants, while presenting the scope and context of the study. This aid in adding legitimacy while also saving time, avoiding having to explain and justify the research at the interview moment (Adams, 2015). The second phase concluded by conducting a pilot-interview with one of the participants, while already collecting useful data to be analysed. This helped to better refine the script and include topics that weren’t being considered. The interviews were conducted during the third phase. At this point, issues related to the usage of PL, constraints and suggestions from the participants were being discussed, which comprehend an extensive amount of qualitative data. Due to availability limitations, the interviews were conducted online using Microsoft Teams, and they were recorded by the computer’s native audio recording tool. Limitations regarding time and people were also needed to be considered, as it was only possible to interview nine
26 people, being two of them designers, five front-end developers and two full-stack developers. All nine interviews started with some extra, easy-to-answer questions to set a comfortable chat before moving to more serious topics (Adams, 2015). The critique questions were first introduced by inserting positive inquires before. This can be demonstrated by first questioning the participants about some positive aspects of PL at Bosch MA-AS, and only then asking them to identify the negative aspects. This ensured that people who might be reluctant to offer criticism could feel more comfortable voicing their opinions on the topics being addressed, since they were initially praised (Adams, 2015). Nevertheless, when addressing the drawbacks and areas of improvement, the researcher always adopted a neutral, nonjudgmental tone, avoiding biasing any participant’s answer (Adams, 2015). At the end of each interview, the researcher thanked the participants and ensured there were no more questions on their side. To ensure any information that wasn’t noted down during the interviews was considered, immediately after each interview, the researcher noted down in the computer key insights and better defined the remarks from the discussion (Adams, 2015). At this time, due to time limitations, it was decided to already start uncovering some codes and patterns from the gathered information, while still performing the round of interviews. Chapter 4 | Findings 4.1 – Thematic analysis The last two phases of this study correspond to the thematic analysis and results. This analysis methodology was used to uncover patterns and themes from the collected information to later draw conclusions and extract results. A thematic analysis involves systematically dissect and structure comprehensive qualitative research data. The process involves assigning relevant codes to individual observations and quotations, facilitating the identification of significant recurring themes (Rosala, 2022). In this case, a theme is a description of a belief, practice, need, or another phenomenon that is discovered from the data and emerges when related findings appear multiple times across participants information or data sources (Rosala, 2022).
27 When analysing qualitative data, a few challenges and related issues can emerge. Rosala (2022) points out common challenges and respective problems, stating that the large amount of data that comes from long transcripts and notes can make it difficult to find patterns and remembering key information, which can result in a superficial analysis, focusing only on easy memorable quotes and events, and missing a large amount of information. Another relevant challenge is that there can be a large amount of detail within every sentence or paragraph, causing difficulty in understanding what details are relevant and which are redundant. The issue with this is that the analysis may become a pure description of details, simply stating what participants said or have done, lacking any analytical thinking applied to it. To help avoiding these challenges and issues, and to keep researchers organised and focused during the qualitative data analysis, the thematic analysis provides a systematic process for researchers to follow (Rosala, 2022). The help of software to conduct the analysis of large amounts of qualitative data can be useful, as well as journaling or affinity-diagram techniques (Rosala, 2022). For this study, after collecting all the information from the interviews, Dovetail was used in order to support the transcript of the interviews’ audio recordings and the manual codification of the information. It is important to note that the codification and interpretation of the information was done through the researcher’s perspective due to time and technology constraints. This tool was not used for automatic coding the data. Later, Figma was used to better visualise the coded information and then easily group by theme. In this context, a code represents a word or a short phrase to label a segment of a text (Rosala, 2022). The codification of the information allowed to easily identify similarities, differences, and relationships between parts of the transcripts, which were used to create the themes. It is important to mention that the information was coded through an interpretative approach, instead of a descriptive one, resulting in an analytical reading of the data, including the researcher’s perspective and interpretation of it (Rosala, 2022). It also followed a traditional method for coding, highlighting segments of the data in the transcripts such as sentences and paragraphs. The data was later grouped by themes and patterns. Table 5 contains the codes given across all participant’s transcripts: Table 5 - Codes and respective description Code Description Role Allowed to identify each participant’s role, which could influence the type of answers
34 “At the moment, it’s difficult to name any positive aspect”8 P8 “It’s not easy to answer that”9 P7 Even though participants mentioned positive aspects, the fact they changed the focus of it without detailing too much their reasons, may indicate that the challenges and issues currently faced have more impact to them than the benefits that can be taken of PL. 4.2.5 – Challenges when using PL at Bosch The study of current challenges was one of the main objectives of this study, as this is where the gaps and opportunities for improvement can be found. From the analysis of the information, ten themes emerged and are further explained below. Problems when testing/experimenting patterns Participants mentioned that, in order to use a pattern within the PL, they first had to test it. This means that they need to understand if that specific pattern is able to solve their needs and if they can use it for development. By doing this, developers test a pattern’s limitations and either choose to use it, adapt it, try to find another pattern that better suits their needs in case the previous one is not suitable, or if there is none that satisfies the developer’s necessities, they’ll have to create a new one. In general, participants mentioned that this process of testing patterns is difficult. It was mentioned that there is no streamlined way to do so, and that the way patterns are shown in the PL is limited and doesn’t show everything they need. This lack of showcasing a pattern’s capabilities can lead to another issue that relates to pattern duplicates, which will be addressed further in this section. 8 “Neste momento é difícil nomear algum aspeto positivo” 9 “Não é muito fácil responder a isso”
35 “The process of testing the pattern is super boring - I have to try to understand how things work"10 P6 “Currently there is a demo page that doesn’t show everything and doesn’t allow you to test things out” P1 This data reveals some challenges and limitations in the testing and usage of patterns from the PL. Participants showed concerns with the lack of a straightforward testing process and limitations regarding demonstrating patterns’ capabilities. These findings indicate a mismatch between best practices such as providing tools that allow developers to use and assess the patterns of a PL regarding their performance, behaviours and states that authors like Kholmatova (2017) and MacDonald (2019) present. Having better testing procedures and improved documentation may optimise the PL effectiveness by enhancing developers’ efficiency and productivity. Lack of transparency and openness It is evident that participants face significant challenges and feel frustrated regarding the management and governance of the PL they use at Bosch. A recurring topic is the lack of transparency and clarity regarding the process for contributions to the PL. Participants expressed confusion about the lack of clear guidelines for contributing but as well for the criteria that approvers follow to accept or deny contributions: “I don't know how the patterns are created there sometimes, I don't know who approves them, I don't even know how the approval process works in code libraries.”11 P8 “Lack of freedom to contribute without approval of someone with different philosophy hinders progress” P1 Even though there is some sort of governance of these libraries, it’s not clear for the teams who exactly is responsible. It was mentioned during the interviews that most of the times, when developers try to adapt a pattern to satisfy their needs while accounting for the needs of other teams (this means changing the pattern without breaking it in other places that it may be being used), the approval of these decisions 10 “o processo de testar o componente é super chato. Tenho de andar a tentar perceber como as coisas funcionam” 11 “não sei como os componentes lá estão criados por vezes, não sei quem os aprova, não sei como sequer funciona o processo de aprovação nas bibliotecas de código”
36 come from the people who created the pattern in the first place, which causes some reluctancy in doing so. “I don't know who is responsible for that, for the libraries, there is no transparency.”12 P3 “Approvals come from people who created - that is a barrier” P1 "currently, the BAUC is mostly maintained by 2 / 3 members, and it shouldn't be like that. Sometimes, trying to request something to be added to the library is rejected, even having conversations, explaining why we are asking and providing context, it is still rejected."13 P7 Patterns limitation It’s understood that, in order to use patterns, these need to meet the necessities of a developer at a specific time. When having multiple people and teams using and contributing to patterns, the necessities may vary according to their projects or particular requirements. With this, the challenge to build the pattern as generic as possible emerges, as stated by some of the participants, because one specific pattern needs to meet the several different necessities of the teams. This doesn’t necessarily mean to build extremely complex patterns that solve all problems, but instead make them adaptable for people to use according to their needs. From the interviews, it is understood that most of the times people develop patterns that are too limiting and only solve the necessities of those who developed the patterns without accounting for the needs of other projects. “Many of the patterns are built only to serve the specific needs of a single team, not to be generally used by everyone and with the scalability to meet various needs.”14 P2 12 “Não sei quem é o responsável daquilo, das biliotecas, não existe transparência” 13 “atualmente, a BAUC, está a ser mantida maioritariamente por 2 / 3 elementos, e não deveria ser assim. Às vezes, tentar pedir que determinada coisa seja acrescentada à biblioteca é recusada, e por vezes, mesmo tendo conversas e explicando o porquê de estarmos a pedir e dando o contexto, é recusado na mesma.” 14 “Muitos dos componentes estão construídos apenas com as necessidades específicas de uma equipa, não para serem usados geralmente por todos e com versatilidade de corresponder a várias necessidades”
37 “Developers often focus solely on their project's context when creating or contributing to patterns, overlooking the needs of others.” P1 “The things that are implemented in the libraries often do not meet my needs”15 P8 As it is stated by P1, when reusing patterns, developers often have to deal with the limitations of how patterns are built. When this happens, they need to refactor the pattern on the library because it was built in a limiting way. This creates a really hard challenge because, since that pattern is being used in other projects, when refactoring, they need to pay attention not to break its instances on those same projects. The participant even adds that sometimes this leads to the creation of similar patterns that solve similar problems, which will in the end increase the number of similar or even duplicate patterns due to the shortcomings of the implementation of those that already exist in the library. “Most of the times, when reusing patterns, we fall victim to the shortcomings of implementations of others” P1 “Leads to the creation of similar patterns that solve slightly different problems (we become limited by the implementation of others)” P1 “sometimes the patterns are built in such a specific way for someone's needs that when we try to use them, they do not meet our needs, and 1) either we have the work of submitting a change and waiting weeks for it to be implemented in the library and then we pull it to our side, or 2) we create a similar pattern that meets our needs but takes less than half the time and satisfies our time needs.”16 P6 P7 even adds that the review process of the patterns to be inserted in the PL is one of the greatest barriers. Further explains that often, reviewers tend to approve patterns that meet the necessities of a specific team but forget to build it in a way that considers other people and projects’ needs. 15 “as coisas que estão implementadas nas libs, muitas das vezes não respondem às minhas necessidades” 16 “às vezes os componentes estão construídos de uma forma tão específica para a necessidade de alguém, que quando vamos tentar usar, não resolve as nossas necessidades, e 1) ou temos o trabalho de submeter uma alteração e esperar semanas para que seja implementado na biblioteca e depois puxamos para o nosso lado, ou 2) criamos um componente similar que resolve as nossas necessidades mas que demora menos de metade do tempo e satisfaz as nossas necessidades de tempo.”
38 “The pattern review process is one of the biggest barriers. People approve things that meet the needs of a team but forget to put things in a way that more people can use that work. You end up with shared patterns, yes, but that are only "usable" by one team or maybe two”17 P7 From the analysed information, we may state that the adaptability of patterns is a vital aspect to grant a bigger access to the developers and respective project’s necessities. This would be supported by considering multiple needs when building patterns, which would allow developers to adjust them in an easier way, while also facilitating the modifications to the pattern in the library without breaking its instances in the projects. Difficulty in finding patterns In general, participants criticised the findability of patterns in the libraries. Understanding if a pattern already exists, and if it does, in which library it is inserted, is referred as one of the main challenges. This is mainly due to how the PL is structured and the naming conventions that are applied: “I'm not a big fan of the structure with atoms, molecules, etc., it doesn't make sense and I think it's outdated.”18 P7 “Findability is critical today. We have several patterns with different appearances and names, but fundamentally, they perform the same function and should be consolidated into a single pattern.” P1 P6 mentions that, when he first entered Bosch, it was difficult to navigate the PL. When asked what he thinks of it currently, he answers “Yes, currently it’s more straight-forward”, while nodding his head in a contrasting way, indicating a “no”. The lack of good indexing, making it difficult for people to find patterns, represents one of the main aspects that can cause a PL’s failure, as people may create new patterns instead of reusing the existing ones, or even ignore the system, as it is discussed by Wilson (2004) and Kholmatova (2017). Having an 17 “o processo de revisão de componentes é uma das maiores barreiras. A malta aprova coisas que respondem a necessidades de uma equipa, mas esquece-se de meter as coisas de forma a que mais pessoas possam usar esse trabalho. Acabas por ter componentes partilhados, sim, mas que só são “usáveis” por uma equipa ou talvez duas.” 18 “não sou muito fã da estrutura de átomos, moléculas etc, não faz sentido e acho que está ultrapassado”
39 easy way for patterns discoverability and a proper structure/organisation of the PL that works for the teams, may ease the challenges that were mentioned and, in the end, make the PL more effective by making its content visible to its users. Lack of good documentation Proper documentation is essential to fully understand a pattern’s capabilities. As it was discussed in chapter 2, good documentation allows developers and designers to understand aspects of the implementation such as limitations and integration. This represents another opportunity to improve the practices at Bosch, as all participants mentioned to struggle with the lack of proper documentation. P4 says that he would save a lot of time and effort when evaluating a pattern to be used: “If there were documentation saying "the pattern receives this, this, and that, and will emit this in the end", I would spend less time going through the code, interpreting it, and testing it”19 P4 This documentation, other than providing guidelines on how to use, integrate and explain limitations, would also benefit the developers if it contained information on what’s new to the PL or even future planned updates. “There is a lack of documentation in all libraries - there are no clear guidelines on what should be used, how it should be used, what's new, when there are updates.”20 P9 P5 and P6 even add that the lack of documentation hinders the findability of patterns, as well as the testing. The way information is organised represents another barrier as some participants mention not to know a specific place on where to get informed: 19 “Se houvesse uma documentação a dizer “o componente recebe isto, isto e isto e vai emitir isto no final”, eu perderia menos tempo a ir ao código, interpretá-lo e ir testando” 20 “há uma falha de documentação em todas as bibliotecas - não existem guidelines claras sobre o que deve ser usado, como deve ser usado, o que é novo, quando é que há updates.”
40 “I keep bits of documentation that I come across. I'm unaware of a specific place with documentation for the patterns, I just ask people.”21 P5 “There is no documentation. There is only a demo page with the pattern already assembled, and if it has a description, that's already very good.”22 P9 A potential takeaway from this information is that a proper documentation that includes specific guidelines and guidance to developers, would enhance productivity and efficiency, helping developers make informed decisions and streamlining their workflow. Updates break things As explained by P5, it is normal for updates to break some things in the projects as these involve changes and adaptations to the patterns. What participants complain about is that, on minor releases of the PL (understood as minor improvements, excluding major changes), they would expect patterns to remain the same, but what happens is that, most of the times, these minor releases will have major changes to the patterns, which are reflected in the product’s UI, and will completely alter the way things were built before (which they would expect to happen only on a major release). Some participants mention to believe that this happens due to the lack of a controlled review process to catch any flaws in the way patterns are built: “UI elements need a review process to catch any flaws in design or structure.” P1 “What happens is that afterward, since there are no tests for many patterns, when upgrading versions, things will break in several projects”23 P7 21 “Eu vou guardando os pedaços de documentação que vou apanhando. Desconheço que haja um sítio específico com documentação dos componentes, eu é que vou perguntando às pessoas” 22 “Não existe documentação. Apenas existe uma demo page com o componente já montado, e se ele tiver uma descrição já é muito bom” 23 “o que acontece é que depois, como não há testes a muitos componentes, ao subir de versões, as coisas vão partir em vários projetos”
41 “Frequently, in patch or minor releases, you have breaking changes, and your expectation is that in those releases, that won't happen. However, someone got there and tagged it as minor, and you update on your side, breaking everything, and then you spend days solving that”24 P6 Overall, participants emphasize the importance of maintaining consistency and compatibility between multiple minor updates. This suggests a need for a more controlled review process to ensure that minor releases do not inadvertently introduce breaking changes, highlighting as well the need for a comprehensive testing to the patterns before being introduced in an update. Patterns duplicates The issue of having multiple patterns that look and behave similarly is also discussed among the several interviews. It is explained by P3 that there should be a more critical judgement when creating patterns, as most of the times, these multiple different patterns should be just one, but with several capabilities. This can be seen with the example of a button, where multiple versions of it that have different visual aspects exist in the PL. It is generally defended that, instead of having multiple versions, there should only exist one single button pattern that allows for changes on itself, accounting for the multiple visual differences. “There is a lack of criticality in that kind of things. Patterns that exist that are different patterns, which could actually be just one but with versatility and meeting various needs and scenarios”25 P3 One possible reason for this to happen is referred by P1 when stating: “The issue arises when people create patterns with multiple capabilities but only showcase a single use case on the Demo page. Consequently, users may overlook its potential, conclude it doesn't address their needs, and create redundant patterns unnecessarily.” P1 24 “Muitas vezes, em releases patch’s ou minors, tens breaking changes, e a tua expectativa é que nessas releases, isso não aconteça, mas alguém chegou lá e tagou aquilo como minor, e tu fazes update do teu lado, e quebras tudo, depois passas dias a resolver isso.” 25 “Falta um bocado de criticidade nesse tipo de coisas, componentes que existem que são componentes diferentes, que na verdade poderiam ser apenas um mas com versatilidade e corresponder a várias necessidades e cenários”
42 The fact that on the PL not all capabilities of a pattern are displayed, may induce its users in error, which leads them to create redundant patterns to satisfy their needs. It can be drawn that, showcasing the capabilities of patterns, and really evaluating if there is the need to create something new, instead of adding to the capabilities of existing patterns, may help in mitigating duplicate patterns, which would bring more credibility to the PL as it would be consistent. As mentioned by MacDonald (2019), Storybook may serve as a tool to properly showcase and document patterns, while allowing users to easily navigate the PL. Governance flaw Most participants reinforce several times that the main cause for the current issues is a governance problem. It is mentioned that there is not a team dedicated to the maintenance and standardisation of the PL, which reflects on all challenges that are currently faced. This may be the single most important aspect to consider in order to solve all current challenges. “There is no team responsible for monitoring the patterns, ensuring that they are generic enough, with an overview of all projects and what can be used in each one, or if a pattern addresses a certain need somewhere else”26 P6 “It's necessary to have an expert in charge of it, who has a critical opinion about what is being done at the moment and what goes into it”27 P3 “There is a clear lack of central governance to ensure that things work as they should”28 P9 This underscores the critical role of proper governance in ensuring the effectiveness and integrity of PL. Without a dedicated team that is responsible for monitoring the patterns, ensuring their applicability and adaptability across projects, while also maintaining the standards, there is a high risk of inconsistency 26 “não há uma equipa responsável pela monitorização dos componentes, garantindo que são genéricos o suficiente, com a visão geral de todos os projetos e do que é que pode ser usado em cada um, ou se um componente resolve determinada necessidade noutro sítio” 27 “É necessário ter alguém técnico que tome conta daquilo e que tenha uma opinião crítica sobre o que está a ser feito neste momento e o que entra lá para dentro” 28 “há uma falta clara de uma governança central para garantir que as coisas funcionam como deveriam.”
43 and ineffectiveness of the PL. A takeaway from this information is that a dedicated team with technical knowledge that focuses on maintaining the standards, managing the updates, controlling, and reviewing patterns or even assessing the need for creating new patterns, could be the key to solve all issues that are mentioned by participants. As people are also actively contributing to the libraries, maintaining a hybrid governance approach with a clearly defined core team, while also accounting for different teams and groups within the organisation to contribute, could mitigate some of the challenges related to the lack of governance. Just like a product needs to be maintained and have a team improving it, a PL should be considered as a project, which may help in ensuring its successful implementation and effectiveness. Discrepancy between code and design libraries This theme, even though it was only discussed by the designers, is also considered important as it can impact the UX of a product. It is mentioned that one of the biggest challenges is that, sometimes, what is designed and expected to be in the product’s UI, is not what eventually gets implemented. The designers explain that this is happening due to a discrepancy between the patterns from the design libraries they use, and the code ones that developers use. “There is a huge discrepancy concerning the design of design libraries, the brand guide, and the code libraries”29 P8 “One of the biggest challenges is the lack of coherence between what is designed and what is implemented in the end”30 P9 P9 even adds that the patterns that exist in the code libraries are not following the guidelines from the DS and central rules. Further explains that they have some similarities with what is expected, but the patterns are not well built. As it was mentioned by MacDonald (2019), this inconsistency from the two PL represents an issue when performing user tests, since what users will see and get tested with is not what they eventually will be 29 “existe uma discrepância enorme entre o design das bibliotecas de design e do brandguide e das bibliotecas de código” 30 “dos maiores desafios é a falta de coerência entre aquilo que está designed com aquilo que é implementado no final”
50 P1 also emphasises the relevance of scalability, where patterns should be designed to solve specific needs of a team, but to also be extendable to other teams’ needs: “Scalability should strike a balance: solve your problem but make it extendable for others. Add-ons should be considered for the library, not just your project.” P1 A takeaway from this data is that there is the need for a clear and well-documented process that involves the collaboration between developers and designers to ensure patterns are properly assessed, documented, tested, and created with generification in mind. By assessing a pattern before implementation, the team can prevent unknown issues or limitations with it and address them before inserting the pattern in the project. Good documentation will also help people locate and understand how to use, work, and contribute to patterns. Lastly, considering scalability when creating patterns will assure other teams will be able to use them across different projects, having first gone through a testing phase to guarantee patterns are following the guidelines for quality, performance, and adaptability. Governance Participants highlight the importance of having a dedicated team to manage and govern the PL. They mention it would be beneficial if this team would be responsible for promoting new patterns, handling updates, and assuring all elements of the PL follow established processes and guidelines. It is also emphasised that each project team doesn’t have the capacity to effectively manage the PL on their own and taking care of necessary improvements. In this case, a core team with a dedicated backlog of necessary tasks, such as framework updates and maintenance, would help in maintaining the quality, standards, and credibility of the PL while also collaborating with designers to assure patterns’ quality: “There should be a team - or some other entity - having more control and managing the library (...) This team could be responsible for promoting new patterns, updates, ensuring that things follow the standards and a process to make sure everything is aligned” P1
51 “There should be a team dedicated to maintaining the shared libraries. Teams will never be able to maintain them by themselves - there will be no transparency, there will be no improvement of necessary things other than creating and updating patterns”44 P7 “There should be that governance, a cross-functional team focused on that with designers which should have the library's author and would know all the patterns there are”45 P3 “A core team with a backlog of things that are needed, like changing frameworks or whatever, but with a backlog to highlight the work that needs to be done and identify gaps, and that work to be discussed before it is done”46 P7 P4 reinforces the need for this dedicated team highlighting not to exclude the contributions from the community: “A team dedicated to managing it could make the situation better, without excluding people from contributing; it would just control, administer the libraries.”47 P4 P2 underscores the importance of having a regular cadence for updates in providing predictability of the developers and the general workflow: “There could be a cadence for updates. Sometimes we go weeks without updates, other times they are almost daily”48 P2 44 “deveria haver uma equipa dedicada a manter as bibliotecas partilhadas. As equipas nunca vão conseguir manter aquilo por si mesmas - não vai haver transparência, não há melhoria de coisas que são necessárias a não ser a criação e atualização de componentes” 45 “Devia haver essa governance, uma equipa transversal que está focada naquilo com os designers, e que tem o autor da biblioteca e que conheça todos os componentes que lá existem” 46 “uma equipa core com um backlog de coisas que sejam precisas, tipo mudar de framework ou o que seja, mas com um backlog para evidenciar o trabalho que é necessário fazer e identificar lacunas, e esse trabalho ser discutido antes de ser feito” 47 “Uma equipa dedicada a gerir aquilo poderia tornar a situação melhor., sem excluir as pessoas poderem contribuir; apenas controlava, administrava as bibliotecas” 48 “Poderia haver uma cadência para as atualizações. Às vezes passamos semanas sem atualizações, outras vezes são quase diárias.”
52 To overcome some challenges related to budget and headcounts, there is the suggestion to build this team from within the company, emerging, for example, as a GUILD with members with technical expertise and experience that is in charge of regular updates, releases, maintenance and addressing PL users’ needs: “This team I'm saying is missing could be a kind of GUILD. I don't mean it would have to be a team solely dedicated to the libraries, but people with technical knowledge and experience who regularly meet to discuss things like what are we going to release, when are we going to release it, what needs to be changed, what needs have people had and how are we going to respond to that”49 P6 It becomes clear that the fact that this team still does not exist results in no proper governance, inconsistent updates, and poor documentation, which is making it difficult to maintain patterns’ quality and standards, leading to inconsistencies across projects and negative impacts on UX. This can be seen by the lack of adherence to the PL caused by lack of transparency and efficiency in the approval process, or even the implementation of some patterns in the products that do not follow accessibility and central guidelines. This absence of a team is also affecting the predictability of updates and the overall usability and reliability of the PL. Therefore, we may affirm that having a dedicated team may help in addressing these issues, which might result in a more effective and successful PL. Documentation A shorter theme regarding documentation was also uncovered. Participants highlighted the need for clear guidelines and comprehensive documentation for creating but also contributing to shared patterns in the PL. The patterns should contain the technical information regarding its behaviour, for example, what is optional and dynamic, reducing the need for developers to decipher the code independently, which reflects in less effort and more efficiency to their work. 49 “essa equipa que digo que falta, poderia ser uma espécie de GUILD, não digo que teria de ser uma equipa apenas e exclusivamente dedicada às bibliotecas, mas malta com conhecimento técnico e experiência que regularmente se reuna para discutir coisas tipo o que vamos fazer release, quando vamos fazer release, o que precisa de ser mudado, que necessidades as pessoas têm tido e como vamos responder a isso”
53 “There should be technical documentation on the patterns about what is optional in it, what is dynamic, etc. ... I wouldn’t need to duplicate the code and try to understand it myself; I would just read the documentation and it would be described there”50 P3 “Guidelines for creating and contributing to shared patterns would be helpful in my opinion.” P1 Additionally, having an overview of non-shared patterns could provide insights into what other teams are developing, which could potentially be used by other teams and projects. Identifying necessary patterns and pushing them to the PL would ensure that valuable patterns are not siloed within individual projects but are available for broader use across the organisation. “Having an overview of the non-shared patterns could be beneficial to understand what others are doing. Based on necessity, pushing a pattern to a shared library would allow others to reuse it.” P1 Table 8 contains main challenges and associated improvement opportunities matched by the author to synthesise findings: Table 8 - Challenges and respective opportunities Challenges Opportunities Problems when testing or experimenting patterns Implement proper tools and create comprehensive documentation that allow people to understand a pattern’s behaviour and reduce duplicate work Lack of transparency and openness in governance Employ a clear and transparent governance model Slow and unclear approval processes Involve a diverse and skilled group of reviewers in the approval process to make it dynamic and reduce bottlenecks 50 “Deveria haver nos componentes documentação técnica também sobre o que é que é opcional no componente, o que é que é dinâmico, etc... Escusava de ter de duplicar o código e tentar perceber isso por mim mesmo, apenas lia a documentação e estava lá descrito.”
54 Challenges Opportunities Discrepancies between design and code libraries Foster open-communication and collaboration between designers and developers to ensure consistency between design and implementation Need for a more predictable update schedule Establish a regular cadence for updates to the PL, improving predictability and helping development teams plan their work more accurately 4.2.7 – Process Current process for creating patterns To better understand the process currently used and to possible identify opportunity areas within it, it was decided to evaluate it from the developers’ perspective. This section maps out the process for creating new or adapting existing patterns. Figure 2 is the visual representation of the pattern creation process: Figure 2 - Pattern creation process Whenever there is a requirement to develop a UI element in the product, developers and designers check if they can use a pattern from the PL. If there is a pattern suitable for the situation, the team makes use of it. If there is no suitable pattern or by adapting an existing one it would address the needs, the team agrees on building a new one or making the adaptation, and developers create a new branch of the PL’s main page to work on these changes. After building or adapting the patterns, they submit the changes to a group of approvers that will either approve or deny the changes. If the changes are denied, the team
55 needs to iterate again on the pattern and follow the previous steps and, if the changes are approved, the patterns are pushed to the main page of the PL. To visualise the changes and have access to the latest version of the PL, the development team must update the project to the latest version of the PL. The current process is accounting for the evaluation of using shared patterns, which may bring value to the PL due to its active use. Nevertheless, as the previous sections have also shown, people are not fully aware of this process and this feedback was gathered based on their wishes and needs, something that they hope for. Some opportunities are found in the actual process of approving and releasing updates, not the process taken by developers to submit requests or performing changes to patterns. In general, the awareness of this process could be enhanced if there were a place documenting how to perform every step. However, it is not possible to state if the current process is, in fact, the best that could be applied. To understand this, a focused study would need to be conducted to evaluate its effectiveness. 4.2.8 – Additional information Finally, the last section represents additional findings that were not related to the scope of the study itself, but can reflect and have impact on future work regarding PL. It was mentioned the fact that the uniformisation of the applications and their layout can be understood as beneficial but, at the same time, the fact that everything looks the same is sometimes confusing and makes people having to think in which application they are at a given moment. It is suggested for each product, or at least a product portfolio, to have a unique identity while still following the brand’s guidelines. “The fact that everything is the same confuses me. Sometimes I have to stop and see where I am, if it's in application X or Y because the layouts are all the same. There's a bit of lack of identity in each product.”51 P6 Regarding taking action to improve the practices at Bosch, P7 mentions that it might pose difficulties, especially when attempting to change centrally managed aspects compared to those within the 51 “o facto de ser tudo igual, confunde-me. Às vezes tenho de parar e ver bem onde estou, se é na aplicação X ou Y porque os layouts são todos iguais. Falta um bocado de identidade a cada produto”
56 department. Further explains that the tools from the department are managed by people within the department and there is more openness in changing and improving, while centrally managed tools may have less openness for changes due to not established relationships. 4.3 – Discussion Coming from the results, while Bosch PL are founded on strong principles and people are aware of their benefits, addressing the identified challenges and issues with focus on clearly defining governance for these frameworks, may significantly improve other aspects found such as in documentation, transparency or even reliability of the PL. As it is discussed by Bernhaupt (2009), Welie & Veer (2011), making the libraries a living artefact, allowing people to contribute, is essential for them to succeed. Kholmatova (2017) even explains that, when having people contributing to the libraries, it’s crucial to have clearly defined criteria for a pattern to be inserted in the library and maintain transparency to ensure effective communication. Participants indicated different levels of contributions with PL. Out of the nine interviewees, only five mentioned to have contributed. This contrasts with best practices that highlight the importance of active and structured contributions to the PL. As it is stated by the authors, the success of PL relies on active and consistent contributions from its users. The lack of contributions from some users may reflect issues on people’s involvement and participation. This could suggest the need for a clearer model for contribution that encourages specifically assigned people to engage and improve the PL. It is also noted that more experienced users reported recurring issues with their previous work, suggesting that some challenges are shared across organisations. This finding is significant as it may point to systemic issues related to PL implementation in organisations, rather than isolated incidents at Bosch. Therefore, in addressing these issues, it could be beneficial to look at some best practices and solutions that have been successful in other contexts. Participants were also well aware of the benefits of using such frameworks, which is a positive indicator for Bosch. In general, it is recognised that PL may help in reducing duplicate work, standardise products’ UI and speed-up development. However, awareness alone is not sufficient to grant the success of a PL and should be coupled with effective implementation and governance. Furthermore, it seems that a mix
57 of a centralised and federated governance model is in place as there is some sort of core team that validates the contributions of the several product teams. This may be creating some challenges in communication and decision making, as it is also mentioned by Curtis (2018). This governance model is not clearly perceived by the people. There are aspects from a centralised model, where a small team distributes the assets and takes decisions, combined with decision-making distributed across product teams found in a federated model. This hybrid approach could better work by clearly defining the core team, while also creating clear guidelines for patterns’ approval and contributions. This approach also requires strong coordination to assure coherence and consistency to the PL. Effective communication channels, comprehensive documentation, and regular collaborative sessions may help in reducing duplicate efforts and managing this hybrid governance model. With this, clearly defining the team, guidelines and the criteria for patterns’ modifications and inclusion in the PL, while allowing developers to actively contribute based on these defined rules, may reduce the challenges regarding transparency and pattern approvals currently faced at Bosch. Chapter 5 | Conclusion and future work 5.1 - Conclusion This study aimed to investigate the implementation, usage, and practices of PL within a multinational organisation context, specifically focusing on Bosch MA-AS. The relevance of this study lies in the crucial role that PL play in ensuring product development efficiency and UI consistency across a product portfolio. To provide a theoretical basis for the study, a bibliographic review on DS and PL was conducted. This review presented insights into the theoretical framing, best practices, and challenges associated with the implementation of these frameworks in multiple organisational settings. To investigate these practices, a case-study research methodology was employed to gain insights into practices at Bosch MA-AS, which allowed to study PL in a real, natural environment. Semi-structured interviews were conducted to gather qualitative data, which was then analysed through a thematic analysis approach. This study contributes to understanding and improving the use of PL within the context of a multinational organisation. It uncovered several challenges, including issues with contributing to patterns, unclear
58 processes, and work redundancies, which would then culminate in concluding that there is a lack of clear governance of PL. To address these challenges, suggestions were proposed, such as implementing proper tools for pattern’s experimentation, creating good documentation, establishing regular updates, and defining a clear governance model. Looking at the research objectives: 1. The bibliographic review allowed to gain a comprehensive understanding on DS and PL. It highlighted the importance of these frameworks in achieving consistency and development efficiency, while identifying common challenges, such as governance, transparency, and collaboration issues. 2. The case-study research methodology allowed to reveal current practices at Bosch MA-AS, identifying main challenges, such as unclear processes and work redundancies, which results from a lack of clear governance. 3. Improvement opportunities were uncovered through the thematic analysis and suggestions were provided to address them. Answering the research question, employing the aforementioned suggestions may help to mitigate design inconsistencies and, ultimately, enhance the overall UX in products. Nevertheless, beyond the technical aspects, it is important to consider how these practices impact people, more specifically the ones who use DS and PL as a tool in their work. Other than impacting the final users of a product, like the users of a software application, these frameworks and related practices also impact the employees of an organisation. It is essential for the success of these frameworks and processes to involve people. If individuals feel excluded from these practices, they may feel demotivated and put less effort towards their success. Additionally, it becomes relevant to recognise the impact of DS and PL on employee satisfaction. As PL are often framed as tools that affect end-users and a product’s UX, the way they are developed over time (PL as a process), might also affect the work experience of employees within an organisation. A well implemented PL may streamline workflows, reduce work duplication, and foster better collaboration, which can lead to a higher employee satisfaction. Therefore, organisations should also consider the needs and experiences of their employees when implementing PL and processes as they are valuable stakeholders in these practices.
59 5.2 – Limitations In evaluating the outcomes of this study, it’s important to consider certain limitations that may have influenced the results presented. It is relevant to acknowledge that, while this research provides insights into the implementation and practices of PL within a multinational organisation like Bosch MA-AS, the scope is limited and may differ when applied to other contexts or organisations. There were some constraints when conducting the interviews, as the researcher had to conduct the interviews alone, adopting the role of moderator and note-taker at the same time. This dual responsibility may have led to some information being lost and the interpretation potentially being fallible too, as it was seen through the researcher’s perspective alone. Additionally, analysing and interpreting the information collected while still conducting some of the interviews may have introduced bias. As the researcher began to look for patterns in the data, it may have influenced the perception of the discussions, potentially deviating the attention to the information that would fit those patterns. Additionally, as this was a short duration study that lasted about 6 months, there was not the chance to make use of some tools for the automatic analysis of qualitative data, which could have been beneficial in making the analysis process faster, but as well in helping avoid biasing in interpretation. Finally, there were also limitations in terms of time, participant’s availability, and scope. It was not possible to gather and interview a larger number of participants, which could have provided more accurate quantitative data and a better understanding of the main problem. Extending the analysis to more people would also have helped in ensuring a more balanced perspective and avoiding the selection of participants who are expected to present the same type of challenges. 5.3 – Future work It is important to acknowledge that this research is not positioned within the service design field (Sangiorgi & Meroni, 2011; Sangiorgi & Prendiville, 2017). This presents an opportunity to explore issues, for example, related with cocreation and coproduction, as it plays an important role in creating assets for the DS. Some authors like Gale (1996) state the relevance of the active involvement of people, explaining that the PL that prove most effective are not the ones enforced upon the developers, but rather those cocreated alongside them. This opens up opportunities to study how cocreation and coproduction affects