mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-14 13:25:12 +00:00
feat(core): adjust filter area style (#12534)
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Added support for displaying the "Add Filter" action as either an icon button or a labeled button, depending on the filter state. - Introduced a localized label for the "Add Filter" button. - **Style** - Improved filter area layout and styling for better visual consistency. - Adjusted padding and added styles to hide empty filter values. - **Bug Fixes** - Updated test identifiers for filter value elements to improve test reliability. - **Documentation** - Added a new English localization string for the "Add Filter" button. - **Chores** - Updated translation completeness percentages for various locales. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
@@ -1,26 +1,26 @@
|
||||
{
|
||||
"ar": 94,
|
||||
"ar": 93,
|
||||
"ca": 4,
|
||||
"da": 4,
|
||||
"de": 94,
|
||||
"el-GR": 94,
|
||||
"de": 93,
|
||||
"el-GR": 93,
|
||||
"en": 100,
|
||||
"es-AR": 94,
|
||||
"es-CL": 95,
|
||||
"es": 94,
|
||||
"fa": 94,
|
||||
"fr": 94,
|
||||
"es-AR": 93,
|
||||
"es-CL": 94,
|
||||
"es": 93,
|
||||
"fa": 93,
|
||||
"fr": 93,
|
||||
"hi": 2,
|
||||
"it-IT": 94,
|
||||
"it-IT": 93,
|
||||
"it": 1,
|
||||
"ja": 94,
|
||||
"ja": 93,
|
||||
"ko": 54,
|
||||
"pl": 94,
|
||||
"pt-BR": 94,
|
||||
"ru": 94,
|
||||
"sv-SE": 94,
|
||||
"uk": 94,
|
||||
"pl": 93,
|
||||
"pt-BR": 93,
|
||||
"ru": 93,
|
||||
"sv-SE": 93,
|
||||
"uk": 93,
|
||||
"ur": 2,
|
||||
"zh-Hans": 94,
|
||||
"zh-Hant": 94
|
||||
"zh-Hans": 93,
|
||||
"zh-Hant": 93
|
||||
}
|
||||
|
||||
@@ -2073,6 +2073,10 @@ export function useAFFiNEI18N(): {
|
||||
* `Filter`
|
||||
*/
|
||||
["com.affine.filter"](): string;
|
||||
/**
|
||||
* `Add Filter Rule`
|
||||
*/
|
||||
["com.affine.filter.add-filter"](): string;
|
||||
/**
|
||||
* `after`
|
||||
*/
|
||||
|
||||
@@ -517,6 +517,7 @@
|
||||
"com.affine.favoritePageOperation.add": "Add to favourites",
|
||||
"com.affine.favoritePageOperation.remove": "Remove from favourites",
|
||||
"com.affine.filter": "Filter",
|
||||
"com.affine.filter.add-filter": "Add Filter Rule",
|
||||
"com.affine.filter.after": "after",
|
||||
"com.affine.filter.before": "before",
|
||||
"com.affine.filter.contains all": "contains all",
|
||||
|
||||
Reference in New Issue
Block a user