Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User's Dashboard Recent Activity #1070

Merged
merged 4 commits into from
Dec 15, 2023
Merged

Conversation

didoda
Copy link
Member

@didoda didoda commented Dec 14, 2023

This introduces a change on the user's dashboard "recent items" section.

Contents are slightly different, representing "user's activity" (fetching data from history endpoint): this means that there could be the same object in multiple rows (different changes on the same object).

Comparing to the previous version, this fetches also data modified sometime by the authenticated user, and with last modification by another user.
The content for each row is:

  • Title or #id uname: the title, if available, #id uname otherwise
  • Object type: the object type
  • Action: the action performed (can be "update", "trash", etc.)
  • Changed: the list of fields that has been changed
  • Date: the date time for the change

Data is paginated. Deleted objects are "line-through" style strings.

The component <recent-activity> is reusable (for instance, we could use it to have an insight on user activity, in user object view).

image

Bonus: javascript fix in placeholders.js

@didoda didoda added feature New feature or request release:patch labels Dec 14, 2023
@didoda didoda added this to the 4.x milestone Dec 14, 2023
Copy link

codecov bot commented Dec 14, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (68570fe) 99.65% compared to head (4520eec) 99.67%.
Report is 5 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #1070      +/-   ##
============================================
+ Coverage     99.65%   99.67%   +0.02%     
+ Complexity     1168     1166       -2     
============================================
  Files            91       91              
  Lines          4611     4601      -10     
============================================
- Hits           4595     4586       -9     
+ Misses           16       15       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@didoda didoda merged commit 7e7e0ee into bedita:master Dec 15, 2023
19 checks passed
@didoda didoda deleted the feat/recent-activity branch December 15, 2023 11:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request release:minor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant