Add number of activities column to all member views#789
Add number of activities column to all member views#789joanagmaia merged 2 commits intolinuxfoundation:mainfrom
Conversation
joanagmaia
left a comment
There was a problem hiding this comment.
Hey @peoray, thanks for this work!
The columns in members state was actually being used to render extraColumns in specific views. That's why only the most-engaged view had it in the columns array.
Since the goal of this issue is to add it to all columns, I think there is a better approach to it. Here are my changes request:
- Remove all
activityCountcolumns from members state.columnswill just be an empty array for now. - In
member-list-table.vuecomponent, please add the new column using<el-table-column />component. - To render the value of the activityCount please make sure to:
- Use
formatNumberutils fromnumber.js. This will format number in a friendly way
- Use
|
@joanagmaia to be clear, do I leave the |
Good point on the |
|
@joanagmaia Updated. |
Changes proposed ✍️
Add number of activities column to all member views
Fixes #779
What
🤖 Generated by Copilot at 33cdb12
Added a new frontend feature to show member activities in the crowd. The feature involves a new
activitiescolumn in themembertable and some changes in thefrontend/src/modules/member/store/state.jsfile.
🤖 Generated by Copilot at 33cdb12
Why
How
🤖 Generated by Copilot at 33cdb12
Checklist ✅
Feature,Improvement, orBug.