Skip to content
Merged
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
3bd6d94
fixed summation after long fight with git :!
LSKpr May 6, 2025
c6a79a2
sorting kinda works - some problems exist
LSKpr May 7, 2025
6ef0ac0
Merge branch 'main' of github.com:InferenceKTH/Find-My-Next-Course
LSKpr May 7, 2025
1d02b82
fixed search + filter interaction
LSKpr May 7, 2025
9e6da22
sorting is better now / Metallic Materials are the only issue
LSKpr May 7, 2025
ed3e93f
asc/desc have correct icon now
LSKpr May 7, 2025
b4a43a4
Merge branch 'main' of github.com:InferenceKTH/Find-My-Next-Course in…
LSKpr May 7, 2025
1973a40
Merge branch 'main' of github.com:InferenceKTH/Find-My-Next-Course in…
LSKpr May 7, 2025
1880408
added favicon
LSKpr May 8, 2025
2e799ef
Merge branch 'main' of github.com:InferenceKTH/Find-My-Next-Course in…
LSKpr May 8, 2025
43a430f
fixed the website name in index.html
LSKpr May 8, 2025
9e57a66
Merge branch 'main' of github.com:InferenceKTH/Find-My-Next-Course in…
LSKpr May 8, 2025
1e2ac77
Merge branch 'main' of github.com:InferenceKTH/Find-My-Next-Course in…
LSKpr May 8, 2025
7fafcfb
Merge branch 'main' of github.com:InferenceKTH/Find-My-Next-Course in…
LSKpr May 8, 2025
45b7ae2
Merge branch 'main' of github.com:InferenceKTH/Find-My-Next-Course in…
LSKpr May 8, 2025
a6fce52
Merge branch 'main' of github.com:InferenceKTH/Find-My-Next-Course in…
LSKpr May 8, 2025
e7f0385
Merge branch 'main' of github.com:InferenceKTH/Find-My-Next-Course in…
LSKpr May 8, 2025
811154c
Merge branch 'main' of github.com:InferenceKTH/Find-My-Next-Course in…
LSKpr May 8, 2025
8662574
Merge branch 'main' of github.com:InferenceKTH/Find-My-Next-Course in…
LSKpr May 8, 2025
fd86c41
ArrowLeft closes the CoursePopup
LSKpr May 8, 2025
c461366
popup variables moved to the model
LSKpr May 8, 2025
f5a14d6
popup variables moved to the model
LSKpr May 8, 2025
8358f73
Merge branch 'main' of github.com:InferenceKTH/Find-My-Next-Course in…
LSKpr May 8, 2025
d80e280
Merge branch 'main' of github.com:InferenceKTH/Find-My-Next-Course in…
LSKpr May 8, 2025
df37e10
Merge branch 'main' of github.com:InferenceKTH/Find-My-Next-Course in…
LSKpr May 9, 2025
d18cc83
bug fix
LSKpr May 9, 2025
47bdcfc
prefix matching is preffered in search function
LSKpr May 9, 2025
5413a01
Merge branch 'main' of github.com:InferenceKTH/Find-My-Next-Course in…
LSKpr May 9, 2025
77d8ec0
Merge branch 'main' of github.com:InferenceKTH/Find-My-Next-Course in…
LSKpr May 9, 2025
aed5bb1
git stash fight
LSKpr May 9, 2025
8f37a32
Merge branch 'main' of github.com:InferenceKTH/Find-My-Next-Course in…
LSKpr May 9, 2025
1b3bd81
searchbar escape char bug fix
LSKpr May 9, 2025
f59d944
Merge branch 'main' of github.com:InferenceKTH/Find-My-Next-Course in…
LSKpr May 9, 2025
4fd77eb
Merge branch 'main' of github.com:InferenceKTH/Find-My-Next-Course in…
LSKpr May 9, 2025
35ed659
added srot by rating
LSKpr May 9, 2025
b326b11
Merge branch 'main' of github.com:InferenceKTH/Find-My-Next-Course in…
LSKpr May 9, 2025
1a55ad1
small design fix - ListView list
LSKpr May 9, 2025
39f011b
Merge branch 'main' of github.com:InferenceKTH/Find-My-Next-Course in…
LSKpr May 9, 2025
c8e8b16
small design fix - ListView looks cleaner now
LSKpr May 9, 2025
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
8 changes: 4 additions & 4 deletions my-app/src/views/ListView.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ function ListView(props) {
}

return (
<div className="relative bg-white text-black p-2 flex flex-col gap-3 h-screen">
<div className="relative bg-gray-100 text-black p-2 flex flex-col gap-3 h-screen">
{isLoading ? (
<div className="flex justify-center items-center h-full">
<Quantum size="400" speed="10" color="#000061" />
Expand All @@ -129,7 +129,7 @@ function ListView(props) {
<select
value={props.sortBy}
onChange={(e) => props.setSortBy(e.target.value)}
className="bg-white border-2 border-[#000061] text-[#000061] font-semibold py-2 px-4 rounded-lg cursor-pointer hover:bg-blue-50 transition-colors duration-200"
className="bg-white shadow-md text-[#000061] font-semibold py-2 px-4 rounded-lg cursor-pointer hover:bg-blue-50 transition-colors duration-200"
>
<option value="relevance">Sort by Relevance</option>
<option value="name">Sort by Name</option>
Expand All @@ -141,7 +141,7 @@ function ListView(props) {

<button
onClick={() => props.setSortDirection(prev => prev === 'asc' ? 'desc' : 'asc')}
className="bg-white border-2 border-[#000061] text-[#000061] font-semibold p-2 rounded-lg cursor-pointer hover:bg-blue-50 transition-colors duration-200"
className="bg-white shadow-md text-[#000061] font-semibold p-2 rounded-lg cursor-pointer hover:bg-blue-50 transition-colors duration-200"
aria-label={`Sort ${props.sortDirection === 'asc' ? 'ascending' : 'descending'}`}
>
{props.sortDirection === 'desc' ? (
Expand Down Expand Up @@ -179,7 +179,7 @@ function ListView(props) {
window.history.pushState({}, '', '/' + course.code);
}}
key={course.code}
className="p-5 mb-3 hover:bg-blue-100 flex items-center border border-b-black border-solid w-full rounded-lg cursor-pointer"
className="p-5 mb-3 hover:bg-blue-100 flex items-center bg-white w-full rounded-lg cursor-pointer shadow-md hover:shadow-lg transition-shadow duration-300"
>
<div>
<div className="codeNameContainer" style={{ display: 'flex' }}>
Expand Down