Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(notifications): remove rocketpool table #969

Merged
merged 1 commit into from
Oct 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
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
Loading