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

kobotoolbox / kpi / 40487406040
59%
master: 76%

Build:
Build:
LAST BUILD BRANCH: release/2.026.43
DEFAULT BRANCH: master
Ran 27 Oct 2026 10:22AM UTC
Jobs 10
Files 933
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

27 Oct 2026 10:18AM UTC coverage: 83.64%. Remained the same
40487406040

push

github

web-flow
feat(dataTable): don't store view settings in asset DEV-2710 (#7762)

### đŸ“Ŗ Summary

Data Table settings (sorting, hidden and frozen columns, etc.) are now
saved per user in the browser instead of being shared with everyone on
the project.

### 📖 Description

Settings saved previously on the project are ignored, so everyone starts
from the defaults once. Users without edit permission now keep their
settings after a reload too.

### 💭 Notes

Changes here:
- `tableStore.ts`: keeps settings in localStorage under a per-user key
(`useSafeUsernameStorageKey`), stored as a map of asset uid to settings
(simpler code)
- I know there is a comment `migrate to react-query whenever you need to
adjust things beyond simple rename`, but it would make a more complex
PR. Will tackle the migration in separate task.
- `DataTableWrapper.tsx`: passes the key to the store and shows a
spinner until settings have loaded, so submissions aren't fetched twice
- `TableSettings.tsx`, `columnsHideForm.tsx`: saving is synchronous now
(simpler code) and reset is shown to everyone
- `table.tsx`: reacts to settings changes only through `tableStore`
listener (asset props no longer carry them)
- `actions.js`/`.d.ts`, `tableConstants.ts`, `dataInterface.ts`: deleted
`actions.table` and the `'data-table'` types
- Old `asset.settings['data-table']` values stay in the DB, untouched

### 👀 Preview steps

1. â„šī¸ have a project (owned by user A) with some submissions, shared
with two accounts: B with edit permission, C with view-only permission
("View form" + "View submissions")
2. as owner A, go to Project → Data → Table, sort by some column and
hide another
3. as B, open the same table
4. 🔴 [on main] notice that B sees A's sorting and hidden column
5. đŸŸĸ [on PR] notice that B sees the default table
6. as A, reload the page
7. đŸŸĸ notice that A's sorting and hidden column are still there
8. as C, open the table, sort by a different column, then reload the
page
9. 🔴 [on main] notice that C's sortin... (continued)

10750 of 14064 branches covered (76.44%)

34198 of 40887 relevant lines covered (83.64%)

5.51 hits per line

Coverage Regressions

Lines Coverage ∆ File
81
0.0
-93.1% kobo/apps/stripe/serializers.py
75
0.0
-41.9% kobo/apps/stripe/views.py
66
18.63
-40.99% kobo/apps/stripe/utils/subscription_limits.py
63
0.0
-51.64% kobo/apps/stripe/models.py
39
35.43
-30.71% kpi/utils/usage_calculator.py
36
20.2
-36.36% kobo/apps/stripe/utils/billing_dates.py
27
37.14
-38.57% kpi/utils/cache.py
20
33.33
-37.04% kobo/apps/stripe/utils/limit_enforcement.py
19
0.0
-65.52% kobo/apps/stripe/admin.py
15
0.0
-20.55% kobo/apps/stripe/signals.py
13
55.51
-1.93% kobo/apps/openrosa/libs/utils/logger_tools.py
12
35.0
-60.0% kobo/apps/stripe/utils/import_management.py
9
0.0
-29.03% kobo/apps/stripe/utils/manual_subscription.py
8
0.0
-100.0% kobo/apps/stripe/urls.py
7
0.0
-100.0% kobo/apps/stripe/apps.py
6
0.0
-100.0% kobo/apps/stripe/exceptions.py
6
0.0
-37.5% kobo/apps/stripe/utils/view_utils.py
4
56.22
-2.16% kobo/apps/organizations/models.py
3
31.43
-2.86% kobo/apps/organizations/admin/organization.py
3
50.0
-7.89% kobo/apps/organizations/utils.py
1
95.76
-0.85% kobo/apps/openrosa/apps/api/viewsets/xform_submission_api.py
1
76.27
-1.69% kobo/apps/user_reports/utils/migrations.py
1
72.0
-4.0% kpi/urls/__init__.py
Jobs
ID Job ID Ran Files Coverage
1 40487406040.1 27 Oct 2026 10:22AM UTC 928
43.53
2 40487406040.2 27 Oct 2026 10:25AM UTC 930
54.13
3 40487406040.3 27 Oct 2026 10:27AM UTC 931
68.76
4 40487406040.4 27 Oct 2026 10:28AM UTC 930
59.41
5 40487406040.5 27 Oct 2026 10:30AM UTC 933
71.17
6 40487406040.6 27 Oct 2026 11:06AM UTC 930
44.79
7 40487406040.7 27 Oct 2026 11:11AM UTC 930
50.53
8 40487406040.8 27 Oct 2026 11:11AM UTC 928
52.9
9 40487406040.9 27 Oct 2026 11:13AM UTC 928
49.29
10 40487406040.10 27 Oct 2026 11:13AM UTC 928
58.35
Source Files on build 40487406040
  • Tree
  • List 933
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • ffea009c on github
  • Prev Build on main (#40485431657)
  • Next Build on main (#40508718335)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc