generated from TBD54566975/tbd-project-template
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: delete Deployments tab, module tree uses old deployments compon…
…ents (#2560) * Removes `Deployments` tab * Removes all the extraneous page headers (#2490) * Fixes all the routing to point to `/modules/{moduleName}/...` instead of `/deployments/{deploymentKey}/...` * Minor cleanup of deployment components' internal logic after replacing `deploymentKey` with `moduleName` in the outermost interface https://github.com/user-attachments/assets/ad785b7c-3e88-4d8d-8edb-b14bed441c98
- Loading branch information
Showing
9 changed files
with
31 additions
and
85 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,8 @@ | ||
import { useParams } from 'react-router-dom' | ||
import { DeploymentPage } from '../deployments/DeploymentPage' | ||
|
||
export const ModulePanel = () => { | ||
const { moduleName } = useParams() | ||
|
||
return ( | ||
<div className='flex-1 py-2 px-4'> | ||
<p>Module: {moduleName}</p> | ||
</div> | ||
) | ||
return <DeploymentPage moduleName={moduleName || ''} /> | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters