ubyssey / ubyssey.ca Goto Github PK
View Code? Open in Web Editor NEWThe code that powers www.ubyssey.ca
License: GNU General Public License v2.0
The code that powers www.ubyssey.ca
License: GNU General Public License v2.0
The copyright date should update automatically to show the current year
It bumps down the text and leaves a huge space near the top.
Maybe add a cropping feature like this video?
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 π
@jordanschalm commented on Mon Nov 16 2015
@blx commented on Wed Dec 09 2015
@jordanschalm I'm not sure exactly how you wanted to integrate this, but here is a function that will grab the latest article link and image from issuu: https://github.com/ubyssey/dispatch/compare/enhancement/auto-issuu
We could just have a cron job that runs every few hours to ping issuu and update accordingly if there's a new edition?
@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!
We want to have a sidebar widget that displays the top 5 articles from the current week.
@willmcdonald commented on Fri Oct 16 2015
Galleries show up in the post, but don't respond to clicks
@jordanschalm commented on Fri Oct 16 2015
Looks like this issue is confined to the full-width banner template
The article layout looks a little wonky when viewed in portrait mode on an iPhone 7. I'll post screenshots when I get a chance.
@willmcdonald commented on Wed Dec 09 2015
Collapse ad slots when no ads being served
@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.
@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
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
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.
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).
Changes required:
This should be a CSS-only fix. Source styles here:
@willmcdonald commented on Mon Feb 22 2016
We want to add two new pages, each with a simple form that submits to an email address.
Happens when the web browser is half-screen, the CSS switches to mobile view and scales the thumbnail to almost full page width.
We want to add links from our main website to the Ubyssey Store (store.ubyssey.ca). Here's what needs to be implemented:
Requirements:
objects/advertisement.html
to add new ad placement on homepage
mobile-leaderboard
Mobile_Leaderboard
id
parameterWe 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).
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.
The SASS files need to be refactored to conform with the style guide:
https://github.com/ubyssey/ubyssey-dispatch-theme/wiki/SASS-Style-Guide
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?
We want to add a simple "like" button to each article page.
Facebook has a simple plugin you should be able to make use of https://developers.facebook.com/docs/plugins/like-button.
@seanhsiung94 Let's start by placing the button at the bottom of each article and see how it looks.
@willmcdonald commented on Thu Feb 25 2016
A declarative, efficient, and flexible JavaScript library for building user interfaces.
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. πππ
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google β€οΈ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.