Przeglądaj źródła

Merge pull request #28631 from overleaf/msm-group-audit-log-filter

[web] Group Audit Log filter/pagination

GitOrigin-RevId: 440ad8bef3d1734613884a4e252350eee603af27
Miguel Serrano 10 miesięcy temu
rodzic
commit
3bba9c9fb7

+ 6 - 1
services/web/frontend/extracted-translations.json

@@ -126,6 +126,7 @@
   "alignment": "",
   "all": "",
   "all_borders": "",
+  "all_events": "",
   "all_features_in_group_standard_plus": "",
   "all_logs": "",
   "all_premium_features": "",
@@ -268,6 +269,7 @@
   "cite_directly_or_import_references": "",
   "cite_faster": "",
   "clear_cached_files": "",
+  "clear_filters": "",
   "clear_search": "",
   "clearing": "",
   "click_here_to_view_sl_in_lng": "",
@@ -543,6 +545,7 @@
   "enables_real_time_syntax_checking_in_the_editor": "",
   "enabling": "",
   "end_of_document": "",
+  "end_time_utc": "",
   "ensure_recover_account": "",
   "enter_any_size_including_units_or_valid_latex_command": "",
   "enter_the_code": "",
@@ -559,6 +562,7 @@
   "error_processing_file": "",
   "errors": "",
   "essential_cookies_only": "",
+  "event_type": "",
   "example_project": "",
   "existing_plan_active_until_term_end": "",
   "expand": "",
@@ -576,6 +580,7 @@
   "fair_usage_policy_applies": "",
   "fast": "",
   "fast_draft": "",
+  "feature_enabled_or_disabled": "",
   "features_like_track_changes": "",
   "feedback": "",
   "figure": "",
@@ -1181,7 +1186,6 @@
   "open_pdf_in_separate_tab": "",
   "open_project": "",
   "open_target": "",
-  "operation": "",
   "optional": "",
   "or": "",
   "organization_name": "",
@@ -1712,6 +1716,7 @@
   "start_free_trial": "",
   "start_free_trial_without_exclamation": "",
   "start_the_conversation_by_saying_hello_or_sharing_an_update": "",
+  "start_time_utc": "",
   "start_typing_find_your_company": "",
   "start_typing_find_your_organization": "",
   "start_typing_find_your_university": "",

+ 1 - 2
services/web/frontend/js/utils/meta.ts

@@ -64,7 +64,6 @@ import type { ScriptLogType } from '../../../modules/admin-panel/frontend/js/fea
 import { ActiveExperiment } from './labs-utils'
 import { Subscription as AdminSubscription } from '../../../types/admin/subscription'
 import { AdminCapability } from '../../../types/admin-capabilities'
-import { GroupAuditLog } from '../../../modules/group-audit-log/frontend/js/components/logs'
 import { AlgoliaConfig } from '../../../modules/algolia-search/frontend/js/types'
 import { WritefullPublicEnv } from '@wf/domain/writefull-public-env'
 
@@ -188,7 +187,6 @@ export interface Meta {
   'ol-legacyEditorThemes': string[]
   'ol-licenseQuantity'?: number
   'ol-loadingText': string
-  'ol-logsForRendering': GroupAuditLog[]
   'ol-managedGroupSubscriptions': ManagedGroupSubscription[]
   'ol-managedInstitutions': ManagedInstitution[]
   'ol-managedPublishers': Publisher[]
@@ -257,6 +255,7 @@ export interface Meta {
   'ol-showAiErrorAssistant': boolean
   'ol-showBrlGeoBanner': boolean
   'ol-showCouponField': boolean
+  'ol-showFilters': boolean
   'ol-showGroupDiscount': boolean
   'ol-showGroupsAndEnterpriseBanner': boolean
   'ol-showInrGeoBanner': boolean

+ 7 - 0
services/web/locales/en.json

@@ -150,6 +150,7 @@
   "alignment": "Alignment",
   "all": "All",
   "all_borders": "All borders",
+  "all_events": "All events",
   "all_features_in_group_standard_plus": "All features in Group Standard, plus:",
   "all_logs": "All logs",
   "all_premium_features": "All premium features",
@@ -176,6 +177,7 @@
   "anyone_with_link_can_view": "Anyone with this link can view this project",
   "app_on_x": "__appName__ on __social__",
   "appearance": "Appearance",
+  "apply": "Apply ",
   "apply_educational_discount": "Apply educational discount",
   "apply_educational_discount_description": "40% discount for groups using __appName__ for teaching",
   "apply_educational_discount_description_with_group_discount": "Get a total of 40% off for groups using __appName__ for teaching",
@@ -340,6 +342,7 @@
   "cite_faster": "Cite faster",
   "city": "City",
   "clear_cached_files": "Clear cached files",
+  "clear_filters": "Clear filters",
   "clear_search": "clear search",
   "clear_sessions": "Clear sessions",
   "clear_sessions_description": "This is a list of other sessions (logins) which are active on your account, not including your current session. Click the \"Clear sessions\" button below to log them out.",
@@ -694,6 +697,7 @@
   "enables_real_time_syntax_checking_in_the_editor": "Enables real-time syntax checking in the editor",
   "enabling": "Enabling",
   "end_of_document": "End of document",
+  "end_time_utc": "End time (UTC)",
   "ensure_recover_account": "This will ensure that it can be used to recover your __appName__ account in case you lose access to your primary email address.",
   "enter_any_size_including_units_or_valid_latex_command": "Enter any size (including units) or valid LaTeX command",
   "enter_the_code": "Enter the 6-digit code sent to __email__.",
@@ -715,6 +719,7 @@
   "es": "Spanish",
   "essential_cookies_only": "Essential cookies only",
   "estimated_number_of_overleaf_users": "Estimated number of __appName__ users",
+  "event_type": "Event type",
   "every": "per",
   "everything_in_free_plus": "Everything in Free, plus…",
   "everything_in_group_professional_plus": "Everything in Group Professional, plus…",
@@ -746,6 +751,7 @@
   "fast": "Fast",
   "fast_draft": "Fast [draft]",
   "fastest": "Fastest",
+  "feature_enabled_or_disabled": "Feature enabled/disabled",
   "feature_included": "Feature included",
   "feature_not_included": "Feature not included",
   "featured": "Featured",
@@ -2193,6 +2199,7 @@
   "start_free_trial": "Start Free Trial!",
   "start_free_trial_without_exclamation": "Start Free Trial",
   "start_the_conversation_by_saying_hello_or_sharing_an_update": "Start the conversation by saying hello or sharing an update",
+  "start_time_utc": "Start time (UTC)",
   "start_typing_find_your_company": " Start typing to find your company",
   "start_typing_find_your_organization": "Start typing to find your organization",
   "start_typing_find_your_university": "Start typing to find your university",