Skip to content

Commit

Permalink
storage: Remove "Partition" content tab
Browse files Browse the repository at this point in the history
Cockpit does not allow setting or changing any of the information
shown in this content tab, and the "Name" can easily be confused with
the "Name" in the "Filesystem" content tab.

Also, the less tabs we have, the easier the move to a new layout
without any tabs will be.
  • Loading branch information
mvollmer committed Aug 11, 2023
1 parent 0d07f76 commit 99562d5
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 61 deletions.
5 changes: 0 additions & 5 deletions pkg/storaged/content-views.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ import { FilesystemTab, is_mounted, mounting_dialog, get_fstab_config } from "./
import { CryptoTab, edit_config } from "./crypto-tab.jsx";
import { get_existing_passphrase, unlock_with_type } from "./crypto-keyslots.jsx";
import { BlockVolTab, PoolVolTab, VDOPoolTab } from "./lvol-tabs.jsx";
import { PartitionTab } from "./part-tab.jsx";
import { SwapTab } from "./swap-tab.jsx";
import { UnrecognizedTab } from "./unrecognized-tab.jsx";

Expand Down Expand Up @@ -224,10 +223,6 @@ function create_tabs(client, target, is_partition, is_extended) {
}
}

if (is_partition) {
add_tab(_("Partition"), PartitionTab);
}

let is_unrecognized = false;

if (is_filesystem) {
Expand Down
56 changes: 0 additions & 56 deletions pkg/storaged/part-tab.jsx

This file was deleted.

0 comments on commit 99562d5

Please sign in to comment.