From b2d2bc78eeb5fd0360738f18d568e3a8f49034dc Mon Sep 17 00:00:00 2001
From: samaradel
Date: Tue, 28 May 2024 12:00:10 +0300
Subject: [PATCH 1/5] Apply vuetify default conf for buttons
---
packages/playground/src/App.vue | 4 ++-
.../playground/src/components/TfSwapPrice.vue | 2 +-
.../playground/src/components/app_info.vue | 4 +--
.../playground/src/components/app_theme.vue | 7 +++-
.../src/components/connect_wallet_landing.vue | 6 ++--
.../contracts_list/contracts_table.vue | 15 +++-----
.../src/components/deployment_data_dialog.vue | 8 ++---
.../src/components/deposit_dialog.vue | 4 +--
.../src/components/expandable_layout.vue | 9 +----
packages/playground/src/components/filter.vue | 1 -
.../playground/src/components/funds_card.vue | 6 ++--
.../src/components/k8s_deployment_table.vue | 2 +-
.../src/components/logged_in_landing.vue | 4 +--
packages/playground/src/components/logger.vue | 4 +--
.../playground/src/components/main_footer.vue | 4 +--
.../manage_caprover_worker_dialog.vue | 2 +-
.../src/components/manage_gateway_dialog.vue | 6 ++--
.../src/components/manage_worker_dialog.vue | 25 ++++++-------
.../src/components/node_details.vue | 6 ++--
.../node_details_cards/gpu_details_card.vue | 2 +-
.../src/components/node_resources_charts.vue | 4 +--
.../ssh_keys/ManageSshDeployemnt.vue | 9 +----
.../src/components/ssh_keys/SshDataDialog.vue | 4 +--
.../src/components/ssh_keys/SshFormDialog.vue | 3 +-
.../src/components/ssh_keys/SshTable.vue | 2 --
.../src/components/vm_deployment_table.vue | 2 +-
.../src/components/weblet_layout.vue | 14 ++++----
.../src/components/withdraw_dialog.vue | 3 +-
.../playground/src/dashboard/bridge_view.vue | 6 ++--
.../components/NodeMintingDetails.vue | 4 +--
.../src/dashboard/components/add_ip.vue | 9 ++---
.../src/dashboard/components/create_farm.vue | 18 ++++------
.../dashboard/components/public_config.vue | 6 +---
.../dashboard/components/public_ips_table.vue | 4 +--
.../components/reserve_action_btn.vue | 4 +--
.../dashboard/components/set_extra_fee.vue | 3 +-
.../src/dashboard/components/user_farms.vue | 11 ++----
.../playground/src/dashboard/dao_view.vue | 17 +++------
.../src/dashboard/transfer_view.vue | 35 +++++++++++--------
.../playground/src/dashboard/twin_view.vue | 21 +++++------
packages/playground/src/plugins/vuetify.ts | 8 +++++
packages/playground/src/views/farms.vue | 4 +--
.../playground/src/views/page_not_found.vue | 4 +--
packages/playground/src/views/sshkey_view.vue | 3 --
packages/playground/src/weblets/freeflow.vue | 2 +-
packages/playground/src/weblets/full_vm.vue | 2 +-
packages/playground/src/weblets/micro_vm.vue | 2 +-
.../src/weblets/profile_manager.vue | 2 --
.../playground/src/weblets/tf_algorand.vue | 2 +-
.../playground/src/weblets/tf_caprover.vue | 2 +-
.../playground/src/weblets/tf_casperlabs.vue | 2 +-
.../src/weblets/tf_contracts_list.vue | 12 +++----
.../src/weblets/tf_deployment_list.vue | 7 ++--
.../playground/src/weblets/tf_discourse.vue | 9 +++--
.../playground/src/weblets/tf_funkwhale.vue | 2 +-
.../playground/src/weblets/tf_kubernetes.vue | 2 +-
.../playground/src/weblets/tf_mattermost.vue | 9 +++--
.../playground/src/weblets/tf_nextcloud.vue | 2 +-
.../playground/src/weblets/tf_node_pilot.vue | 2 +-
.../playground/src/weblets/tf_owncloud.vue | 2 +-
.../playground/src/weblets/tf_peertube.vue | 2 +-
.../playground/src/weblets/tf_presearch.vue | 2 +-
.../src/weblets/tf_staticwebsite.vue | 2 +-
.../playground/src/weblets/tf_subsquid.vue | 6 ++--
packages/playground/src/weblets/tf_taiga.vue | 9 +++--
packages/playground/src/weblets/tf_umbrel.vue | 2 +-
.../playground/src/weblets/tf_wordpress.vue | 2 +-
67 files changed, 179 insertions(+), 226 deletions(-)
diff --git a/packages/playground/src/App.vue b/packages/playground/src/App.vue
index 955db1b6fa..a7202dd780 100644
--- a/packages/playground/src/App.vue
+++ b/packages/playground/src/App.vue
@@ -128,7 +128,9 @@
- {{ network }}net
+
+ {{ network }}net
+
diff --git a/packages/playground/src/components/TfSwapPrice.vue b/packages/playground/src/components/TfSwapPrice.vue
index eb2123d152..491b88581d 100644
--- a/packages/playground/src/components/TfSwapPrice.vue
+++ b/packages/playground/src/components/TfSwapPrice.vue
@@ -9,7 +9,7 @@
class="mx-1 order-1"
@click="priceTask.error ? priceTask.run() : toggleSwap()"
:loading="priceTask.loading"
- :color="priceTask.error ? 'error' : undefined"
+ :color="priceTask.error ? 'error' : 'anchor'"
v-bind="props"
/>
diff --git a/packages/playground/src/components/app_info.vue b/packages/playground/src/components/app_info.vue
index 1167d9e57f..7563fa2799 100644
--- a/packages/playground/src/components/app_info.vue
+++ b/packages/playground/src/components/app_info.vue
@@ -1,7 +1,7 @@
-
+
@@ -24,7 +24,7 @@
- Close
+ Close
diff --git a/packages/playground/src/components/app_theme.vue b/packages/playground/src/components/app_theme.vue
index d89998cf8d..b7ac9582a2 100644
--- a/packages/playground/src/components/app_theme.vue
+++ b/packages/playground/src/components/app_theme.vue
@@ -1,7 +1,12 @@
-
+
diff --git a/packages/playground/src/components/connect_wallet_landing.vue b/packages/playground/src/components/connect_wallet_landing.vue
index a262aec081..ae41dc1bc0 100644
--- a/packages/playground/src/components/connect_wallet_landing.vue
+++ b/packages/playground/src/components/connect_wallet_landing.vue
@@ -56,7 +56,7 @@
- Explore ThreeFold Grid Capacity
+ Explore ThreeFold Grid Capacity
@@ -67,9 +67,7 @@
Metaverse and more.
-
- Learn about the grid
-
+ Learn about the grid
diff --git a/packages/playground/src/components/contracts_list/contracts_table.vue b/packages/playground/src/components/contracts_list/contracts_table.vue
index cfaa87a5aa..1f129df50b 100644
--- a/packages/playground/src/components/contracts_list/contracts_table.vue
+++ b/packages/playground/src/components/contracts_list/contracts_table.vue
@@ -113,13 +113,11 @@
v-if="Object.keys(props.lockedContracts).length > 0"
:disabled="!selectedLockedContracts"
color="warning"
- variant="outlined"
@click="openUnlockDialog"
>Unlock
-
- Close
-
+ Close
- Cancel
- Delete
+ Cancel
+ Delete
@@ -251,7 +245,7 @@
- Cancel
+ Cancel
freeBalance"
color="warning"
- variant="outlined"
class="ml-2"
:loading="unlockContractLoading"
@click="
diff --git a/packages/playground/src/components/deployment_data_dialog.vue b/packages/playground/src/components/deployment_data_dialog.vue
index 3d1ed40522..aa01bc22d0 100644
--- a/packages/playground/src/components/deployment_data_dialog.vue
+++ b/packages/playground/src/components/deployment_data_dialog.vue
@@ -5,8 +5,8 @@
- details
- JSON
+ details
+ JSON
@@ -113,8 +113,8 @@
- Close
- Copy
+ Close
+ Copy
diff --git a/packages/playground/src/components/deposit_dialog.vue b/packages/playground/src/components/deposit_dialog.vue
index f39fd43722..feab00a518 100644
--- a/packages/playground/src/components/deposit_dialog.vue
+++ b/packages/playground/src/components/deposit_dialog.vue
@@ -71,8 +71,8 @@
- Close
-
+ Close
+
diff --git a/packages/playground/src/components/expandable_layout.vue b/packages/playground/src/components/expandable_layout.vue
index 752c7ef1a1..d12648e00e 100644
--- a/packages/playground/src/components/expandable_layout.vue
+++ b/packages/playground/src/components/expandable_layout.vue
@@ -5,14 +5,7 @@
-
+
diff --git a/packages/playground/src/components/filter.vue b/packages/playground/src/components/filter.vue
index 3653c9474b..09f4b62e54 100644
--- a/packages/playground/src/components/filter.vue
+++ b/packages/playground/src/components/filter.vue
@@ -55,7 +55,6 @@
diff --git a/packages/playground/src/components/funds_card.vue b/packages/playground/src/components/funds_card.vue
index bd06ffaacb..4586fc9129 100644
--- a/packages/playground/src/components/funds_card.vue
+++ b/packages/playground/src/components/funds_card.vue
@@ -3,11 +3,9 @@
@@ -17,7 +15,7 @@
Get TFT on Stellar using BTC or Credit card, then you can bridge it to your tfchain account using the Bridge in
the dashboard section.
- mdi-information-outline
diff --git a/packages/playground/src/components/k8s_deployment_table.vue b/packages/playground/src/components/k8s_deployment_table.vue
index db595ae2d9..e376042e7a 100644
--- a/packages/playground/src/components/k8s_deployment_table.vue
+++ b/packages/playground/src/components/k8s_deployment_table.vue
@@ -50,7 +50,7 @@
- Close
+ Close
diff --git a/packages/playground/src/components/logged_in_landing.vue b/packages/playground/src/components/logged_in_landing.vue
index a90f8d50a9..6f977df557 100644
--- a/packages/playground/src/components/logged_in_landing.vue
+++ b/packages/playground/src/components/logged_in_landing.vue
@@ -74,9 +74,7 @@
-
- Learn about the grid
-
+ Learn about the grid
diff --git a/packages/playground/src/components/logger.vue b/packages/playground/src/components/logger.vue
index b900d1f03a..e2bc3249f2 100644
--- a/packages/playground/src/components/logger.vue
+++ b/packages/playground/src/components/logger.vue
@@ -82,8 +82,8 @@
-
-
+
+
diff --git a/packages/playground/src/components/main_footer.vue b/packages/playground/src/components/main_footer.vue
index 7ce298bc81..b5ad597aa1 100644
--- a/packages/playground/src/components/main_footer.vue
+++ b/packages/playground/src/components/main_footer.vue
@@ -21,13 +21,13 @@
href="https://github.com/threefoldtech/tfgrid-sdk-ts"
target="_blank"
:style="{ color: 'rgb(var(--v-footer-color-link)) !important' }"
- >
diff --git a/packages/playground/src/components/manage_caprover_worker_dialog.vue b/packages/playground/src/components/manage_caprover_worker_dialog.vue
index 027b4ddf69..1089897de7 100644
--- a/packages/playground/src/components/manage_caprover_worker_dialog.vue
+++ b/packages/playground/src/components/manage_caprover_worker_dialog.vue
@@ -72,7 +72,7 @@
- Close
+ Close
diff --git a/packages/playground/src/components/manage_gateway_dialog.vue b/packages/playground/src/components/manage_gateway_dialog.vue
index 6678598755..25f7b1c17d 100644
--- a/packages/playground/src/components/manage_gateway_dialog.vue
+++ b/packages/playground/src/components/manage_gateway_dialog.vue
@@ -170,17 +170,16 @@
- Close
+ Close
Delete
- Add
+ Add
@@ -199,7 +198,6 @@
- List
- Deploy
+ List
+ Deploy
@@ -25,10 +25,9 @@
- Close
+ Close
Delete
-
+
Deploy
@@ -59,8 +52,8 @@
- Cancel
- Remove
+ Cancel
+ Remove
@@ -69,7 +62,11 @@
diff --git a/packages/playground/src/weblets/tf_funkwhale.vue b/packages/playground/src/weblets/tf_funkwhale.vue
index 1d4ae6a8ce..17efb36cc4 100644
--- a/packages/playground/src/weblets/tf_funkwhale.vue
+++ b/packages/playground/src/weblets/tf_funkwhale.vue
@@ -117,7 +117,7 @@
-
+
diff --git a/packages/playground/src/weblets/tf_kubernetes.vue b/packages/playground/src/weblets/tf_kubernetes.vue
index fe899ccfcc..7b338d5ed1 100644
--- a/packages/playground/src/weblets/tf_kubernetes.vue
+++ b/packages/playground/src/weblets/tf_kubernetes.vue
@@ -76,7 +76,7 @@
-
+
diff --git a/packages/playground/src/weblets/tf_mattermost.vue b/packages/playground/src/weblets/tf_mattermost.vue
index 024eb7af5d..0a8a805d7d 100644
--- a/packages/playground/src/weblets/tf_mattermost.vue
+++ b/packages/playground/src/weblets/tf_mattermost.vue
@@ -74,7 +74,7 @@
-
+
@@ -250,6 +250,11 @@ import rootFs from "../utils/root_fs";
export default {
name: "TfMattermost",
- components: { SmtpServer, SelectSolutionFlavor, Networks, ManageSshDeployemnt },
+ components: {
+ SmtpServer,
+ SelectSolutionFlavor,
+ Networks,
+ ManageSshDeployemnt,
+ },
};
diff --git a/packages/playground/src/weblets/tf_nextcloud.vue b/packages/playground/src/weblets/tf_nextcloud.vue
index 6c711a035f..13fdd48939 100644
--- a/packages/playground/src/weblets/tf_nextcloud.vue
+++ b/packages/playground/src/weblets/tf_nextcloud.vue
@@ -64,7 +64,7 @@
-
+
diff --git a/packages/playground/src/weblets/tf_node_pilot.vue b/packages/playground/src/weblets/tf_node_pilot.vue
index cd344575cc..427c1a8dbe 100644
--- a/packages/playground/src/weblets/tf_node_pilot.vue
+++ b/packages/playground/src/weblets/tf_node_pilot.vue
@@ -61,7 +61,7 @@
-
+
diff --git a/packages/playground/src/weblets/tf_owncloud.vue b/packages/playground/src/weblets/tf_owncloud.vue
index e7e22c2440..664094bbda 100644
--- a/packages/playground/src/weblets/tf_owncloud.vue
+++ b/packages/playground/src/weblets/tf_owncloud.vue
@@ -114,7 +114,7 @@
-
+
diff --git a/packages/playground/src/weblets/tf_peertube.vue b/packages/playground/src/weblets/tf_peertube.vue
index ca75c06f3d..a9dbe8bb0b 100644
--- a/packages/playground/src/weblets/tf_peertube.vue
+++ b/packages/playground/src/weblets/tf_peertube.vue
@@ -91,7 +91,7 @@
-
+
diff --git a/packages/playground/src/weblets/tf_presearch.vue b/packages/playground/src/weblets/tf_presearch.vue
index 0bcd78da2f..7127a05817 100644
--- a/packages/playground/src/weblets/tf_presearch.vue
+++ b/packages/playground/src/weblets/tf_presearch.vue
@@ -99,7 +99,7 @@
-
+
diff --git a/packages/playground/src/weblets/tf_staticwebsite.vue b/packages/playground/src/weblets/tf_staticwebsite.vue
index 4e123ab7d2..b662ce2c82 100644
--- a/packages/playground/src/weblets/tf_staticwebsite.vue
+++ b/packages/playground/src/weblets/tf_staticwebsite.vue
@@ -93,7 +93,7 @@
-
+
diff --git a/packages/playground/src/weblets/tf_subsquid.vue b/packages/playground/src/weblets/tf_subsquid.vue
index 6a12be674b..79e6d2a708 100644
--- a/packages/playground/src/weblets/tf_subsquid.vue
+++ b/packages/playground/src/weblets/tf_subsquid.vue
@@ -34,7 +34,9 @@
:value="endpoint"
:rules="[
validators.required('Endpoint is required.'),
- validators.isURL('Please provide a valid endpoint.', { protocols: ['wss'] }),
+ validators.isURL('Please provide a valid endpoint.', {
+ protocols: ['wss'],
+ }),
]"
#="{ props }"
>
@@ -77,7 +79,7 @@
-
+
diff --git a/packages/playground/src/weblets/tf_taiga.vue b/packages/playground/src/weblets/tf_taiga.vue
index 254fcea4e7..e85d812a75 100644
--- a/packages/playground/src/weblets/tf_taiga.vue
+++ b/packages/playground/src/weblets/tf_taiga.vue
@@ -125,7 +125,7 @@
-
+
@@ -306,6 +306,11 @@ import rootFs from "../utils/root_fs";
export default {
name: "TfTaiga",
- components: { SmtpServer, SelectSolutionFlavor, Networks, ManageSshDeployemnt },
+ components: {
+ SmtpServer,
+ SelectSolutionFlavor,
+ Networks,
+ ManageSshDeployemnt,
+ },
};
diff --git a/packages/playground/src/weblets/tf_umbrel.vue b/packages/playground/src/weblets/tf_umbrel.vue
index af73144676..4c7ea189af 100644
--- a/packages/playground/src/weblets/tf_umbrel.vue
+++ b/packages/playground/src/weblets/tf_umbrel.vue
@@ -111,7 +111,7 @@
-
+
diff --git a/packages/playground/src/weblets/tf_wordpress.vue b/packages/playground/src/weblets/tf_wordpress.vue
index e4f7ce353c..c0742e8ce7 100644
--- a/packages/playground/src/weblets/tf_wordpress.vue
+++ b/packages/playground/src/weblets/tf_wordpress.vue
@@ -118,7 +118,7 @@
-
+
From ae08ecb0d7efb8501122ee15b9bb728b585d07d2 Mon Sep 17 00:00:00 2001
From: samaradel
Date: Tue, 28 May 2024 15:50:12 +0300
Subject: [PATCH 2/5] Apply vuetify default conf for chips
---
.../src/components/contracts_list/contracts_table.vue | 8 ++++----
.../playground/src/components/k8s_deployment_table.vue | 4 +---
.../src/components/manage_gateway_dialog.vue | 5 ++---
.../playground/src/components/manage_worker_dialog.vue | 2 +-
packages/playground/src/components/networks.vue | 10 +++++-----
.../src/components/ssh_keys/SshDataDialog.vue | 6 +++---
.../playground/src/components/ssh_keys/SshTable.vue | 2 +-
.../playground/src/components/vm_deployment_table.vue | 4 +---
.../src/dashboard/components/NodeMintingDetails.vue | 2 +-
.../src/dashboard/components/public_ips_table.vue | 2 +-
packages/playground/src/plugins/vuetify.ts | 6 ++++++
packages/playground/src/views/orchestrators_view.vue | 4 +---
packages/playground/src/views/solutions_view.vue | 9 +--------
packages/playground/src/views/vms_view.vue | 4 +---
packages/playground/src/weblets/tf_deployment_list.vue | 2 +-
15 files changed, 30 insertions(+), 40 deletions(-)
diff --git a/packages/playground/src/components/contracts_list/contracts_table.vue b/packages/playground/src/components/contracts_list/contracts_table.vue
index 1f129df50b..92cba8e377 100644
--- a/packages/playground/src/components/contracts_list/contracts_table.vue
+++ b/packages/playground/src/components/contracts_list/contracts_table.vue
@@ -203,7 +203,7 @@
Deleting contracts may take a while to complete.
-
+
{{ c.contract_id }}
@@ -236,11 +236,11 @@
You need to fund your account with
- {{ Math.ceil(selectedLockedAmount - freeBalance) }} TFTs to resume
- your contracts
+ {{ Math.ceil(selectedLockedAmount - freeBalance) }} TFTs
+ to resume your contracts
-
+
{{ c.contract_id }}
diff --git a/packages/playground/src/components/k8s_deployment_table.vue b/packages/playground/src/components/k8s_deployment_table.vue
index e376042e7a..d56b0089a8 100644
--- a/packages/playground/src/components/k8s_deployment_table.vue
+++ b/packages/playground/src/components/k8s_deployment_table.vue
@@ -120,9 +120,7 @@
-
- Deleting...
-
+ Deleting...
diff --git a/packages/playground/src/components/manage_gateway_dialog.vue b/packages/playground/src/components/manage_gateway_dialog.vue
index 25f7b1c17d..e8608042f5 100644
--- a/packages/playground/src/components/manage_gateway_dialog.vue
+++ b/packages/playground/src/components/manage_gateway_dialog.vue
@@ -188,7 +188,7 @@
Are you sure you want to delete the following gateways?
-
+
{{ gw.name }}
@@ -196,9 +196,9 @@
+ Cancel
{
@@ -208,7 +208,6 @@
"
>Delete
- Cancel
diff --git a/packages/playground/src/components/manage_worker_dialog.vue b/packages/playground/src/components/manage_worker_dialog.vue
index 0b01d58abf..b9df10ebab 100644
--- a/packages/playground/src/components/manage_worker_dialog.vue
+++ b/packages/playground/src/components/manage_worker_dialog.vue
@@ -46,7 +46,7 @@
Are you sure you want to delete the following workers?
-
+
{{ w.name }}
diff --git a/packages/playground/src/components/networks.vue b/packages/playground/src/components/networks.vue
index 83ed52dc33..d7b651b7a3 100644
--- a/packages/playground/src/components/networks.vue
+++ b/packages/playground/src/components/networks.vue
@@ -7,11 +7,11 @@
- IPV4
- IPV6
- Planetary
- Mycelium
- Wireguard
+ IPV4
+ IPV6
+ Planetary
+ Mycelium
+ Wireguard
- Active
- Inactive
+ Active
+ Inactive
- {{ selectedKey.createdAt }}
+ {{ selectedKey.createdAt }}
diff --git a/packages/playground/src/components/ssh_keys/SshTable.vue b/packages/playground/src/components/ssh_keys/SshTable.vue
index e845292300..007f91262d 100644
--- a/packages/playground/src/components/ssh_keys/SshTable.vue
+++ b/packages/playground/src/components/ssh_keys/SshTable.vue
@@ -26,7 +26,7 @@
-
+
{{ item.createdAt }}
diff --git a/packages/playground/src/components/vm_deployment_table.vue b/packages/playground/src/components/vm_deployment_table.vue
index 976007fd90..da668e65b8 100644
--- a/packages/playground/src/components/vm_deployment_table.vue
+++ b/packages/playground/src/components/vm_deployment_table.vue
@@ -116,9 +116,7 @@
{{ toHumanDate(item.created) }}
-
- Deleting...
-
+ Deleting...
diff --git a/packages/playground/src/dashboard/components/NodeMintingDetails.vue b/packages/playground/src/dashboard/components/NodeMintingDetails.vue
index 7deaa29c6c..1a287ed7a4 100644
--- a/packages/playground/src/dashboard/components/NodeMintingDetails.vue
+++ b/packages/playground/src/dashboard/components/NodeMintingDetails.vue
@@ -28,7 +28,7 @@
- Minting Details{{ receipt.type }}
diff --git a/packages/playground/src/dashboard/components/public_ips_table.vue b/packages/playground/src/dashboard/components/public_ips_table.vue
index b6610713be..46e9bb98f5 100644
--- a/packages/playground/src/dashboard/components/public_ips_table.vue
+++ b/packages/playground/src/dashboard/components/public_ips_table.vue
@@ -45,7 +45,7 @@
Delete the following IPs?
-
+
{{ item.ip }}
diff --git a/packages/playground/src/plugins/vuetify.ts b/packages/playground/src/plugins/vuetify.ts
index 86f7488b1f..241fd4748b 100644
--- a/packages/playground/src/plugins/vuetify.ts
+++ b/packages/playground/src/plugins/vuetify.ts
@@ -27,8 +27,14 @@ const defaults = {
VBtn: {
variant: "outlined",
color: "primary",
+ size: "small",
},
},
+ VChip: {
+ variant: "tonal",
+ color: "primary",
+ size: "small",
+ },
};
const vuetify = createVuetify({
diff --git a/packages/playground/src/views/orchestrators_view.vue b/packages/playground/src/views/orchestrators_view.vue
index d73786026b..f62e96691a 100644
--- a/packages/playground/src/views/orchestrators_view.vue
+++ b/packages/playground/src/views/orchestrators_view.vue
@@ -18,9 +18,7 @@
/>
{{ card.title }}
-
- Community
-
+ Community
{{ card.excerpt }}
diff --git a/packages/playground/src/views/solutions_view.vue b/packages/playground/src/views/solutions_view.vue
index e03ffe4735..7faa6c5e37 100644
--- a/packages/playground/src/views/solutions_view.vue
+++ b/packages/playground/src/views/solutions_view.vue
@@ -19,14 +19,7 @@
/>
{{ card.title }}
-
+
{{ tag }}
diff --git a/packages/playground/src/views/vms_view.vue b/packages/playground/src/views/vms_view.vue
index f4bcdb8f85..a60cce9865 100644
--- a/packages/playground/src/views/vms_view.vue
+++ b/packages/playground/src/views/vms_view.vue
@@ -18,9 +18,7 @@
/>
{{ card.title }}
-
- Community
-
+ Community
{{ card.excerpt }}
diff --git a/packages/playground/src/weblets/tf_deployment_list.vue b/packages/playground/src/weblets/tf_deployment_list.vue
index ccbd8cf562..3007050a34 100644
--- a/packages/playground/src/weblets/tf_deployment_list.vue
+++ b/packages/playground/src/weblets/tf_deployment_list.vue
@@ -341,7 +341,7 @@
Delete the following deployments?
-
+
{{ item.deploymentName }}
From c30c991bca4f18b5eea14afd0d4962093850a527 Mon Sep 17 00:00:00 2001
From: samaradel
Date: Tue, 28 May 2024 16:50:47 +0300
Subject: [PATCH 3/5] Apply vuetify default conf for dialog
---
.../src/components/contracts_list/contracts_table.vue | 2 +-
.../playground/src/components/deployment_data_dialog.vue | 2 +-
packages/playground/src/components/deposit_dialog.vue | 7 +------
.../playground/src/components/k8s_deployment_table.vue | 2 +-
.../playground/src/components/manage_gateway_dialog.vue | 1 -
.../playground/src/components/manage_worker_dialog.vue | 1 -
packages/playground/src/components/node_details.vue | 1 -
.../src/components/ssh_keys/ManageSshDeployemnt.vue | 2 +-
.../playground/src/components/ssh_keys/SshDataDialog.vue | 2 +-
.../playground/src/components/ssh_keys/SshFormDialog.vue | 2 +-
packages/playground/src/components/withdraw_dialog.vue | 2 +-
packages/playground/src/plugins/vuetify.ts | 3 +++
packages/playground/src/views/sshkey_view.vue | 1 +
packages/playground/src/weblets/profile_manager.vue | 2 +-
14 files changed, 13 insertions(+), 17 deletions(-)
diff --git a/packages/playground/src/components/contracts_list/contracts_table.vue b/packages/playground/src/components/contracts_list/contracts_table.vue
index 92cba8e377..f55eb67de1 100644
--- a/packages/playground/src/components/contracts_list/contracts_table.vue
+++ b/packages/playground/src/components/contracts_list/contracts_table.vue
@@ -215,7 +215,7 @@
-
+
Unlock the following Contracts
diff --git a/packages/playground/src/components/deployment_data_dialog.vue b/packages/playground/src/components/deployment_data_dialog.vue
index aa01bc22d0..65eda9560f 100644
--- a/packages/playground/src/components/deployment_data_dialog.vue
+++ b/packages/playground/src/components/deployment_data_dialog.vue
@@ -1,6 +1,6 @@
-
+
diff --git a/packages/playground/src/components/deposit_dialog.vue b/packages/playground/src/components/deposit_dialog.vue
index feab00a518..71a915237e 100644
--- a/packages/playground/src/components/deposit_dialog.vue
+++ b/packages/playground/src/components/deposit_dialog.vue
@@ -1,11 +1,6 @@
-
+
Deposit TFT
diff --git a/packages/playground/src/components/k8s_deployment_table.vue b/packages/playground/src/components/k8s_deployment_table.vue
index d56b0089a8..58bd2870ab 100644
--- a/packages/playground/src/components/k8s_deployment_table.vue
+++ b/packages/playground/src/components/k8s_deployment_table.vue
@@ -17,7 +17,7 @@
-
+
Failed Deployments
diff --git a/packages/playground/src/components/manage_gateway_dialog.vue b/packages/playground/src/components/manage_gateway_dialog.vue
index e8608042f5..c9c1c03226 100644
--- a/packages/playground/src/components/manage_gateway_dialog.vue
+++ b/packages/playground/src/components/manage_gateway_dialog.vue
@@ -4,7 +4,6 @@
model-value
@update:model-value="$emit('close')"
scrollable
- width="70%"
:persistent="deleting || layout?.status === 'deploy'"
>
diff --git a/packages/playground/src/components/node_details.vue b/packages/playground/src/components/node_details.vue
index 0a7430ee68..fea79b3238 100644
--- a/packages/playground/src/components/node_details.vue
+++ b/packages/playground/src/components/node_details.vue
@@ -5,7 +5,6 @@
@click:outside="() => $emit('close-dialog', false)"
transition="dialog-bottom-transition"
hide-overlay
- class="w-75 mx-auto"
>
diff --git a/packages/playground/src/components/ssh_keys/ManageSshDeployemnt.vue b/packages/playground/src/components/ssh_keys/ManageSshDeployemnt.vue
index c705901f12..726db18725 100644
--- a/packages/playground/src/components/ssh_keys/ManageSshDeployemnt.vue
+++ b/packages/playground/src/components/ssh_keys/ManageSshDeployemnt.vue
@@ -31,7 +31,7 @@
-
+
diff --git a/packages/playground/src/components/ssh_keys/SshDataDialog.vue b/packages/playground/src/components/ssh_keys/SshDataDialog.vue
index 7cd1924323..7049fd7214 100644
--- a/packages/playground/src/components/ssh_keys/SshDataDialog.vue
+++ b/packages/playground/src/components/ssh_keys/SshDataDialog.vue
@@ -3,7 +3,7 @@
@click:outside="() => $emit('close')"
@keydown.esc="() => $emit('close')"
v-model="$props.open"
- max-width="750"
+ max-width="800"
>
diff --git a/packages/playground/src/components/ssh_keys/SshFormDialog.vue b/packages/playground/src/components/ssh_keys/SshFormDialog.vue
index f957784870..4beba0f58d 100644
--- a/packages/playground/src/components/ssh_keys/SshFormDialog.vue
+++ b/packages/playground/src/components/ssh_keys/SshFormDialog.vue
@@ -3,7 +3,7 @@
@click:outside="() => $emit('close')"
@keydown.esc="() => $emit('close')"
v-model="$props.open"
- max-width="750"
+ max-width="800"
>
diff --git a/packages/playground/src/components/withdraw_dialog.vue b/packages/playground/src/components/withdraw_dialog.vue
index 93f58d87e9..bdadd1aa54 100644
--- a/packages/playground/src/components/withdraw_dialog.vue
+++ b/packages/playground/src/components/withdraw_dialog.vue
@@ -2,7 +2,7 @@
diff --git a/packages/playground/src/plugins/vuetify.ts b/packages/playground/src/plugins/vuetify.ts
index 241fd4748b..62b939b47e 100644
--- a/packages/playground/src/plugins/vuetify.ts
+++ b/packages/playground/src/plugins/vuetify.ts
@@ -35,6 +35,9 @@ const defaults = {
color: "primary",
size: "small",
},
+ VDialog: {
+ width: "70%",
+ },
};
const vuetify = createVuetify({
diff --git a/packages/playground/src/views/sshkey_view.vue b/packages/playground/src/views/sshkey_view.vue
index e2b67a4f87..1741b97b49 100644
--- a/packages/playground/src/views/sshkey_view.vue
+++ b/packages/playground/src/views/sshkey_view.vue
@@ -46,6 +46,7 @@
-
+
-
-
- Close
-
-
+
+
+ Close
+
+
diff --git a/packages/playground/src/components/funds_card.vue b/packages/playground/src/components/funds_card.vue
index 4586fc9129..01b774e96f 100644
--- a/packages/playground/src/components/funds_card.vue
+++ b/packages/playground/src/components/funds_card.vue
@@ -1,21 +1,12 @@
-
- GET TFT
-
+ GET TFT
Get TFT on Stellar using BTC or Credit card, then you can bridge it to your tfchain account using the Bridge in
the dashboard section.
- mdi-information-outline
@@ -69,7 +60,7 @@ export default {
diff --git a/packages/playground/src/components/ssh_keys/SshFormDialog.vue b/packages/playground/src/components/ssh_keys/SshFormDialog.vue
index 4beba0f58d..1eddfb967e 100644
--- a/packages/playground/src/components/ssh_keys/SshFormDialog.vue
+++ b/packages/playground/src/components/ssh_keys/SshFormDialog.vue
@@ -32,11 +32,12 @@
{{ $props.dialogType === SSHCreationMethod.Generate ? "Generating" : "Importing" }}
- a new SSH key will cost you up to {{ sshKeysManagement.updateCost }} TFT
+ a new SSH key will cost you up to
+ {{ sshKeysManagement.updateCost }} TFT
-
+
We will not keep your private key information. Be sure to save the private key downloaded after
creation.
@@ -63,32 +64,29 @@
+
-
-
-
-
-
-
- Generate and Save
-
-
-
+
+
+
+
+ Generate and Save
+
+
diff --git a/packages/playground/src/components/ssh_keys/SshTable.vue b/packages/playground/src/components/ssh_keys/SshTable.vue
index 007f91262d..65312daea8 100644
--- a/packages/playground/src/components/ssh_keys/SshTable.vue
+++ b/packages/playground/src/components/ssh_keys/SshTable.vue
@@ -93,15 +93,13 @@
-
+
-
-
+
-
+
Close
diff --git a/packages/playground/src/components/weblet_layout.vue b/packages/playground/src/components/weblet_layout.vue
index 4c8b86470e..6ff84402e9 100644
--- a/packages/playground/src/components/weblet_layout.vue
+++ b/packages/playground/src/components/weblet_layout.vue
@@ -87,9 +87,8 @@
Learn more about the pricing and how to unlock discounts.
-
-
-
+
+
Back
diff --git a/packages/playground/src/components/withdraw_dialog.vue b/packages/playground/src/components/withdraw_dialog.vue
index bdadd1aa54..a8f3cc527f 100644
--- a/packages/playground/src/components/withdraw_dialog.vue
+++ b/packages/playground/src/components/withdraw_dialog.vue
@@ -7,7 +7,7 @@
@update:model-value="closeDialog"
>
- Withdraw TFT
+ Withdraw TFT
Interact with the bridge in order to withdraw your TFT to
{{ selectedName?.charAt(0).toUpperCase() + selectedName!.slice(1) }} (withdraw fee is: {{ withdrawFee }} TFT)
@@ -50,11 +50,11 @@
+
-
- Close
+
+ Close
-
- Add Public IP to Farm
-
-
+ Add Public IP to Farm
+
-
+
+
IPs range
@@ -81,7 +80,7 @@
-
+
Close
Show IPs Range
@@ -324,10 +323,3 @@ export default {
},
};
-
-
diff --git a/packages/playground/src/dashboard/components/create_farm.vue b/packages/playground/src/dashboard/components/create_farm.vue
index 709a79053b..369578c620 100644
--- a/packages/playground/src/dashboard/components/create_farm.vue
+++ b/packages/playground/src/dashboard/components/create_farm.vue
@@ -17,10 +17,8 @@
-
- Create Farm
-
-
+ Create Farm
+
-
-
+
+
Close
Create
diff --git a/packages/playground/src/dashboard/components/public_config.vue b/packages/playground/src/dashboard/components/public_config.vue
index 9ed210232f..65106564e5 100644
--- a/packages/playground/src/dashboard/components/public_config.vue
+++ b/packages/playground/src/dashboard/components/public_config.vue
@@ -18,10 +18,10 @@
-
- Add a public config to your node with ID: {{ $props.nodeId }}
-
-
+
+ Add a public config to your node with ID: {{ $props.nodeId }}
+
+
-
-
+
+
+ Close
Remove Config
-
-
-
- Close
-
- Save
-
-
+
+ Save
+
@@ -137,12 +133,10 @@
-
- Remove Public Config
-
- Are you sure you want to remove this node's public config?
+ Remove Public Config
+ Are you sure you want to remove this node's public config?
-
+
-
-
diff --git a/packages/playground/src/dashboard/components/public_ips_table.vue b/packages/playground/src/dashboard/components/public_ips_table.vue
index 46e9bb98f5..2aeda1d9c5 100644
--- a/packages/playground/src/dashboard/components/public_ips_table.vue
+++ b/packages/playground/src/dashboard/components/public_ips_table.vue
@@ -8,7 +8,7 @@
v-model="selectedItems"
>
-
+
Public IPs
@@ -38,18 +38,16 @@
-
- Delete IPs
-
Delete the following IPs?
-
+
{{ item.ip }}
+
-
+
Close
-
diff --git a/packages/playground/src/dashboard/components/reserve_action_btn.vue b/packages/playground/src/dashboard/components/reserve_action_btn.vue
index 54613d6279..55a0acad15 100644
--- a/packages/playground/src/dashboard/components/reserve_action_btn.vue
+++ b/packages/playground/src/dashboard/components/reserve_action_btn.vue
@@ -10,18 +10,16 @@
This will free up the node for others on the chain
-
+
Close
Confirm
Reserve
diff --git a/packages/playground/src/dashboard/components/set_extra_fee.vue b/packages/playground/src/dashboard/components/set_extra_fee.vue
index 64d982c662..ba852a3d77 100644
--- a/packages/playground/src/dashboard/components/set_extra_fee.vue
+++ b/packages/playground/src/dashboard/components/set_extra_fee.vue
@@ -18,14 +18,12 @@
-
- Set Additional Fees
-
+ Set Additional Fees
Additional fees will be added to your node {{ $props.nodeId }} (for the special hardware you’re providing
e.g. GPUs) while renting.
-
+
-
-
+
+
+
Close
-
+
Close
Vote
@@ -283,7 +283,7 @@
- Close
+ Close
diff --git a/packages/playground/src/dashboard/transfer_view.vue b/packages/playground/src/dashboard/transfer_view.vue
index 24c24811a4..b59c7e4db8 100644
--- a/packages/playground/src/dashboard/transfer_view.vue
+++ b/packages/playground/src/dashboard/transfer_view.vue
@@ -50,8 +50,7 @@
-
-
+
Clear
-
+
Close
Save
@@ -19,9 +19,9 @@
Vote Reminder
There are {{ numberOfProposalsToVoteOn }} active proposals you can vote on now
-
- Vote
- Close
+
+ Vote
+ Close
@@ -171,7 +171,7 @@
-
+
Edit
diff --git a/packages/playground/src/plugins/vuetify.ts b/packages/playground/src/plugins/vuetify.ts
index 62b939b47e..6d5fb29833 100644
--- a/packages/playground/src/plugins/vuetify.ts
+++ b/packages/playground/src/plugins/vuetify.ts
@@ -17,6 +17,9 @@ const defaults = {
VBtn: {
variant: "outlined",
color: "primary",
+ VIcon: {
+ variant: "tonal",
+ },
VProgressCircular: {
size: undefined,
width: undefined,
@@ -27,7 +30,6 @@ const defaults = {
VBtn: {
variant: "outlined",
color: "primary",
- size: "small",
},
},
VChip: {
diff --git a/packages/playground/src/weblets/profile_manager.vue b/packages/playground/src/weblets/profile_manager.vue
index 9311944cd8..5acece2b69 100644
--- a/packages/playground/src/weblets/profile_manager.vue
+++ b/packages/playground/src/weblets/profile_manager.vue
@@ -320,7 +320,6 @@
class="ml-2"
type="submit"
color="secondary"
- variant="outlined"
:loading="activating"
:disabled="
!isValidForm ||
@@ -393,14 +392,7 @@
-
- Close
-
+
Close
-
-
- Loading contracts lock details
-
-
-
-
- You have enough balance to unlock your contracts!
-
-
- You need to fund your account with
-
- {{ Math.ceil(lockedContracts?.totalAmountLocked - freeBalance) }}
- TFTs
-
- to resume your contracts
-
-
-
-
-
-
- Close
-
-
-
-
- Unlock contracts
-
+
+
+
+ Loading contracts lock details
+
+
+
+
+ You have enough balance to unlock your contracts!
-
-
-
+
+ You need to fund your account with
+
+ {{ Math.ceil(lockedContracts?.totalAmountLocked - freeBalance) }}
+ TFTs
+
+ to resume your contracts
+
+
+
+
+
+ Close
+
+
+
+
+ Unlock contracts
+
+
+
+
+
diff --git a/packages/playground/src/weblets/tf_deployment_list.vue b/packages/playground/src/weblets/tf_deployment_list.vue
index 3007050a34..80ea15737d 100644
--- a/packages/playground/src/weblets/tf_deployment_list.vue
+++ b/packages/playground/src/weblets/tf_deployment_list.vue
@@ -344,9 +344,9 @@
{{ item.deploymentName }}
+
-
-
+
Cancel
Delete
From 02c193d3fe9a791aa3fc5ae77b18d36c902896c1 Mon Sep 17 00:00:00 2001
From: samaradel
Date: Tue, 4 Jun 2024 17:15:12 +0300
Subject: [PATCH 5/5] fix build
---
packages/playground/src/dashboard/components/public_config.vue | 1 +
1 file changed, 1 insertion(+)
diff --git a/packages/playground/src/dashboard/components/public_config.vue b/packages/playground/src/dashboard/components/public_config.vue
index 65106564e5..a9ecd9368e 100644
--- a/packages/playground/src/dashboard/components/public_config.vue
+++ b/packages/playground/src/dashboard/components/public_config.vue
@@ -158,6 +158,7 @@ import type { PublicConfig } from "@threefold/grid_client";
import { isEqual } from "lodash";
import { onMounted, ref, watch } from "vue";
+import type { RuleReturn } from "@/components/input_validator.vue";
import { useFormRef } from "@/hooks/form_validator";
import { useGrid } from "@/stores";
import { createCustomToast, ToastType } from "@/utils/custom_toast";