Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add loading page to service-catalog #503

Closed
wants to merge 1 commit into from

Conversation

hegeaal
Copy link
Contributor

@hegeaal hegeaal commented Dec 27, 2023

closes #502

@hegeaal hegeaal requested a review from a team January 2, 2024 12:03
import { localization } from '@catalog-frontend/utils';
import { Heading, Spinner } from '@digdir/design-system-react';

export default function Loading() {
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
export default function Loading() {
const Loading = () => {

<>
<PageBanner
title={localization.catalogType.service}
subtitle={''}
Copy link
Contributor

@pooriamehregan pooriamehregan Jan 2, 2024

Choose a reason for hiding this comment

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

Bør subtitle settes til å være optional i PagePanner?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Jaa burde vell egentlig det, kan fikse!

@jeffreiffers
Copy link
Contributor

https://nextjs.org/docs/app/building-your-application/routing/loading-ui-and-streaming

Bør vi vurdere å bruke skeletons og suspend?

@hegeaal
Copy link
Contributor Author

hegeaal commented Jan 5, 2024

https://nextjs.org/docs/app/building-your-application/routing/loading-ui-and-streaming

Bør vi vurdere å bruke skeletons og suspend?

Hmm ja kanskje... Setter denne på vent inntil videre - kommer tilbake til det når vi jobber med tjenestekatalogen i 2024.

@hegeaal hegeaal closed this Jan 5, 2024
@hegeaal hegeaal deleted the feat/ha/add-spinner-when-loading-services branch March 7, 2024 12:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature: Legge til <Spinner/> når tjenester laster
3 participants