Skip to content

Conversation

malmen237
Copy link
Contributor

@malmen237 malmen237 commented Jun 13, 2025

New buttons to the different manage-pages, instead of "manage" there is "ingests" and "productions":

Screenshot 2025-06-13 at 09 33 32

Manage ingests-page:

Saved ingests in collapable view and button to create new ingest

Screenshot 2025-06-13 at 09 33 44

Expanded view:

Screenshot 2025-06-13 at 09 33 54

Modal for creating new ingest:

Screenshot 2025-06-13 at 09 34 00

Confirmation when deleting saved ingest:

Screenshot 2025-06-13 at 09 34 07

If device-list is empty then a small text will inform the user:

Screenshot 2025-06-17 at 14 01 36

<DeviceTableHeaderCell>Label</DeviceTableHeaderCell>
<DeviceTableHeaderCell>Status</DeviceTableHeaderCell>
</DeviceTableHeader>
{deviceType === "deviceOutput" || deviceType === "deviceInput"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this necessary since deviceTypes is only ["deviceInput", "deviceOutput"]?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, the map() is acting on ingest and ingest[deviceType] need to make sure it's an "deviceInput" or "deviceOutput", because there are other properties on the ingest object.

return (
<>
<PageHeader title="Productions" loading={showRefreshing}>
{!isMobile && (
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Had a thought - is this something that should be unavailable for tablet users as well?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If I remember correctly the discussion was that a tablet is large enough for people to "work on" so it feels reasonable to have it available for those users. We blocked it because we wanted to avoid accidental edits of production, a tablet is less likely to pose such a risk.

But when the possibility to add a security-layer is added, with admin-rights, we could remove the mobile-restriction altogether (the one not related to technical limitations).

@Saelmala
Copy link
Contributor

Based on discussion yesterday, with the Ingests-button on the landing page, we should rename the 'Create'-button to 'Create Production' for clarity on what you are creating.

className?: string;
};

export const CollapsibleItem = ({
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice component

@malmen237 malmen237 changed the base branch from main to feat/reusable-list June 27, 2025 10:12
Base automatically changed from feat/reusable-list to main June 27, 2025 13:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants