|
Ran
|
Jobs
1
|
Files
623
|
Run time
10min
|
Badge
README BADGES
|
push
github
refactor(frontend): Mantine Component Library PoC (#5344) ### 💭 Notes Please read the PR commit-by-commit, here's a guide. 1. [3105f47](https://github.com/kobotoolbox/kpi/pull/5344/commits/3105f47b0) Setup Mantine Component Library. Please install the new dependencies, and add recommended VSCode extensions. 2. [453f2c1](https://github.com/kobotoolbox/kpi/pull/5344/commits/453f2c186) Here's a preview that Mantine in general works, and API for the example Button is different but generally similar. | our button | Mantine default button | |--------|--------| |  |  |  3. [d782e38](https://github.com/kobotoolbox/kpi/pull/5344/commits/d782e38a9) Example of custom styled component, Button. IMHO achieves pixel-perfect match in storybook and example above, except for line breaks, spinner and hover animations. Click animation matches out of box. Icon-only buttons are omitted because Mantine uses a different component `IconAction` for those. | Original on left / Mantine implementation on right | | --- | |  | 5. [eaf45e3](https://github.com/kobotoolbox/kpi/pull/5344/commits/eaf45e3d3) Wrapped Button to add support for inbuilt Tooltip. No idea if we want to move forward with these two coupled, but I found it useful for comparison by re-implementing part of old Button behavior that's represented in storybook. | Original | Mantine implementation | | --- | --- | | 
5824 of 9325 branches covered (62.46%)
22262 of 27661 relevant lines covered (80.48%)
0.8 hits per line
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 12784691324.1 | 623 |
80.48 |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
|---|