Skip to content

Commit

Permalink
feat: improve lo search (#79)
Browse files Browse the repository at this point in the history
- implements a similar design to the question search.
  • Loading branch information
PupoSDC authored Jan 19, 2024
1 parent bb08d09 commit 930c520
Show file tree
Hide file tree
Showing 12 changed files with 900 additions and 842 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,6 @@ export const LayoutModule = container<Props, Params, Data>(
width: Sidebar.css.remainingWidth,
transition: Sidebar.css.widthTransition,
right: 0,
boxShadow: (t) => t.shadow.md,
}}
>
<Breadcrumbs separator="›" sx={{ ml: 2, display: ["none", "flex"] }}>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import {
mockLearningObjectiveSearchItems,
mockSubjects,
trpcMsw,
} from "@chair-flight/trpc/mock";
import { LearningObjectivesSearch } from "./learning-objectives-search";
Expand All @@ -22,10 +23,10 @@ const meta: Meta<typeof LearningObjectivesSearch> = {
},
msw: {
handlers: [
trpcMsw.questionBank.getNumberOfLearningObjectives.query(() => ({
count: 123,
trpcMsw.questionBank.getAllSubjects.query(() => ({
subjects: mockSubjects,
})),
trpcMsw.questionBank.searchLearningObjectives.query(() => {
trpcMsw.questionBankLoSearch.searchLearningObjectives.query(() => {
const items = mockLearningObjectiveSearchItems;

return {
Expand Down
Loading

1 comment on commit 930c520

@vercel
Copy link

@vercel vercel bot commented on 930c520 Jan 19, 2024

Choose a reason for hiding this comment

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

Please sign in to comment.