Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
4c95bfe
Init project branch
nateweller Nov 14, 2024
91ce2ed
Protect: Refactor AdminSectionHero (#40516)
nateweller Dec 9, 2024
35cd0cf
Restore history header
dkmyta Dec 10, 2024
5ad53b7
Pass status filter presets to consumer
dkmyta Dec 10, 2024
e21bb59
Restore early return
dkmyta Dec 10, 2024
50a5849
Add plan level restrictions
dkmyta Dec 10, 2024
d738a65
Init project branch
nateweller Nov 14, 2024
b93cfa2
Protect: Integrate ThreatsDataViews Component (#40076)
nateweller Dec 5, 2024
19bc943
Separate scan and history DataViews
dkmyta Jan 3, 2025
561ab57
Reapply history routes
dkmyta Jan 3, 2025
13ec8a0
Add filters
dkmyta Jan 3, 2025
996649a
Add toggle group control
dkmyta Jan 3, 2025
5a0871e
Add historic flag
dkmyta Jan 3, 2025
939263c
Update stories
dkmyta Jan 3, 2025
a34d4bd
Remove unneeded filter handling
dkmyta Jan 3, 2025
84a2ebc
Revert unnecessary threats data views updates
dkmyta Jan 3, 2025
1d3733f
Fix import
dkmyta Jan 3, 2025
61ee84d
Include fixer action as label in list view action dropdown
dkmyta Jan 3, 2025
a847325
Add field constants
dkmyta Jan 3, 2025
23b791f
Reorg
dkmyta Jan 3, 2025
9cd5469
Add initialFields prop, update active to current where applicable
dkmyta Jan 6, 2025
ad201c2
Init project branch
nateweller Nov 14, 2024
8960ec6
Fix exports and imports
dkmyta Jan 7, 2025
ec33096
Move default values to function params
nateweller Jan 12, 2025
5ccae12
Fix ts warning
nateweller Jan 12, 2025
dcb2887
minor adjustment to definition of initial filters
nateweller Jan 12, 2025
c8cd20e
Add tsc-expect-error to dummy arg for minification cases
nateweller Jan 12, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Add tsc-expect-error to dummy arg for minification cases
  • Loading branch information
nateweller committed Jan 12, 2025
commit c8cd20ec0d9ebaa75d347a72f4f79b6102d754ec
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,12 @@ const FirewallAdminSectionHero = () => {
if ( status === 'on' ) {
return standaloneMode
? __( 'Standalone mode', 'jetpack-protect' )
: __( 'Active', 'jetpack-protect', 0 );
: __(
'Active',
'jetpack-protect',
// @ts-expect-error TS2554 - dummy arg to avoid bad minification
0
);
}

return __( 'Inactive', 'jetpack-protect' );
Expand All @@ -47,7 +52,8 @@ const FirewallAdminSectionHero = () => {
: __(
'Firewall is on',
'jetpack-protect',
/* dummy arg to avoid bad minification */ 0
// @ts-expect-error TS2554 - dummy arg to avoid bad minification
0
) ) }
</>
);
Expand All @@ -63,7 +69,8 @@ const FirewallAdminSectionHero = () => {
: __(
'Firewall is off',
'jetpack-protect',
/* dummy arg to avoid bad minification */ 0
// @ts-expect-error TS2554 - dummy arg to avoid bad minification
0
) ) }
</>
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ const HomeAdminSectionHero: React.FC = () => {
: __(
'We stay ahead of security vulnerabilities to keep your site protected.',
'jetpack-protect',
/* dummy arg to avoid bad minification */ 0
// @ts-expect-error TS2554 - dummy arg to avoid bad minification
0
) }
</Text>
<Button
Expand Down
Loading