Skip to content

Commit d8d3e8e

Browse files
committed
refactor(hub): hide rivetkit related tabs from ui (#2724)
<!-- Please make sure there is an issue that this PR is correlated to. --> ## Changes <!-- If there are frontend changes, please include screenshots. --> Closes FRONT-694 <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Refactor** * Several actor-related features have been temporarily disabled in various components, resulting in a more streamlined interface for actor details and notifications. * Adjusted layout of hostnames in the actor network view to improve text truncation and display consistency. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
1 parent 239d76c commit d8d3e8e

File tree

2 files changed

+12
-12
lines changed
  • frontend
    • apps/hub/src/routes/_authenticated/_layout/projects/$projectNameId/environments/$environmentNameId._v2
    • packages/components/src/actors

2 files changed

+12
-12
lines changed

frontend/apps/hub/src/routes/_authenticated/_layout/projects/$projectNameId/environments/$environmentNameId._v2/actors.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ function Actor() {
3737
features={[
3838
ActorFeature.Config,
3939
ActorFeature.Logs,
40-
ActorFeature.State,
41-
ActorFeature.Metrics,
42-
ActorFeature.Connections,
40+
// ActorFeature.State,
41+
// ActorFeature.Metrics,
42+
// ActorFeature.Connections,
4343
]}
4444
/>
4545
);
@@ -100,8 +100,8 @@ function Content() {
100100
features={[
101101
ActorFeature.Config,
102102
ActorFeature.Logs,
103-
ActorFeature.State,
104-
ActorFeature.Connections,
103+
// ActorFeature.State,
104+
// ActorFeature.Connections,
105105
]}
106106
/>
107107
)}

frontend/packages/components/src/actors/actor-context.tsx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -403,8 +403,8 @@ const commonActorFeatures = [
403403
ActorFeature.Logs,
404404
ActorFeature.Config,
405405
ActorFeature.Runtime,
406-
ActorFeature.Metrics,
407-
ActorFeature.InspectReconnectNotification,
406+
// ActorFeature.Metrics,
407+
// ActorFeature.InspectReconnectNotification,
408408
];
409409

410410
export const currentActorFeaturesAtom = atom((get) => {
@@ -424,13 +424,13 @@ export const currentActorFeaturesAtom = atom((get) => {
424424
}
425425
return [
426426
...commonActorFeatures,
427-
ActorFeature.Connections,
428-
ActorFeature.State,
429-
ActorFeature.Console,
430-
ActorFeature.InspectReconnectNotification,
427+
// ActorFeature.Connections,
428+
// ActorFeature.State,
429+
// ActorFeature.Console,
430+
// ActorFeature.InspectReconnectNotification,
431431
];
432432
}
433-
return commonActorFeatures;
433+
return [...commonActorFeatures, ActorFeature.Metrics];
434434
}
435435

436436
return actor.features;

0 commit comments

Comments
 (0)