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

trento-project / web / 37aa3037bdc91fdf5a6cf9016a89c41ec9642ebf
88%

Build:
DEFAULT BRANCH: main
Ran 13 Sep 2024 10:28AM UTC
Jobs 1
Files 442
Run time 6min
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 Sep 2024 10:25AM UTC coverage: 84.407% (+0.02%) from 84.392%
37aa3037bdc91fdf5a6cf9016a89c41ec9642ebf

push

github

web-flow
Activity log filter by user (#2924)

* wip

- needs some clean up

* See description

- Deletes unused code
- Pulls out state access into the ActivityLog page context

* More code deletion; Adds user context function

- Deletes unnecessary code from the composed filter
- Adds a new function the users context
- Adds needed context calls to the ActivityLog channel module

* Renaming

Renames some declarations

* Refactors activity_log channel

* Fixes warning

Fix for identityFunctionCheck warning in console.

* Runs formatter

* Renaming

* Adds some tests

- channel test for activity log
- activity log state test

* Runs js code formatter

* Fix for failing tests

Adds a hook that passes in requisite state to the ActivityLogPage component

* Deletes an unused import; format

* Some cleanup

Specific users in list are not necessary

* Adds a system user

Previously a system user was not returned; now it is possible to filter the system activity log entries.

* Refactors ActivityLogPage test

* Adds test for activityLog users selector

* Adds tests for ActivityLogChannel

* Adds a test for a Users context function

* Addresses PR comments

Renaming

* Handles scenario with deleted users

Collapses usernames from deleted users into a username without timestamp suffix

* Renaming

alUsers -> activityLogUsers

* Adds test case for non-empty initial state

* Formatting

* Makes refresh interval a parameter

According to PR conversation, the update push interval from the channel  is now a compile time Application env variable.

* Addresses PR comment

The users context function modified here now returns username tupled with the deleted_at timestamp. This simplifies somewhat the implementation of the collapse_usernames function in the ActivityLogChannel module. Specifically, this function no longer needs to do any DateTime parsing to infer soft deleted users/associated usernames.... (continued)

14 of 16 new or added lines in 2 files covered. (87.5%)

2777 of 3290 relevant lines covered (84.41%)

229.26 hits per line

Jobs
ID Job ID Ran Files Coverage
1 37aa3037bdc91fdf5a6cf9016a89c41ec9642ebf.1 13 Sep 2024 10:28AM UTC 0
84.41
GitHub Action Run
Source Files on build 37aa3037bdc91fdf5a6cf9016a89c41ec9642ebf
Detailed source file information is not available for this build.
  • Back to Repo
  • 37aa3037 on github
  • Prev Build on main (#AA251607...)
  • Next Build on main (#4C7B9C54...)
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