Git Product home page Git Product logo

ubyssey.ca's People

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

Watchers

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

ubyssey.ca's Issues

Wrong timezone

The date displayed in the website is incorrect. I suspect that it's UTC or some time zone in Europe/Asia because as of 20:46, Jan.05, 2016, the website has already displayed a date as Jan.06. An article that I read several hours ago showed a submission time of 1:45 am, Jan.06.

untitled

Improve homepage load speed

The homepage is loading slowly in production and I suspect that it's due to a high number of complex database queries. It'd be great if we could find a way to simplify the queries being made in this view, which includes a call to ArticleHelper.get_frontpage.

Keep in mind that I could be wrong and it might be something other than the queries. We just need to make the page fast again πŸ˜„

Social buttons don't work on AJAX-loaded articles

@jordanschalm commented on Fri Oct 16 2015


@jordanschalm commented on Thu Nov 19 2015

in static/js/dist/main.js the click events need to be added to the new social buttons on each article load


@willmcdonald commented on Thu Nov 19 2015

Facebook button doesn't work in general. Gets error message "App Not Setup: This app is still in development mode, and you don't have access to it. Switch to a registered test user or ask an app admin for permissions."


@psiemens commented on Thu Nov 19 2015

Just moved the app out of development mode (oops). Can one of you try sharing an article? It works for me regardless because the app is under my FB account.


@willmcdonald commented on Thu Nov 19 2015

Working for me now. Thanks!

Collapse advertisement slots when empty

When an advertisement slots are empty (no ad is served), it leaves an awkward empty space on our site. We should find a way to either collapse the container if no ad is served, or keep all containers collapsed by default and only expand them if an ad is inserted by DoubleClick.

A few examples:

screen shot 2016-09-08 at 10 30 36 pm

screen shot 2016-09-08 at 10 32 34 pm

Updating Weekend Reading Box

@willmcdonald commented on Wed Jan 20 2016

When new stories added, the "Weekend Reading" title doesn't show up in the homepage. Tried updating it on the backend, but wouldn't show up on home page unless title changed (I added an extra space after Weekend Reading for a workaround)


@jordanschalm commented on Wed Jan 20 2016

This is a bigger issue with how updating components is handled on the front-end in general.

Most Popular This Week Box not updated weekly

@willmcdonald commented on Wed Dec 09 2015

Stories with most overall views rather than most views for the week appear


@blx commented on Wed Dec 09 2015

cc @jordanschalm @psiemens

I think the way dispatch stores views right now is just as a count on each article that gets incremented on every view (dispatch.apps.content.Publishable.views) -- we're not storing timestamp info so we can't break it down like that currently.

To get things like "most views for the week" we either have to

  • write something to periodically pull this stuff out of google analytics (possibly sketchy) or
  • do something like move the views count on Publishable to be a View model that just has a timestamp field plus a FK back to the Publishable and then whatever other fields we want to record

@blx commented on Wed Dec 09 2015

The mechanics are already in place to get the most popular articles edited this week (by total views, but it shouldn't matter on that timescale).

This would mostly work, except eg. if Article X, last edited two weeks ago, was super popular this week it wouldn't get listed.

Adjust article font size

A few of our readers/editors have said that they find the article font size to be a bit too small. I'd like to experiment by increasing the paragraph font size from 16px to 17px (1.0625em).

Before:
screen shot 2017-01-22 at 4 28 52 pm

After:
screen shot 2017-01-22 at 4 30 00 pm

Changes required:

  • Increase article paragraph font-size from 16px to 17px
  • Increase article paragraph line-height to add more space for larger text
  • Convert px units to em
  • Increase paragraph margin-bottom to add more space between paragraphs

This should be a CSS-only fix. Source styles here:

https://github.com/ubyssey/ubyssey-dispatch-theme/blob/staging/ubyssey/static/src/styles/modules/article/_base.scss#L148-L160

Add links to Ubyssey Store

We want to add links from our main website to the Ubyssey Store (store.ubyssey.ca). Here's what needs to be implemented:

  • Add a link to the main navigation
  • Use the Shopify API to feature top items in the sidebar next to articles

Add mobile banner advertisement to homepage

Requirements:

  • Use objects/advertisement.html to add new ad placement on homepage
    • size: mobile-leaderboard
    • name: Mobile_Leaderboard
    • omit id parameter
  • Use CSS to hide the ad on larger displays (only show on mobile)

Email newsletter subscription β€” most-read stories of the week

We want to add a newsletter signup form that adds users to a Mailchimp email list.

The form will appear in the footer of the website, as well as the article sidebar and possibly as the occasional popup.

I'll take care of setting up the actual Mailchimp list, so you won't have to worry about that. Most of your work will be building/styling the form(s).

Improve homepage algorithm

The homepage sorting algorithm currently puts too much emphasis on the reading_time attribute, which means that articles from a long time ago sometimes how up on the front page. We should set some sort of time limit to prevent this.

Implement full article archive

Quoted from Sam (news editor):

I was wondering if there was any way that eventually, readers to our website could go way further back in the specific sections. For example, when you click on news there are quite a few articles right now that you can scroll down as boxes, which looks great, but then when you eventually get to the bottom, there could be an arrow to take you to a separate page deeper into the archives or whatever!

I'd like to build a complete, searchable archive for all articles (and possibly images) on our website. It's an important piece that's currently missing. We'll have to discuss the design in more detail, but I'm picturing a page that allows you to search and filter by section, year, month, etc.

@mchernoff Do you think this is something you could take on eventually?

Improve video player, add play button

The YouTube video player should be improved to display the title of the video, as well as a large, easy-to-click 'play' button in the center.

This is the current design:

screen shot 2017-01-15 at 5 40 00 pm

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.