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

kobotoolbox / kpi / 16910993226
81%
master: 76%

Build:
Build:
LAST BUILD BRANCH: refactor-subsequences-2025
DEFAULT BRANCH: master
Ran 12 Aug 2025 02:30PM UTC
Jobs 2
Files 665
Run time 2min
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

12 Aug 2025 01:52PM UTC coverage: 81.423%. Remained the same
16910993226

push

github

web-flow
fix(permissions): update team members row with changes from sharing modal DEV-281 (#5791)



### πŸ“£ Summary
When making changes to a project's permissions, if a user is added or
removed it will reflect immidately in the "Team members" component in
the "Summary" page.

### πŸ’­ Notes
(from the linear task)
Discovered that:
- `store.allAssets.byUid[...]` returns the `assetResponse` but it's
permissions are not updated
- `actions.permissions.removeAssetPermissions` did listen correctly to a
deleted permission but returned only `assetUid` and not list of
permissions
- listening on `actions.permissions.getAssetPermissions` returns the
updated permission list after deleting a user's permissions

Opted for hacky fix because it took .5 hours to draft and refactoring to
react query would require increasing scope significantly

### πŸ‘€ Preview steps
1. Have multiple accounts
1. Create a project and give another user some permissions for this
project
1. Navigate to the "Summary" tab
1. 🟒 notice that the "Team members" row is correctly displaying only the
owner and the added user
1. Open the share modal and remove the added user's permissions
1. [on main] πŸ”΄notice that "Team members" still displays both users
1. [on PR] 🟒 notice that "Team members" updates accordingly to changes
made in sharing modal

---------

Co-authored-by: Leszek Pietrzak <leszek@magicznyleszek.xyz>

6440 of 10121 branches covered (63.63%)

24426 of 29999 relevant lines covered (81.42%)

1.6 hits per line

Jobs
ID Job ID Ran Files Coverage
1 16910993226.1 12 Aug 2025 02:30PM UTC 665
79.0
2 16910993226.2 12 Aug 2025 02:31PM UTC 665
81.4
Source Files on build 16910993226
  • Tree
  • List 665
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage βˆ† File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • fe45bd40 on github
  • Prev Build on main (#16886103399)
  • Next Build on main (#16911902044)
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