Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
121 commits
Select commit Hold shift + click to select a range
4cc2441
Add clear button to search bar
codetheweb Jul 28, 2021
0b7c1c9
Bump dependencies
codetheweb Jul 28, 2021
f96e2b4
Basic basket functionality
codetheweb Jul 30, 2021
601aadd
Fix test
codetheweb Jul 30, 2021
fecc8ce
Merge pull request #12 from Michigan-Tech-Courses/max/mic-68-basic-fu…
codetheweb Jul 30, 2021
c88fdae
Allow saving search queries to basket
codetheweb Jul 30, 2021
8a28a62
Merge pull request #13 from Michigan-Tech-Courses/max/mic-57-allow-sa…
codetheweb Jul 30, 2021
ddeb7e7
Flash basket button when courses are added / removed
codetheweb Jul 30, 2021
39422ee
Merge pull request #14 from Michigan-Tech-Courses/max/mic-69-basket-b…
codetheweb Jul 30, 2021
387d3ac
Add option to export as image
codetheweb Jul 31, 2021
abe2b81
Add option to export CSV / TSV
codetheweb Jul 31, 2021
f4a2542
Allow deleting search queries in basket from search bar
codetheweb Jul 31, 2021
6a97d5b
Fix Lighthouse issue
codetheweb Jul 31, 2021
6555938
Fix bug when sharing image with search queries
codetheweb Jul 31, 2021
dc3574f
Export basket as calendar
codetheweb Aug 2, 2021
bc0fb28
Merge pull request #15 from Michigan-Tech-Courses/max/mic-63-export-o…
codetheweb Aug 2, 2021
3e7c509
Add is:compatible and has:time filters
codetheweb Aug 3, 2021
1c19f40
Optimize schedule compatability checking
codetheweb Aug 7, 2021
cce236c
⚡️ improve performance
codetheweb Aug 7, 2021
74ece79
Merge pull request #16 from Michigan-Tech-Courses/max/mic-60-allow-fi…
codetheweb Aug 7, 2021
172f5c0
Fix time comparision
codetheweb Aug 8, 2021
7296b51
Always show basket on a wide enough screen
codetheweb Aug 8, 2021
726bd17
Merge pull request #17 from Michigan-Tech-Courses/max/mic-58-always-s…
codetheweb Aug 8, 2021
ce31e44
Make basket sticky
codetheweb Aug 8, 2021
31b72b8
Add undo / redo actions
codetheweb Aug 9, 2021
d285d02
Fix fun bug: tests start failing around midnight
codetheweb Aug 9, 2021
6d6787c
Merge branch 'dev' into max/mic-72-undo-redo-basket-actions
codetheweb Aug 9, 2021
4f83072
Merge pull request #18 from Michigan-Tech-Courses/max/mic-72-undo-red…
codetheweb Aug 9, 2021
1679053
Undo / redo search queries as well
codetheweb Aug 14, 2021
dec9257
Use fixed table layout, add button to show map of where section is
codetheweb Aug 15, 2021
7665581
Use FA share icon, fix test
codetheweb Aug 16, 2021
09c7bd4
Use XO React config
codetheweb Aug 16, 2021
cd4cae4
Make BasketTable fixed layout
codetheweb Aug 18, 2021
633e8d5
Display location in basket
codetheweb Aug 19, 2021
96e069a
Fix export image
codetheweb Aug 19, 2021
8ee6735
Merge pull request #19 from Michigan-Tech-Courses/max/mic-67-show-map…
codetheweb Aug 19, 2021
dd840ef
First pass at adding calendar
codetheweb Sep 5, 2021
1982fe2
Remove dayjs
codetheweb Sep 5, 2021
bc8b43f
Bugfixes, show hint
codetheweb Sep 5, 2021
52e5684
Cache computed occurrences
codetheweb Sep 6, 2021
e558b7e
Two-column layout, types.ts -> api-types.ts
codetheweb Sep 7, 2021
d5bb55e
Merge pull request #20 from Michigan-Tech-Courses/max/mic-73-blocked-…
codetheweb Sep 10, 2021
ec771f2
Dynamically load Mapbox
codetheweb Sep 10, 2021
a490e01
Move to src/, add import alias
codetheweb Sep 10, 2021
5b643b7
Bump dependencies
codetheweb Sep 10, 2021
809156c
Add loading state for basket
codetheweb Sep 10, 2021
eebca71
Merge pull request #21 from Michigan-Tech-Courses/max/mic-80-loading-…
codetheweb Sep 10, 2021
e4c3e2e
Show total number of credits
codetheweb Sep 11, 2021
2c028fc
Merge pull request #22 from Michigan-Tech-Courses/max/mic-89-show-tot…
codetheweb Sep 11, 2021
8dd3a64
Try to avoid using .map for large sets
codetheweb Sep 11, 2021
ef1cbc7
Add warning when section times overlap
codetheweb Sep 11, 2021
d6b4049
Merge pull request #23 from Michigan-Tech-Courses/max/mic-61-compatib…
codetheweb Sep 11, 2021
b8c54c9
Display subject / crse in basket table
codetheweb Sep 11, 2021
dbc2494
Merge pull request #24 from Michigan-Tech-Courses/max/mic-83-add-subj…
codetheweb Sep 11, 2021
f52e8fe
Reduce startup time (mainly using requestIdleCallback)
codetheweb Sep 11, 2021
ae435ad
Fix warning
codetheweb Sep 11, 2021
331872c
Move computed property to autorun
codetheweb Sep 12, 2021
a504f91
Use getServerSideProps instead of getInitialProps, simplify logic for…
codetheweb Sep 12, 2021
659bfd9
Bugfixes
codetheweb Sep 12, 2021
a7ad150
Reorg state files
codetheweb Sep 12, 2021
04e2f1a
Fix image capture bug
codetheweb Sep 12, 2021
684473e
More performant basket rendering
codetheweb Sep 12, 2021
9d02ad0
Render calendar in portal
codetheweb Sep 12, 2021
6d98168
Persist selected semester
codetheweb Sep 17, 2021
6dff080
Update Lighthouse workflow
codetheweb Sep 17, 2021
e8aadd8
Serve site on local server
codetheweb Sep 17, 2021
22f087a
Output source maps
codetheweb Sep 17, 2021
7671799
Disable unnecessary Lighthouse rule
codetheweb Sep 17, 2021
531eedd
Log number of items in basket
codetheweb Sep 17, 2021
2d67c18
Hide ExportOptions if empty basket
codetheweb Sep 17, 2021
e6a83e1
Decrease TTFB by adding separate page for sharables
codetheweb Sep 17, 2021
37beac3
Add back document title / description to home
codetheweb Sep 17, 2021
f2f5cea
Merge pull request #25 from Michigan-Tech-Courses/max/mic-75-reduce-s…
codetheweb Sep 17, 2021
4e4cd19
Make calendar configurable, clean up <ExportOptions/>
codetheweb Sep 18, 2021
388218e
Merge pull request #26 from Michigan-Tech-Courses/feature/configurabl…
codetheweb Sep 18, 2021
de288b5
First pass at generating keyboard macros
codetheweb Sep 22, 2021
e97dd7e
Fix Autohotkey script
codetheweb Sep 23, 2021
1d4cc54
Update about page
codetheweb Sep 23, 2021
9558160
Merge pull request #28 from Michigan-Tech-Courses/max/mic-91-update-a…
codetheweb Sep 23, 2021
0f4257b
Jump to first event in calendar
codetheweb Sep 23, 2021
34a0779
Merge pull request #29 from Michigan-Tech-Courses/max/mic-93-calendar…
codetheweb Sep 23, 2021
02fb291
Add Autokey support
codetheweb Sep 27, 2021
7b40c7c
Merge pull request #27 from Michigan-Tech-Courses/max/mic-64-generate…
codetheweb Sep 27, 2021
e04bcec
Expand to future semesters
codetheweb Oct 4, 2021
8186921
Move revalidation on semester change to reaction
codetheweb Oct 4, 2021
d7cb30f
Fix lint issues and resolve TODOs
codetheweb Oct 4, 2021
6636958
Support parent course in basket
codetheweb Oct 9, 2021
aba150d
Add warnings when generating CRN script
codetheweb Oct 9, 2021
4034658
Merge pull request #30 from Michigan-Tech-Courses/max/mic-56-extend-s…
codetheweb Oct 11, 2021
eda43d1
Allow multiple baskets
codetheweb Oct 11, 2021
1814a9b
Allow renaming basket
codetheweb Oct 11, 2021
f77cf24
Allow selecting & deleting basket
codetheweb Oct 12, 2021
3d82011
Add tooltip to course add button
codetheweb Oct 12, 2021
56ac60c
Fix various bugs
codetheweb Oct 13, 2021
3718178
More bug fixes
codetheweb Oct 14, 2021
85041eb
Merge pull request #31 from Michigan-Tech-Courses/max/mic-62-allow-fo…
codetheweb Oct 14, 2021
759699b
Reformat about page slightly
codetheweb Oct 14, 2021
6b49941
Add warning for mobile devices
codetheweb Oct 14, 2021
055067e
Remove close button
codetheweb Oct 14, 2021
c615c18
Merge pull request #32 from Michigan-Tech-Courses/max/mic-78-warning-…
codetheweb Oct 14, 2021
858fbf2
Use alias for Plausible script
codetheweb Oct 14, 2021
64647cc
Manually register PWA to better handle upgrades
codetheweb Oct 14, 2021
5511502
Disable Lighthouse rule
codetheweb Oct 14, 2021
84e80f1
Merge pull request #33 from Michigan-Tech-Courses/max/mic-70-refresh-…
codetheweb Oct 14, 2021
231b7f5
Fix revalidation logic
codetheweb Oct 15, 2021
cfee87f
Merge pull request #34 from Michigan-Tech-Courses/max/mic-104-check-t…
codetheweb Oct 15, 2021
0d00943
Fix React hydration warning, spacing in basket table
codetheweb Oct 15, 2021
37a5307
Safari fixes
codetheweb Oct 16, 2021
bbf92b4
Update about page
codetheweb Oct 16, 2021
19e7a24
Hide instructor avatar in generated image
codetheweb Oct 16, 2021
db4a5f7
Extract out search bar
codetheweb Oct 16, 2021
5a852a1
Disable add search query to basket if no current basket
codetheweb Oct 16, 2021
c2d79d7
Fix basket history logic
codetheweb Oct 16, 2021
da8e6a4
Migrate to new Course.fromCredits model
codetheweb Oct 16, 2021
d135b14
Move most toats to bottom right
codetheweb Oct 16, 2021
3e67e55
Fix course sharables
codetheweb Oct 16, 2021
2578e21
Call semester + year -> term instead of semester
codetheweb Oct 16, 2021
f503491
Add warnings if section / course in basket was deleted
codetheweb Oct 16, 2021
1e53f0a
Add anchor link
codetheweb Oct 17, 2021
f39d160
Rename columns
codetheweb Oct 17, 2021
affd077
Allow for ultrawide-specific tips
codetheweb Oct 17, 2021
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
1 change: 1 addition & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
NEXT_PUBLIC_API_ENDPOINT=https://api.michigantechcourses.com
NEXT_PUBLIC_THUMOR_ENDPOINT=https://thumbor.michigantechcourses.com
NEXT_PUBLIC_MAPBOX_ACCESS_TOKEN=

# Set by CI/CD
NEXT_PUBLIC_GIT_REVISION=
12 changes: 9 additions & 3 deletions .github/workflows/lighthouse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,19 +22,25 @@ jobs:
- name: Install dependencies
run: yarn install

- name: Build & export
run: yarn build:export
- name: Build
run: yarn build
env:
NEXT_PUBLIC_API_ENDPOINT: https://api.michigantechcourses.com
NEXT_PUBLIC_GIT_REVISION: random-sha
NEXT_PUBLIC_LIGHTHOUSE: "true"

- name: Serve
run: |
yarn start &

- name: Run Lighthouse against output
id: lighthouse
uses: treosh/lighthouse-ci-action@v3
uses: treosh/lighthouse-ci-action@v8
env:
LHCI_GITHUB_APP_TOKEN: ${{ secrets.LHCI_GITHUB_APP_TOKEN }}
with:
urls: |
http://localhost:3000/
configPath: './lighthouserc.json'
uploadArtifacts: true
temporaryPublicStorage: true
85 changes: 0 additions & 85 deletions components/courses-table/details-row.tsx

This file was deleted.

5 changes: 0 additions & 5 deletions components/courses-table/styles/table.module.scss

This file was deleted.

42 changes: 0 additions & 42 deletions components/data-filter-stats-bar.tsx

This file was deleted.

16 changes: 0 additions & 16 deletions components/inline-stat.tsx

This file was deleted.

60 changes: 0 additions & 60 deletions components/revision-toaster.tsx

This file was deleted.

85 changes: 0 additions & 85 deletions components/search-bar.tsx

This file was deleted.

Loading