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

kobotoolbox / kpi / 15211476963
81%
master: 76%

Build:
Build:
LAST BUILD BRANCH: dev-1257-remove-v1-forms-endpoint
DEFAULT BRANCH: master
Ran 23 May 2025 02:04PM UTC
Jobs 2
Files 653
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

23 May 2025 01:29PM UTC coverage: 81.045%. Remained the same
15211476963

push

github

web-flow
fix(permissions): make sharing form request permissions upon opening DEV-128 (#5785)

### đŸ“Ŗ Summary
<!-- Delete this section if changes are internal only. -->
<!-- One sentence summary for the public changelog, worded for
non-technical seasoned Kobo users. -->

Fixes issue where wharing modal did not update permissions until a hard
refresh.

### 💭 Notes
<!-- Delete this section if empty. -->
<!-- Anything else useful that's not said above,worded for
reviewers, testers, and future git archaeologist collegues. Examples:
- screenshots, copy-pasted logs, etc.
- what was tried but didn't work,
- conscious short-term vs long-term tradeoffs,
- proactively answer likely questions,
-->
Originally thought of as a caching issue, but that's not the case. The
modal is just not requesting permissions on open.

One liner but that raises some questions. It feels like something we
would have made a decision to not do in the past since it's a simple get
request that would make sense to be there. I tried looking in the commit
history to see if this line was ever removed but didn't find anything 🤷

A better solution would use a store, or react query, but until then this
modal should be updating correctly

### 👀 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 multiple accounts and an asset
2. Open the sharing modal anywhere
3. Grant some permissions to a user (can really be any permission
change, but these steps follow adding a user)
4. Close the modal
5. Open the modal again
6. 🔴 [on main] notice that the permissions are not updated and the new
user is not in the modal
7. đŸŸĸ [on PR] notice that the permissions are updated and the new user is
in the modal on after closing and opening the sharing modal again

6254 of 9913 branches covered (63.09%)

23854 of 29433 relevant lines covered (81.05%)

1.6 hits per line

Jobs
ID Job ID Ran Files Coverage
1 15211476963.1 23 May 2025 02:04PM UTC 653
78.96
2 15211476963.2 23 May 2025 02:07PM UTC 653
81.02
Source Files on build 15211476963
  • Tree
  • List 653
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 1ec4b586 on github
  • Prev Build on main (#15211135284)
  • Next Build on main (#15262015841)
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

© 2026 Coveralls, Inc