Skip to content

Commit

Permalink
chore(notifications): remove rocketpool table
Browse files Browse the repository at this point in the history
See: BEDS-597
  • Loading branch information
marcel-bitfly authored and peterbitfly committed Oct 17, 2024
1 parent 504c82d commit 605ce2f
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 334 deletions.
1 change: 0 additions & 1 deletion frontend/.vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
"NotificationsManagmentMachines",
"NotificationsNetworkTable",
"NotificationsOverview",
"NotificationsRocketPoolTable",
"a11y",
"checkout",
"ci",
Expand Down
225 changes: 0 additions & 225 deletions frontend/components/notifications/NotificationsRocketPoolTable.vue

This file was deleted.

16 changes: 1 addition & 15 deletions frontend/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -805,19 +805,6 @@
},
"push": "Push"
},
"rocketpool": {
"col": {
"node_address": "Node Address",
"notification": "Notification",
"rocketpool_subscription":"Rocketpool ({count} Subscriptions)"
},
"event_types": {
"collateral_max": "Max collateral reached",
"collateral_min": "Min collateral reached",
"reward_round": "New reward round"
},
"search_placeholder": "Node Address"
},
"subscriptions": {
"accounts": {
"erc20_token_transfers": {
Expand Down Expand Up @@ -906,8 +893,7 @@
"dashboards": "Dashboards",
"general": "General",
"machines": "Machines",
"networks": "Networks",
"rocketpool": "Rocket Pool"
"networks": "Networks"
},
"title": "Notifications"
},
Expand Down
13 changes: 0 additions & 13 deletions frontend/pages/notifications.vue
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ const tabKey = {
dashboards: 'dashboards',
machines: 'machines',
networks: 'networks',
rocketpool: 'rocketpool',
}
const tabs: HashTabs = [
{
Expand All @@ -37,10 +36,6 @@ const tabs: HashTabs = [
key: tabKey.clients,
title: $t('notifications.tabs.clients'),
},
{
key: tabKey.rocketpool,
title: $t('notifications.tabs.rocketpool'),
},
{
icon: faNetworkWired,
key: tabKey.networks,
Expand Down Expand Up @@ -106,14 +101,6 @@ const openManageNotifications = () => {
@open-dialog="openManageNotifications"
/>
</template>
<template #tab-header-icon-rocketpool>
<IconRocketPool />
</template>
<template #[getSlotName(tabKey.rocketpool)]>
<NotificationsRocketPoolTable
@open-dialog="openManageNotifications"
/>
</template>
<template #[getSlotName(tabKey.networks)]>
<NotificationsNetworkTable
@open-dialog="openManageNotifications"
Expand Down
75 changes: 0 additions & 75 deletions frontend/stores/notifications/useNotificationsRocketpoolStore.ts

This file was deleted.

5 changes: 0 additions & 5 deletions frontend/types/customFetch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ export enum API_PATH {
NOTIFICATIONS_MANAGEMENT_SAVE = '/notifications/management/save',
NOTIFICATIONS_NETWORK = '/notifications/networks',
NOTIFICATIONS_OVERVIEW = '/notifications',
NOTIFICATIONS_ROCKETPOOL = '/notifications/rocket_pool',
NOTIFICATIONS_TEST_EMAIL = '/notifications/test_email',
NOTIFICATIONS_TEST_PUSH = '/notifications/test_push',
NOTIFICATIONS_TEST_WEBHOOK = '/users/me/notifications/test_webhook',
Expand Down Expand Up @@ -365,10 +364,6 @@ export const mapping: Record<string, MappingData> = {
mock: false,
path: '/users/me/notifications',
},
[API_PATH.NOTIFICATIONS_ROCKETPOOL]: {
method: 'GET',
path: '/users/me/notifications/rocket-pool',
},
[API_PATH.NOTIFICATIONS_TEST_EMAIL]: {
method: 'POST',
path: '/users/me/notifications/test-email',
Expand Down

0 comments on commit 605ce2f

Please sign in to comment.