• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

kobotoolbox / kpi / 12507212536
81%
master: 76%

Build:
Build:
LAST BUILD BRANCH: beccagraber/dev-1452-new_action
DEFAULT BRANCH: master
Ran 26 Dec 2024 07:13PM UTC
Jobs 1
Files 622
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

26 Dec 2024 06:37PM UTC coverage: 80.451% (-0.01%) from 80.462%
12507212536

push

github

web-flow
fix: update type select after fetching default export settings TASK-1296 (#5399)

### đŸ“Ŗ Summary
Type selector for export now reflects the actual last export settings
fetched from history


### 📖 Description
- The export type selection box was not being updated on component mount
when the last exported setting is loaded
- That was causing the silent selection of the export type fetched
without updating the actual selection box
- This way, if the first export of the project was a CSV, then after
fetching this export setting the type selection box would still be
displaying XLS as the default selected, even though the actual selection
in the state was changed to CSV.
- The component is displaying the information from the store, and not
from state
- I added an update to the type in the exportStore when applying the
fetched export settings to the state, so it displays the actual
selection.


### 👀 Preview steps
<!-- Delete this section if behavior can't change. -->
<!-- If behavior changes or merely may change, add a preview of a
minimal happy path. -->

Bug template:
1. â„šī¸ have an account and a deployed project with no exports
2. navigate to project > data > downloads
3. select the CSV (or any other than XSL) type to export
4. export the project data
5. leave the Downloads view (by clicking on Gallery, for example)
6. Go back to Downloads view
8. 🔴 [on main] notice that XSL appears as the selected type, even though
it's not. You can check Network tab or just click export to see it
exporting in the actual selected type
9. đŸŸĸ [on PR] notice that the selection box updated to reflect the actual
selected type

5790 of 9278 branches covered (62.41%)

22157 of 27541 relevant lines covered (80.45%)

0.8 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
3
93.79
-1.86% kobo/apps/stripe/views.py
Jobs
ID Job ID Ran Files Coverage
1 12507212536.1 26 Dec 2024 07:13PM UTC 622
80.45
Source Files on build 12507212536
  • Tree
  • List 622
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • e46906d6 on github
  • Prev Build on main (#12473081471)
  • Next Build on main (#12508729739)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc