Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions tavern/internal/www/build/asset-manifest.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion tavern/internal/www/build/index.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions tavern/internal/www/build/static/js/main.1b78846a.js

Large diffs are not rendered by default.

Large diffs are not rendered by default.

3 changes: 0 additions & 3 deletions tavern/internal/www/build/static/js/main.b1a3afe5.js

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export const usePageNavigation = () => {
{ name: PageNavItem.hosts, href: '/hosts', icon: BugAntIcon, internal: true },
{ name: PageNavItem.quests, href: '/quests', icon: ClipboardDocumentListIcon, internal: true },
{ name: PageNavItem.tomes, href: '/tomes', icon: BookOpenIcon, internal: true },
data?.me?.isAdmin && { name: PageNavItem.admin, href: '/admin', icon: UserGroupIcon, internal: true, adminOnly: true },
...data?.me?.isAdmin ? [{ name: PageNavItem.admin, href: '/admin', icon: UserGroupIcon, internal: true, adminOnly: true }] : [],
{ name: PageNavItem.documentation, href: 'https://docs.realm.pub/', icon: DocumentDuplicateIcon, target: "__blank", internal: false },
{ name: PageNavItem.playground, href: '/playground', icon: WrenchScrewdriverIcon, target: "__blank", internal: false },
] as Array<NavigationItemType>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const TaskParameters: FC<TaskParametersType> = ({
{params.map((paramDef: TomeParams) => {
if (paramDef.value) {
return (
<div className="flex flex-row gap-1 text-xs" key={paramDef.name}>
<div className="flex flex-row gap-1 text-sm text-gray-600" key={paramDef.name}>
<div className="font-semibold">
{paramDef.name}:
</div>
Expand All @@ -32,7 +32,7 @@ const TaskParameters: FC<TaskParametersType> = ({
)
}
else {
return null;
return <div className="text-sm text-gray-600">Not available</div>;
}
})}
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ const TaskShells = ({ shells }: { shells: Array<Shell> }) => {
return (
<div className="flex flex-col gap-4">
{shells.map((shell) => {
const closeAtTime = new Date(shell.closedAt || "");

return (
<div className="flex flex-row gap-4">
<CommandLineIcon className="h-5 w-5 mt-1" />
Expand All @@ -25,7 +27,7 @@ const TaskShells = ({ shells }: { shells: Array<Shell> }) => {
Shell Id: {shell?.id}
</div>
</div>
{shell.closedAt ? <div className="text-sm text-gray-500">Shell closed at {shell.closedAt}</div>
{shell.closedAt ? <div className="text-sm text-gray-500">{`Shell closed at: $${closeAtTime.toLocaleTimeString()} on ${closeAtTime.toDateString()}`}</div>
: (
<>
<div className="flex flex-row gap-4 text-sm text-gray-500">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ const TaskTimeStamp: FC<TaskTimeStampType> = ({
<ClockIcon className="h-5 w-5 mt-1" />
<div className="flex flex-col gap-1 ">
<div className="text-gray-600">Status</div>
{createdAt && <span className="text-xs">{`Created at ${createdTime.toLocaleTimeString()} on ${createdTime.toDateString()}`}</span>}
{execStartedAt && <span className="text-xs">{`Started at ${startTime.toLocaleTimeString()} on ${startTime.toDateString()}`}</span>}
{execFinishedAt && <span className="text-xs">{`Finished at ${finishTime.toLocaleTimeString()} on ${finishTime.toDateString()}`}</span>}
{createdAt && <span className=" text-sm">{`Created at ${createdTime.toLocaleTimeString()} on ${createdTime.toDateString()}`}</span>}
{execStartedAt && <span className="text-sm">{`Started at ${startTime.toLocaleTimeString()} on ${startTime.toDateString()}`}</span>}
{execFinishedAt && <span className="text-sm">{`Finished at ${finishTime.toLocaleTimeString()} on ${finishTime.toDateString()}`}</span>}
</div>
</div>
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const QuestHeader = () => {
const navigate = useNavigate();

return (
<div className="flex flex-col gap-4">
<div className="flex flex-col gap-4 justify-between">
<div className="flex flex-row justify-between w-full items-center">
<Breadcrumbs pages={[{
label: "Quests",
Expand Down