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

kobotoolbox / kpi / 12316967892
81%
master: 76%

Build:
Build:
LAST BUILD BRANCH: beccagraber/dev-1452-new_action
DEFAULT BRANCH: master
Ran 13 Dec 2024 02:35PM UTC
Jobs 1
Files 608
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

13 Dec 2024 01:57PM UTC coverage: 80.395% (+0.007%) from 80.388%
12316967892

push

github

web-flow
feat(projectHistoryLogs): add action label and review all action items and texts TASK-1371 (#5354)

### đŸ“Ŗ Summary
This PR adds labels to all action items and display the new labels in
the filter selection.
Also, all the existing items and texts were reviewed and updated based
on [the actions
list](https://www.notion.so/kobotoolbox/Write-code-for-rendering-all-possible-activity-messages-in-the-UI-1287e515f65480868bbcdc19c085920f?pvs=4#1287e515f654808a83cce66d13abde6c)


### 📖 Description
- A new label property was added to all items in the
`AUDIT_ACTION_TYPES`
- This new property is now being used as the label for the filter
selection items
- The filter selection box was enlarged from 150px to 280px (initially
suggested new size was of 250px, but it was needed to make it even
larger to fit all the existing labels)
- All the items from `AuditActions` enum and all the texts from
`AUDIT_ACTION_TYPES` were reviewed and updated based on [the actions
list](https://www.notion.so/kobotoolbox/Write-code-for-rendering-all-possible-activity-messages-in-the-UI-1287e515f65480868bbcdc19c085920f?pvs=4#1287e515f654808a83cce66d13abde6c)
- Transferring a project and modifying permissions are special cases
where more than 1 username is used in the message. A fix for that with
the current metadata was added.

### 👀 Preview steps
1. â„šī¸ have an account and a project
2. Have the activity logs feature flag on with:
`?ff_activityLogsEnabled=true`
3. Transfer a project to another user
4. Navigate to the project's Settings > Activity
5. đŸŸĸ The transfer should be displayed in the activity log
6. đŸŸĸ The destination username should be properly displayed
7. Change the access permission of an user
8. đŸŸĸ The permission change should be displayed in the activity log
9. đŸŸĸ The username who had the permission changes should be displayed in
the log
10. All other logged actions should be displayed in the list with the
proper text

5749 of 9231 branches covered (62.28%)

21988 of 27350 relevant lines covered (80.39%)

0.8 hits per line

Jobs
ID Job ID Ran Files Coverage
1 12316967892.1 13 Dec 2024 02:35PM UTC 608
80.39
Source Files on build 12316967892
  • Tree
  • List 608
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • bc516521 on github
  • Prev Build on main (#12315307717)
  • Next Build on main (#12317697618)
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