Git Product home page Git Product logo

just-the-class's Introduction

Kevin Lin (he/him) is an Assistant Teaching Professor in the Paul G. Allen School of Computer Science & Engineering at the University of Washington. He leads instructional innovation in data programming and data structures with a focus on empowering students to redesign computing problems and artifacts. Kevin received his MS in Computer Science from UC Berkeley, where he coordinated the teaching and delivery of very large-scale undergraduate CS courses to over 1,000 students per semester.

View his GitLab profile for more public commit activity.

just-the-class's People

Contributors

addcninblue avatar akindofyoga avatar kevinlin1 avatar mattxwang avatar ykharitonova avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

just-the-class's Issues

better supporting just-the-class from upstream (just-the-docs)

Hi @kevinlin1! I'm one of the new maintainers for just-the-docs. Big fan of just-the-class (and, CS Ed - your research / pedagogy sounds very cool)!

Wanted to open this issue to see if there are any things we can implement upstream to better support just-the-class; I'm wrapping up the 0.4.0 release candidate, and can slot in any changes you have in mind before the fall quarter starts! Looking to be more proactive now that just-the-docs is actively maintained again (for example, another maintainer implemented a PR to significantly improve nav generation for large sites - just-the-docs/just-the-docs#956).

If not, no worries - feel free to close this issue!

Site not displaying correctly

Hello, and thank you for providing this template.

I created a repository by following your link (1. Create a new repository based on Just the Class.).

After pointing GitHub Pages to the master branch of my repo, the resulting website does not display correctly. When I inspect the site, I see the following errors:

just-the-docs.js:1 Failed to load resource: the server responded with a status of 404 ()
lunr.min.js:1 Failed to load resource: the server responded with a status of 404 ()
just-the-docs-default.css:1 Failed to load resource: the server responded with a status of 404 ()
just-the-docs.js:1 Failed to load resource: the server responded with a status of 404 ()
just-the-docs-default.css:1 Failed to load resource: the server responded with a status of 404 ()

Note that the site is displayed correctly, when I test it locally. I only see the following error on the console: /sw.js' not found.

Am I missing something in my repo setup?

Unable to display more than one section on the same day

Hello!

I'm working on the _schedules/weekly.md file and I noticed that I am unable to display more than one section on the same day. Here's what I have for one of the days:

...
  Wednesday:
    Section:
      start: 10:00 AM
      end: 10:50 AM
      location: Zoom
    Section:
      start: 11:00 AM
      end: 11:50 AM
      location: Zoom
...

The resulting page displays only the 11AM section. Am I able to fix this issue on my end?

Also, where can I change the color of each type of event?

Thank you in advance for looking into this!

Course Logo

Hey Kevin,

This template is awesome. I was wondering what the easiest way to add a logo to the title/navbar would be. Seems like the just-the-docs template has a config variable for logo that I don't see on this one.

Thanks!

Dark Mode Toggle

Hi Kevin,

Nice job on this template. I just wanted to suggest a three-way dark mode toggle on the top right similar to what is implemented here:
https://peps.python.org

I know we can edit _config.yml to change the theme to dark, but it is before deployment and robs users of a choice. Could you please have a look into this?

Thanks!

Overlapping schedule items

Thanks again for all your work on just-the-class!

Is your feature request related to a problem? Please describe.

In a course, we may have two completely overlapping schedule items. For example, in the spring iteration of the class I'm TAing for, we have two discussion sections that happen at the same time: on Friday from 2-3:50 PM.

Screenshot 2023-04-02 at 1 34 23 PM

Unfortunately, since they completely overlap, it's not possible to see the first event at all (in this case, Section 1B). You can verify that it's still being rendered in the DOM with dev tools, etc.

Describe the solution you'd like

The immediate solution that jumped to my mind is to have "half-cards" when there's overlap. Here's a hacky solution that sets width: 50%, and right: 0 on the second card. This is inspired by what Google Calendar does.

Screenshot 2023-04-02 at 1 27 06 PM

As it stands, it's not great, but I think with some minor CSS tweaks this could be resolved (ex font sizes, etc.).

Detecting just two complete overlaps should be doable with a bit of preprocessing before iterating through site.schedules.

Describe alternatives you've considered

Two issues with what I've mentioned above:

  • it scales poorly to 3+ overlaps (you'd have little to no screen real estate)
  • the cards have quite a bit more visual clutter, and the shared color does not help

A handful of other suggestions:

  • render only one card for the overlap slot; but, merge the information on one card. This approach doesn't work if the overlap isn't exact.
  • show one card, but let the user know that there are two events "on" that card; with some interaction (ex on hover/click), see the other one. This one seems to have too much friction and could be inaccessible.
  • expand the width of the column when there are overlaps. Scales poorly if multiple days have overlaps :')
  • if automatically detecting the overlap isn't possible, we could also ask the user to specify this in configuration (ex a left or right key that toggles a CSS class)

Additional context

Could be out of scope of the theme; if so, feel free to close. Also happy to submit a PR if you'd like!

Linking to other site pages

I've been trying to figure out how to correctly link to different pages of the site. Specifically, I wanted the announcements to link to the corresponding pages elsewhere on the site.

Here's an undo of my previous attempt: the links in the announcement were resulting in 404, so I removed the text from the announcement and added it to the index page, where links worked correctly:
ucsb-ds/ds1-f20@346c75d

Seems that I need to use {{ site.baseurl }} and drop .md in the page name.

The following links added to an announcement seem to work:

[Getting Started section]({{ site.baseurl }}/#getting-started)
or
[Getting Started section]({{ site.baseurl }}/index#getting-started)

Or to link to a calendar.md:
[Calendar]({{ site.baseurl }}/calendar).

Is this the correct/suggested way to link to the other pages of the site?

If so, I was hoping that we can add it to the README.

Thank you!

Controlling the order in which the modules appear

Hello,

I renamed the markdown files for weekly modules (from the template) and now they're displayed out of order on the site. Below, the module entitled 'fin' should be last, for example.

image

Can you give me some tips on how to control the sequence? Thanks!

Visualization of website not correct

Describe the bug
I just forked your template, and tried to visualize the website (I haven't modified anything yet). However, the visualization of the website seems not correct. Please see screenshot below. Hope you can help, thanks!

JTC

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.