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

feat: display new fields in orgs table #10499

Merged

Conversation

TheSussex
Copy link
Collaborator

@TheSussex TheSussex commented Jun 26, 2024

What

  1. added new fields(last login, last import, data sources) to the organisation table

Screenshot

Screenshot 2024-07-01 at 10 38 45 AM

@TheSussex TheSussex requested a review from a team as a code owner June 26, 2024 14:16
@github-actions github-actions bot added Template::Toolkit The templating toolkit used by product opener. The starting point for HTML/JS/CSS fixes. 🌐 Translations labels Jun 26, 2024
@codecov-commenter
Copy link

codecov-commenter commented Jun 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 49.33%. Comparing base (dc04d18) to head (404bb79).
Report is 446 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #10499      +/-   ##
==========================================
- Coverage   49.54%   49.33%   -0.21%     
==========================================
  Files          67       76       +9     
  Lines       20650    21702    +1052     
  Branches     4980     5208     +228     
==========================================
+ Hits        10231    10707     +476     
- Misses       9131     9681     +550     
- Partials     1288     1314      +26     

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

<td>[% display_date_tag(org.created_t) %]</td>
<td>[% display_date_tag(org.last_logged_member_t) %]</td>
<td>[% org.last_import_type %]</td>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems that you are displaying the wrong value here.
In you screenshot wee can see "Manual import" in the "Last import date" column.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right, the last import data is missing.

<td>[% display_date_tag(org.created_t) %]</td>
<td>[% display_date_tag(org.last_logged_member_t) %]</td>
<td>[% org.last_import_type %]</td>
<td>[% org.creator %]</td>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems that you are displaying the creator instead of the data source of the last import.

Copy link
Contributor

@stephanegigandet stephanegigandet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me

@stephanegigandet stephanegigandet merged commit d7c538f into openfoodfacts:main Jul 2, 2024
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Template::Toolkit The templating toolkit used by product opener. The starting point for HTML/JS/CSS fixes. 🌐 Translations
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants