feat: сеть (network) для крипто-холдингов

Свободное текстовое поле на холдинге — какой сети принадлежит конкретная
монета (Ethereum, Tron и т.д.), с редактированием прямо в таблице и
разбивкой % по сетям на отдельной вкладке. Помогает увидеть, что часть
стейблкоинов лежит на рискованных сетях и стоит перевести на безопасные.
This commit is contained in:
ZProger
2026-09-09 00:52:11 +03:00
parent 526bfe104d
commit c3047c6d6a
16 changed files with 421 additions and 13 deletions

View File

@@ -128,6 +128,8 @@ const ru = {
"crypto.form.pricePerUnitLabel": "Цена за штуку",
"crypto.form.dateLabel": "Дата",
"crypto.form.noteLabel": "Заметка (необязательно)",
"crypto.form.networkLabel": "Сеть (необязательно)",
"crypto.form.networkPlaceholder": "Например, Ethereum, Tron…",
"crypto.form.addTitle": "Добавить {{name}}",
"crypto.form.tradeTitle": "Сделка: {{name}}",
"crypto.form.editTradeTitle": "Изменить сделку: {{name}}",
@@ -144,6 +146,8 @@ const ru = {
"crypto.table.holdings": "Держите",
"crypto.table.avgBuyPrice": "Ср. цена",
"crypto.table.profitLoss": "Прибыль/убыток",
"crypto.table.network": "Сеть",
"crypto.table.addNetwork": "+ Сеть",
"crypto.table.risk": "Риск",
"crypto.table.actions": "Действия",
"crypto.riskAllocationOfPortfolio": "от крипто-портфеля",
@@ -158,6 +162,8 @@ const ru = {
"crypto.overview.history": "История",
"crypto.overview.allocation": "Аллокация",
"crypto.overview.risk": "Уровни риска",
"crypto.overview.networks": "Сети",
"crypto.networkAllocation.unset": "Сеть не указана",
"crypto.allocation.other": "Другое",
"crypto.stats.allTimeProfit": "Прибыль за всё время",
"crypto.stats.costBasis": "Вложено всего",
@@ -626,6 +632,8 @@ const en: Record<keyof typeof ru, string> = {
"crypto.form.pricePerUnitLabel": "Price per unit",
"crypto.form.dateLabel": "Date",
"crypto.form.noteLabel": "Note (optional)",
"crypto.form.networkLabel": "Network (optional)",
"crypto.form.networkPlaceholder": "e.g. Ethereum, Tron…",
"crypto.form.addTitle": "Add {{name}}",
"crypto.form.tradeTitle": "Trade: {{name}}",
"crypto.form.editTradeTitle": "Edit trade: {{name}}",
@@ -642,6 +650,8 @@ const en: Record<keyof typeof ru, string> = {
"crypto.table.holdings": "Holdings",
"crypto.table.avgBuyPrice": "Avg. Price",
"crypto.table.profitLoss": "Profit/Loss",
"crypto.table.network": "Network",
"crypto.table.addNetwork": "+ Network",
"crypto.table.risk": "Risk",
"crypto.table.actions": "Actions",
"crypto.riskAllocationOfPortfolio": "of crypto portfolio",
@@ -656,6 +666,8 @@ const en: Record<keyof typeof ru, string> = {
"crypto.overview.history": "History",
"crypto.overview.allocation": "Allocation",
"crypto.overview.risk": "Risk levels",
"crypto.overview.networks": "Networks",
"crypto.networkAllocation.unset": "No network set",
"crypto.allocation.other": "Other",
"crypto.stats.allTimeProfit": "All-time profit",
"crypto.stats.costBasis": "Total invested",