diff --git a/frontend/eslint.config.mjs b/frontend/eslint.config.mjs index d03472fa03..25d4a80bd1 100644 --- a/frontend/eslint.config.mjs +++ b/frontend/eslint.config.mjs @@ -126,7 +126,15 @@ export default withNuxt({ .append( ...eslintPluginJsonc.configs['flat/recommended-with-json'], { + files: [ '**/*.json' ], rules: { + '@stylistic/no-multiple-empty-lines': [ + 'error', + { + max: 0, + }, + ], + '@stylistic/no-trailing-spaces': 'error', 'jsonc/indent': [ 'error', 4, diff --git a/frontend/i18n/locales/en.json b/frontend/i18n/locales/en.json index 2bb902b0a6..fff09df618 100644 --- a/frontend/i18n/locales/en.json +++ b/frontend/i18n/locales/en.json @@ -5,14 +5,17 @@ }, "beaconchain_homepage": "Beaconchain Homepage", "common": { + "action": { + "try_again": "Try again" + }, "all": "All", "close": "Close", - "error_retry": "An error occurred. Please try again.", "ethereum": "Ethereum", "log_in": "Log in", "no_results": "No results found.", "open_navigation": "Open Navigation", - "side_navigation": "Side Navigation" + "side_navigation": "Side Navigation", + "something_went_wrong": "Something went wrong." }, "footer": { "color_mode": { @@ -776,7 +779,6 @@ "validator_offline": "Validator offline", "validator_offline_reminder": "Validator offline reminder", "withdrawal": "Withdrawal" - }, "heading_webhook": "Edit Webhook", "info_send_via_discord": { @@ -950,7 +952,6 @@ "erc20_token_transfers": { "label": "ERC20 token transfers" }, - "erc721_token_transfers": { "label": "ERC721 token transfers" }, @@ -1230,6 +1231,12 @@ }, "search": { "filter_aria_label": "Filter by type", + "history": { + "action": { + "toggle_history": "Toggle Search History" + }, + "recent": "Search History" + }, "input_label": "Search by Address / Tx hash / Block / Token / ENS", "input_placeholder": "Search anything...", "loading_message": "Loading search results...", diff --git a/frontend/layers/base/app/assets/css/main.css b/frontend/layers/base/app/assets/css/main.css index b6dc529a5a..c94c88786a 100644 --- a/frontend/layers/base/app/assets/css/main.css +++ b/frontend/layers/base/app/assets/css/main.css @@ -140,6 +140,12 @@ } } +@layer reset { + input::-webkit-search-cancel-button { + display: none; + } +} + html { transition-behavior: allow-discrete; interpolate-size: allow-keywords; diff --git a/frontend/layers/base/app/components/BaseButton.vue b/frontend/layers/base/app/components/BaseButton.vue index 2824c2aa41..7ec6901316 100644 --- a/frontend/layers/base/app/components/BaseButton.vue +++ b/frontend/layers/base/app/components/BaseButton.vue @@ -43,7 +43,13 @@ const { :name="leadingIcon" class="" /> - + () +const isButton = computed(() => !to)