Giter Site home page Giter Site logo

amot-dev / star-trek-episodes Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 1.73 MB

A tool that sorts Star Trek episodes by various characters, planets, and species.

Home Page: https://amot.dev/star-trek-episodes/

License: GNU General Public License v3.0

JavaScript 1.65% HTML 96.87% CSS 0.22% SCSS 1.25%
startrek

star-trek-episodes's Introduction

Star Trek Episodes

A sortable list of all Star Trek episodes.

When complete, this project will contain a list of all Star Trek episodes and movies. Each episode or movie will have:

  • A title
  • An episode number
  • An image
  • A description
  • A link to the episode on Memory Alpha for a full summary
  • Tags for easier browsing of the episodes (I might need help on this one; it could be hard to watch 700+ episodes and add tags to them)

If you have any other suggestions, add them as an issue with the label 'Idea'.

Check it out here.

star-trek-episodes's People

Contributors

amot-dev avatar

Watchers

 avatar

star-trek-episodes's Issues

Add all episodes

I'm making this a checklist so I can feel better about progress.

  • TOS S1
  • TOS S2
  • TOS S3

  • TAS S1
  • TAS S2

  • TNG S1
  • TNG S2
  • TNG S3
  • TNG S4
  • TNG S5
  • TNG S6
  • TNG S7

  • DS9 S1
  • DS9 S2
  • DS9 S3
  • DS9 S4
  • DS9 S5
  • DS9 S6
  • DS9 S7

  • VOY S1
  • VOY S2
  • VOY S3
  • VOY S4
  • VOY S5
  • VOY S6
  • VOY S7

  • ENT S1
  • ENT S2
  • ENT S3
  • ENT S4

Not sure how many seasons ST: Discovery will have, but it'll probably be in another issue (unless I get really lazy) so whatever.


  • Movies

Regular characters have one too many episodes and I can't figure it out

According to IMBD (Memory Alpha doesn't have an episode list for her), Beverly Crusher appears in every episode except for season 2, so 178 - 22, or 156 episodes. Somehow, CTRL-F for "character-beverlycrusher" yields 157 results. I've triple checked the entire page and I cannot find where I went wrong. Help.

Now Data is also appearing in one too many episodes.

At first I thought it could be that there are too many episodes, but a CTRL-F for "episode=" returns 176 hits, so it's not that.

Add footer

It would have the same color as the header.

Implement tags

  • Make list of tags available
  • Add tags to episodes
  • Create tag searching function

Add character tags to TNG

All the tags that need to be dished out:

  • character-alexanderrozhenko (Alexander Rozhenko)
  • character-alynnanechayev (Alynna Nechayev)
  • character-alyssaogawa (Alyssa Ogawa)
  • character-argyle (Argyle)
  • character-betor (B'Etor)
  • character-beverlycrusher (Beverly Crusher)
  • character-bok (Bok)
  • character-chekote (Chekote)
  • character-data (Data)
  • character-deannatroi (Deanna Troi)
  • character-dexterremmick (Dexter Remmick)
  • character-duras (Duras)
  • character-edwardjellico (Edward Jellico)
  • character-geordilaforge (Geordi La Forge)
  • character-gowron (Gowron)
  • character-gregoryquinn (Gregory Quinn)
  • character-guinan (Guinan)
  • character-homn (Homn)
  • character-hugh (Hugh)
  • character-jamesmoriarty (James Moriarty)
  • character-jeanlucpicard (Jean-Luc Picard)
  • character-katherinepulaski (Katherine Pulaski)
  • character-kehleyr (K'Ehleyr)
  • character-keikoobrien (Keiko O'Brien)
  • character-kurn (Kurn)
  • character-leahbrahms (Leah Brahms)
  • character-lore (Lore)
  • character-lursa (Lursa)
  • character-lwaxanatroi (Lwaxana Troi)
  • character-milesobrien (Miles O'Brien)
  • character-minuet (Minuet)
  • character-mollyobrien (Molly O'Brien)
  • character-mot (Mot)
  • character-nakamura (Nakamura)
  • character-nooniansoong (Noonian Soong)
  • character-q (Q)
  • character-reginaldbarclay (Reginald Barclay)
  • character-robinlefler (Robin Lefler)
  • character-rolaren (Ro Laren)
  • character-sela (Sela)
  • character-shelby (Shelby)
  • character-sitojaxa (Sito Jaxa)
  • character-sonyagomez (Sonya Gomez)
  • character-spot (Spot)
  • character-tashayar (Tasha Yar)
  • character-tomalak (Tomalak)
  • character-toral (Toral)
  • character-traveler (The Traveler)
  • character-vash (Vash)
  • character-wesleycrusher (Wesley Crusher)
  • character-williamriker (William Riker)
  • character-worf (Worf)

Remove unimportant characters from TOS and TAS

Some characters have slipped by me:

  • DeSalle
  • Galloway
  • Hadley
  • John Farrell
  • Kelowitz
  • Leslie
  • Palmer
  • Roger Lemli
  • Gabler

I am keeping Angela Martine, Janice Rand, and Kyle (mainly due to his role in Star Trek II)

Fix tag show/hide

Upon closer inspection of the JS, I realized that the current setup breaks with more than one tag applied. Oh, and it does the opposite of what is needed, hiding the selected tag instead of only showing that.

This whole code needs to be rewritten. But not now cause no thanks.

Missing tags on TOS?

I've run into a few characters, planets, and species that are missing from TOS, as well as many episodes that aren't properly tagged. I guess that one's on me, but it'll have to be looked over again at some point.

Change color scheme

Currently the site is grayscale, which doesn't look bad, but it could be made more interesting. I like the color of #series-nav, .summary, and .episode, but otherwise it could do with a revamp.

Embellish landing page

It's really ugly now

Like very ugly

Very very ugly

Let's make it pretty with a bunch of text that probably doesn't say too much but makes it look like I have a lot to say

How many headings are there?
Hmmm...

####### I guess that's it

Additional 'all' page

Alongside the series pages, I could have an all page with every episode on it. This would make searching easier and wouldn't be too much of a burden with nav links to each section. The best option would probably be dropdowns for each series, though I think that would kill the look of the website.


Another possibility is to forego the series pages and just use an all page. I'm not sure how I feel about that thought. I like my pages.


Finally, I could use tabs to separate series. Tag search would remain the same and only .season elements would switch.

How to implement tags

Several options I've thought of

Having them as classes and using something like Isotope to hide and show episodes by tag (also being able to select multiple tags). The problem with this is I think it only works with direct child elements, so the tags would have to be by season only.


Going on the above option, I could write my own JS to select elements with the class .episode and hide them if they don't also have the classes of any tags selected, such as maybe .character-quark, .species-klingon, or mood-serious. This could help people find good episodes fast. It would also be useful if I put all series on one page for this. Perhaps I could have them separated, then have an 'all' page where I could dump episodes and have the h2 heading be something like "VOY - Season 2" instead of the current "Season 4" style.

This could be done using something like this.

There would also need to be a search function in this case; there are too many tags for buttons. I'm thinking you'd be able to search a library of tags stored as a JS object (which would be displayed with human readable names). Then search results would appear in bubbles, similar to Bing Image search 'search tags' (mobile version only). Selecting one would darken it and make it visible at the front even when searching for something else. It would of course also apply the filter. The search results could be shown using CSS Grid with a fallback to float if Grid isn't available.


Another option is to have tags simply displayed within .episode elements. In this scenario, it wouldn't be possible to search for tags though, unless you use CTRL-F, but not everyone knows about that, and it's not that clean.

Fetch episodes from Memory Alpha

A JS function should be written that takes the season, episode, and name of a series, and returns the title, description, image, and a link to memory alpha.

This should make this project a lot less tedious and more of a matter of tagging episodes.

Tag episodes

I'm making this a checklist so I can feel better about progress.

  • TOS S1
  • TOS S2
  • TOS S3

  • TAS S1
  • TAS S2

  • TNG S1
  • TNG S2
  • TNG S3
  • TNG S4
  • TNG S5
  • TNG S6
  • TNG S7

  • DS9 S1
  • DS9 S2
  • DS9 S3
  • DS9 S4
  • DS9 S5
  • DS9 S6
  • DS9 S7

  • VOY S1
  • VOY S2
  • VOY S3
  • VOY S4
  • VOY S5
  • VOY S6
  • VOY S7

  • ENT S1
  • ENT S2
  • ENT S3
  • ENT S4

Not sure how many seasons ST: Discovery will have, but it'll probably be in another issue (unless I get really lazy) so whatever.


  • Movies

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.