Skip to content

Commit

Permalink
rename the entire thing
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonas-C committed Mar 11, 2025
1 parent 14185d6 commit 7b54fee
Show file tree
Hide file tree
Showing 34 changed files with 519 additions and 2,696 deletions.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions e2e/specs/unauthenticated/search.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ test("contains search bar", async ({ page }) => {
await page.goto("/search/?disableSSR=true");
await mockWaitResponse(page, "**/graphql-api/*");

const topicHeader = page.getByRole("heading").getByText("Emne");
await expect(topicHeader).toBeVisible();

const input = page.getByRole("searchbox");

await expect(input).toBeVisible();

const subjectMaterialCheckbox = page.getByLabel("Læringssti");
await expect(subjectMaterialCheckbox).toBeVisible();
});

test("LTI contains action elements", async ({ page }) => {
Expand Down
4 changes: 1 addition & 3 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,7 @@ import H5pPage from "./containers/ResourceEmbed/H5pPage";
import ImagePage from "./containers/ResourceEmbed/ImagePage";
import VideoPage from "./containers/ResourceEmbed/VideoPage";
import ResourcePage from "./containers/ResourcePage/ResourcePage";
import SearchPage from "./containers/SearchPage/SearchPage";
import { SearchPage as SearchPageV2 } from "./containers/SearchPageV2/SearchPage";
import { SearchPage } from "./containers/SearchPage/SearchPage";
import SharedFolderPage from "./containers/SharedFolderPage/SharedFolderPage";
import SubjectPage from "./containers/SubjectPage/SubjectPage";
import { TopicPage } from "./containers/TopicPage/TopicPage";
Expand Down Expand Up @@ -103,7 +102,6 @@ const AppRoutes = ({ base }: AppProps) => {
<Route index element={<WelcomePage />} />
<Route path="subjects" element={<AllSubjectsPage />} />
<Route path="search" element={<SearchPage />} />
<Route path="searchv2" element={<SearchPageV2 />} />
<Route path="utdanning">
<Route path=":programme" element={<ProgrammePage />} />
<Route path=":programme/:contextId" element={<ProgrammePage />}>
Expand Down
2 changes: 1 addition & 1 deletion src/components/CompetenceGoalTab.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ const CoreElementWrapper = styled("div", {
},
});

export const CompetenceItem = ({ item, isOembed, showLinks = false }: CompetenceItemProps) => {
const CompetenceItem = ({ item, isOembed, showLinks = false }: CompetenceItemProps) => {
const { t } = useTranslation();
return (
<OuterList>
Expand Down
File renamed without changes.
Loading

0 comments on commit 7b54fee

Please sign in to comment.