Repository navigation
Open
Labels
P0: must dopriority 10[Epic]this label is used to mark issues as epicsin discoveryThe design, product, and specifications require refinement
Description
Problem to solve
As we release the MVP of bundle analysis, we'd like to better understand the usability of configuration, user perception, and identify areas of improvements.
Configuration Experience:
-
How intuitive was the configuration process?
- Split into two parts 1) Codecov UI, 2) integration into the org workflow (identify edge cases / external challenges)
- SDK portion related to configuring repo bundle(s) - would be helpful to get feedback about that ()
-
What challenges, if any, did user face during the configuration?
Data Interpretation:
- How clear and actionable did user find the data in commit/PR comments?
- What additional information would user find helpful in PR comments?
Repo-Level Insights:
- Is user interested in broader repo-level data? Why or why not?
- What specific repo-level insights would be most valuable?
- What do they want to see?
- Specific around controls: gates, thresholds, checks - what controls are desired
Participant Criteria
- Target Audience: Web Developers with experience and familiarity with JavaScript bundling tools (e.g., Webpack, Rollup).
test scipt
User Test Script for Bundle Configuration Tool
Introduction
Greet the Participant:
- "Hello [Participant's Name], thank you for joining us today. We're excited to get your input on our new bundle analysis tool."
Consent to Record:
- "Before we start, we'd like to record this session for analysis and improvement purposes. Do you consent to us recording this session?"
Explain the Test:
- "We'll be asking you to complete a task using the tool, and we'd like you to share your screen and walk us through your process. Your insights are invaluable to us."
Intro Questions:
- "Before we begin, could you tell us a bit about how you currently manage your bundle configurations?"
- "What challenges have you faced in this area?"
- "Is there anything in particular you wish you had to make this easier?"
Task Instructions
Task Introduction:
- "Imagine you've just heard that Sentry/Codecov has launched a new tool for bundle analysis. You're interested in configuring it for your organization's repository to see how it can improve your workflow."
Specific Task:
- "Your organization is 'turing-corp', and you need to configure the tool for your repository. Let's pretend the repository name is '[Insert Repo Name]'. How would you go about setting this up?"
During the Task:
- Encourage the participant to think aloud as they navigate the configuration process.
- Take notes on any difficulties they encounter, any feedback they offer, and their overall user experience.
Wrap-Up:
- Thank them for their participation and valuable feedback.
- Ask if they have any final thoughts or questions about the tool.
- Inform them about the next steps and how their feedback will be used to improve the tool.
Next steps
- Create feedback issue specific to bundle comment
- User testing with 5 users to go through workflow
- Create testing script
- Recruit 5 users (volunteers: bart v, vu l, billy v, yagiz n, michael h, evan p if after mar 1)
- P1: Vu 3/12 (
vuluongj20) - P2: Billy V 3/12 (
billyvg) - P3: Yagiz 3/13 (
anonrig) - P4: Michael h 3/12 (``)
- P5: Evan p 3/14 (
evanpurkhiser) - P6: Bart V 3/12
- P1: Vu 3/12 (
- Setup interviews
- Identify key insights
- Post finding and design updates to epic
### Insights
- [ ] https://github.com/codecov/engineering-team/issues/1409
- [ ] https://github.com/codecov/engineering-team/issues/1430
- [ ] https://github.com/codecov/engineering-team/issues/1408
- [ ] https://github.com/codecov/engineering-team/issues/1410
- [ ] https://github.com/codecov/engineering-team/issues/1385
- [ ] https://github.com/codecov/engineering-team/issues/1392
- [ ] https://github.com/codecov/engineering-team/issues/1411
- [ ] https://github.com/codecov/engineering-team/issues/1421
- [ ] https://github.com/codecov/engineering-team/issues/1393
- [ ] https://github.com/codecov/engineering-team/issues/1412
- [ ] https://github.com/codecov/engineering-team/issues/1400
- [ ] https://github.com/codecov/engineering-team/issues/1413
- [ ] https://github.com/codecov/engineering-team/issues/1424
- [ ] https://github.com/codecov/engineering-team/issues/1386
- [ ] https://github.com/codecov/engineering-team/issues/1425
- [ ] https://github.com/codecov/engineering-team/issues/1423
- [ ] https://github.com/codecov/engineering-team/issues/1422
- [ ] https://github.com/codecov/engineering-team/issues/1420
- [ ] https://github.com/codecov/engineering-team/issues/1454
- [ ] https://github.com/codecov/engineering-team/issues/1476
- [ ] https://github.com/codecov/engineering-team/issues/1562
Metadata
Metadata
Assignees
Labels
P0: must dopriority 10[Epic]this label is used to mark issues as epicsin discoveryThe design, product, and specifications require refinement
Activity
codecovdesign commentedon Feb 13, 2024
sync with @nicholas-codecov
codecovdesign commentedon Mar 6, 2024
test script template
User Test Script for Bundle Configuration Tool
Introduction
Greet the Participant:
Consent to Record:
Explain the Test:
Intro Questions:
Task Instructions
Task Introduction:
Specific Task:
During the Task:
Wrap-Up:
codecovdesign commentedon Mar 11, 2024
Participant 0
TLDR; The participant's attempt to configure the bundle analysis tool was unsuccessful due to reliance on micro bundling, which wasn't compatible. Additionally, they encountered delays and confusion in the GitHub app recognizing the installation, impacting their ability to view their organization and repository promptly.
Intro Questions:
How do you currently manage your bundle configurations?
Participant mentions using plain JS and micro bundling for Project Wallace, with limited use of Rollup. They express uncertainty about whether to bundle modules and the effectiveness of their CSS tree implementation.
What challenges have you faced in this area?
The participant discusses inconsistencies between tests run on source files and the bundled JS file, leading to "green" tests that fail in the bundled state. They also mention not using Codecov for test validation.
Is there anything in particular you wish you had to make this easier?
The participant did not specify any tools or solutions.
Onboarding:
Configuration Attempt:
User Retro:
codecovdesign commentedon Mar 12, 2024
Participant 4
TLDR: The developer successfully configured the bundle analysis tool but encountered slow loading times for the PR comment report. They appreciated the in-app summary data but expressed a desire for visibility into changes across commits.
Onboarding
Wrap-Up Questions and Feedback
codecovdesign commentedon Mar 12, 2024
WIP: Participant 2
TLDR: The user successfully configured the repository, beginning with the documentation before moving to the app for the repo token. Their focus was on repo-level data, contributing many valuable suggestions for utilizing this data (see insights below).
Onboarding
USER RETRO of Repo > Bundle Summary
PR Comment
codecovdesign commentedon Mar 12, 2024
WIP: Participant 1
TLDR The user successfully configured the bundle analysis tool, navigating through documentation and the app to obtain the necessary upload token. They experienced some confusion and errors within the UI but ultimately accessed the report. Insights on desired features and improvements are provided below.
Intro Questions (unrelated to BA feature, rather current experience)
Bundle Configuration Management:
Uses a TS config parser option. Managing the config file is challenging due to poor segmentation and large size, making it difficult to locate specific variables.
Challenges:
The main issues are the config file's complexity and finding the right variable due to its size and unstructured additions by developers.
Desired Improvements:
Interested in continuous integration for easier management of releases and PRs, with an emphasis on the importance of bundle size analysis.
Onboarding
User Insights & Issues
The configuration process was marked by UI confusion and errors, notably an "unknown error" banner that persisted across sessions.
Expressed a desire for HTML file inclusion in bundle definitions and improved asset-level reporting.
Noted the absence of PR comment reports due to merging to main and discussed the potential for enhanced reporting in PRs and releases.
Other suggestions for improvement
codecovdesign commentedon Mar 14, 2024
Participant 3
TLDR: The participant discussed their current bundle configuration process, highlighting dependency and optimization challenges. They encountered issues and confusion during onboarding and configuration, particularly with the sequence of steps and understanding bundle names. Despite this they successfully configured the featured. Key insights include the desire for a tool that estimates optimization impacts and offers deeper dependency analysis.
Intro Questions
Bundle Configuration Management:
Uses Next.js bundle analyzer for personal projects, rspack.dev for Sentry, noting inefficiencies in frontend code delivery and compilation by Babel.
Challenges:
INSIGHT: encountered issues with duplicate packages and difficulty determining unnecessary plugin removal.
Desired Improvements:
INSIGHT: expressed a need for tools to estimate the impact of optimizations on dependencies and insights on removal impacts.
Onboarding
Configuration and Feedback
User Insights
[-]UXR: bundle analysis user testing[/-][+]WIP: audit and testing of bundle analysis product v1/2[/+][-]WIP: audit and testing of bundle analysis product v1/2[/-][+]WIP: audit and testing of bundle analysis product v1/1.5[/+][-]WIP: audit and testing of bundle analysis product v1/1.5[/-][+]WIP: audit and testing of bundle analysis product v0-1.5[/+]codecovdesign commentedon Mar 14, 2024
Participant 5
TLDR: This participant successfully configured the bundle analysis tool, with some points highlighting a need for clearer documentation and improved UI clarity, especially regarding bundle names and step sequences. They expressed a desire for advanced features such as detailed dependency analysis and change tracking.
Participant Notes
Intro Questions
Bundle Configuration Management:
"We use webpack with an integrated configuration that heavily utilizes code splitting to identify how specific elements are utilized across various parts of the project."
Challenges:
INSIGHT: Noted challenges in tracking the usage of certain elements in multiple places.
Desired Improvements:
The lack of detail on individual chunks in previous tools was limiting.
INSIGHTS:
Task Introduction
Onboarding
Configuration and Feedback
This participant's feedback illuminates the critical areas for tool enhancement, from onboarding to advanced analytical features, driving home the need for a user-centric approach in tool development and documentation.
codecovdesign commentedon Mar 15, 2024
Report of Bundle Analysis Audit and Testing
TL;DR for All Participant Tests/Audits
📽️ See condensed video related to GitHub issues below (full)
- P0
- P1
- P2
- P3
- P4
- P5
Onboarding Challenges:
Desired Features and Improvements:
Next Steps and Related Action Items:
Review incoming issues, issues from our v2 discovery, and the ones listed below from the audit. Then, identify which ones we'd like to groom and explore in upcoming design/engineering sprints.