joindin / joindin-web2 Goto Github PK
View Code? Open in Web Editor NEWHTTP Frontend For the Joind.in API
License: BSD 3-Clause "New" or "Revised" License
HTTP Frontend For the Joind.in API
License: BSD 3-Clause "New" or "Revised" License
Jira issue originally created by user lornajane:
Can we please add a basic "about" page for the new site? Definitely NOT copying the text of the old one, maybe just that we're working on this new site, email feedbackjoind.in if you like it (or don't) and other general feel-good words
Jira issue originally created by user clair:
We'd like some kind of search functionality for talks and events (as a single thing or separate thing - I don't mind)
We would need JOINDIN-277 to be completed before this can happen
Jira issue originally created by user clair:
A small change of URL structure, as the /view/ seems a little unneeded to me
Jira issue originally created by user clair:
At the moment, the model for getting an event (/Model/API/Event/getBySlug()) is assuming that the ID for the event is known, and stored in the database
This is an incorrect assumption. Instead, we should use the 'uri' field, which will give us the correct API uri to load
Jira issue originally created by user dstockto:
Unit tests are not currently running for the build process. It looks like there's no phing task for running them. This is a remind for me to add that so they will run.
Jira issue originally created by user clair:
At the moment, the homepage copy says "Attended" and "I'm attending". It would be nice to have it say "100 attended" and "I attended" if the event has passed
Jira issue originally created by user tog:
(Not sure if this is the old or responsive site, so please update accordingly. Happens on mobile Safari & Desktop Chrome.)
When performing a search for an event based on dates, and using the popup date picker, the text for the month at the top of the picker is white on a light background, so isn't easy to see. Should be darker text or background to make it easier to read.
Tested on...
iPhone/iOS 6.1.3/Safari
iPhone/iOS 6.1.3/Chrome v25.0.1364.124
MacBook Pro/OSX 10.8.2/Chrome v25.0.1364.172
Jira issue originally created by user clair:
A recent PR (which I've merged, as the page wasn't much use anyway) broke the /event page
It could really use:
Jira issue originally created by user lornajane:
Config file now in config/config.php.dist needs to be copied once onto live server, then symlinked to as config/config.php on each deploy.
Jira issue originally created by user jontheniceguy:
In the follow up from an event, it would be good to be able to review feedback from the talks, without clicking into all the talks and trying to remember which talks you'd seen feedback on already.
Jira issue originally created by user clair:
Currently, if a direct URL is visited, eg. m.joind.in/event/view/phptek-2013 and the particular slug 'phptek-2013' isn't known, then a 404 page is shown
Instead, we should search the API to try and find a correct event (perhaps doing a search for "phptek 2013"), and if this event isn't known (it isn't just a typo on the site visitor's behalf), save to the local database and show that event
This issue gives rise to JOINDIN-277
Jira issue originally created by user clair:
Currently, there is no way to log into joind.in using the responsive site. We'll soon need this functionality
Jira issue originally created by user clair:
The index page on very small screens is broken by the pagination: this could do with some small tweaking
Jira issue originally created by user clair:
The event summary of the frontpage looks slightly odd, as it cuts off at a set number of characters. I'd really like it to cut off at a set amount of words. I think the Twig Text Extension will help with this (http://twig.sensiolabs.org/doc/extensions/text.html)
Jira issue originally created by user clair:
Right now, each part of the main template (head, wrapper/content, foot) uses a div element, which isn't entirely semantic (and means we can't separate use of h1/h2 tags)
I'd really like to use the appropriate tags
Jira issue originally created by user tocacar:
Would it be nicer to use 'use' statements at the top of classes instead of using fully qualified class names when instantiating new objects, or as type hints in method signatures?
For instance, Joindin/Controller/Application.php, line 15:
$event_collection = new \Joindin\Model\API\Event();
could be:
$event_collection = new Event();
Jira issue originally created by user clair:
The event page is currently unstyled, so it would be nice to style and mark it up properly
Jira issue originally created by user clair:
There's currently no talks implementation
Any work (or tickets created) to get this started would be great
Current decisions made:
Jira issue originally created by user clair:
The mobile site needs to have Google Analytics tracking code
The site probably should have a new ID, so the two sites don't get confused. Enygma is probably the right person to ask for this
Jira issue originally created by user lornajane:
If mongo isn't installed or running, we get a pretty ugly error. Can we please catch this and put something friendlier, mostly for developers wanting to set up and work with the responsive site? Currently I see:
Slim Application Error
The application could not run because of the following error:
Details:
Message: An exception has been thrown during the rendering of a template ("Failed to connect to: localhost:27017: Transport endpoint is not connected").
File: /home/lorna/svndir/joindin/responsive/lornajane/Vendor/Twig/lib/Twig/Template.php
Line: 277
Stack Trace:
Jira issue originally created by user clair:
At the moment, URLs are relative to the root (eg. /event/) - for better compatibility with developer's setups, it would be nice if we could configure a base URL, so that they can run the site in a place such as example.com/joindin/
Jira issue originally created by user clair:
On a keyboard-and-mouse device, the maps on the events page look lovely and work in a nice way
However, on a touch enabled device, it doesn't work so well. It still looks lovely, but you can't scroll around to move the map around
Jira issue originally created by user s_e:
After the Guzzle talk at PHPNW13 and a quick chat with [akrabat], [lornajane] and [~clair] I thought this would be an ideal modular way of calling the API for the responsive site, with a long-term view to having a simple Joind.in API client that could be used in any php-based site wishing to make use of Joind.in data.
I'm happy to be the one to (start) implement(ing) this.
Let me know if you have any comments or suggestions, like or dislike the idea?
Jira issue originally created by user clair:
At the moment, the API URL is hard-coded, so it is difficult to test using your own test data/API server
It would be nice if this could be configurable somewhere
Jira issue originally created by user clair:
At the moment, events and talks are routed in a similar fashion to the main site, but we don't want to use the API ID in the URL
Instead, we need to create new routing which will use its own ID/slug, potentially storing these in a database, and potentially using the event name as the slug. We probably don't want to use the talk title for the talk's slug, as this may not be unique
Jira issue originally created by user lornajane:
Looking at http://m.joind.in, we've copied the nav off the old site. As a minimum, we do not want to take the blog with us. I'm also not at all sure we want to keep the old UI as it's rather unintuitive. Thinking about the best way to support our users in their tasks would be WAY better.
Jira issue originally created by user tocacar:
In Controller/Event.php, slug values are being referred to as $id which is misleading (for instance, see 'show' method).
Jira issue originally created by user stevemeyers:
It'd be useful to have a grid-style display of sessions. Most conferences use a grid display for their sessions. Examples:
http://www.oscon.com/oscon2012/public/schedule/grid/public
http://www.midwestphp.com/schedule
Jira issue originally created by user clair:
At the moment, the event cards on the homepage doesn't show the location. It would be nice to put it somewhere
Jira issue originally created by user lornajane:
As a minimum we need to be able to configure the database name so that we can run both a test and a live site on the same box. This should be put into config/config.php.dist and the code adjusted to take account of it.
Please mention in the pull request that we need to update the config file on live when we deploy!
Jira issue originally created by user clair:
On certain event map pages (it appears to be those with short names), the map page layout is broken and you get a really narrow page with the navigation underneath
Jira issue originally created by user clair:
If an event has a slug, then we should be able to accept it in the new site URL
This will, I think, need a feature in the API to be able to get an event by slug (a ticket has been created for this)
Jira issue originally created by user clair:
At the moment, the navigation buttons in a narrow viewport (when they're not tabs) aren't too great. They really could do with making a little nicer and less scattered
Jira issue originally created by user clair:
At the moment there isn't much to grab your attention on the homepage - any improvements that can be made to add more stuff that could be deemed useful to capture the conference-goer's attention would be really nice
Jira issue originally created by user clair:
At the moment, each Controller class is initialised manually in index.php:
new Controller\Application($app);
new Controller\Event($app);
This is probably fine for now, but once the site grows it needs to be rethought so that each route doesn't need a whole new line
Jira issue originally created by user clair:
At the moment, event slugs are simply stripped of spaces and turned into lowercase. This means if two events have the same name, they will also have the same slug
We need to add functionality to make slugs more unique, for example appending a incrementing digit to the end (eg. phpnw-conference-1)
Setting as blocker as although no event probably share the same name at the moment, it's a possibility that it will (and may do in the future), and it may cause problems with the data
Jira issue originally created by user clair:
Currently, if MongoDB is down, you get a nice friendly error message when in development mode, which is lovely
But you don't get them when you visit an event page (eg. /event/view/northeast-php-2013), instead you get the Slim error message
Jira issue originally created by user clair:
We need to add a link to Combell at the bottom of all pages, as like the original website
Jira issue originally created by user clair:
At the moment the template is using a default Twitter Bootstrap template. I think so that it isn't such a big change, we should probably change the template to look like the original site
Jira issue originally created by user erichogue:
The new VM for the responsive site does not see the the VM used for the original site and the API. They need to be on the same network so the responsive site can use the API on the dev environment, not the live one.
Jira issue originally created by user clair:
If you add a trailing slash in the URL, eg. /event/ instead of /event, the routing breaks and the 404 page appears
Jira issue originally created by user clair:
We should remove the event slug from being generated by the site itself, and instead rely on using the API (to do the latter isn't in the scope of this ticket, I've created another ticket for that)
Instead, I propose a hash of the event name instead and using that to store in the local DB and use for URLs
Jira issue originally created by user clair:
Once the routing has been completed (JOINDIN-250), the URL on the homepage to the different events will need to be updated, so that they don't point to the main site
Jira issue originally created by user clair:
To aid keep download requests/weight down, it would be nice to minify and possibly merge into one file all javascript files on build
Extra bonus points if we're able to minify other things on build too, such as our CSS file :)
Jira issue originally created by user clair:
Right now, some controllers pass an object to the view, and some pass an array
This gets a little confusing, especially if we want to share common template files. So I think we should pick one and refactor where appropriate
I'm open to which one we go for (personally I'd go for an array, with the ability to use getters if we need to: because it's less work to use a field from the API)
Jira issue originally created by user clair:
At the moment, the Combell logo is relatively heavy, and we want to keep the responsive site light - currently, the logo is the largest item (in page weight) on the homepage
We would like the logo optimised as much as possible, without losing quality
Once done, please ping lornajane, who can get in touch with Combell to check that they are happy with the new image
Jira issue originally created by user tocacar:
After reading this blog post http://adactio.com/journal/1274/ I thought it would be a nice idea if joind.in event pages could be decorated photos taken by attendees.
Following discussion on IRC, skoop suggested having photos decorate talk pages too.
Jira issue originally created by user clair:
For accessibility, it would be nice to include ARIA roles to the new template
Jira issue originally created by user lornajane:
Using the Jenkins task "Launchtest_responsive_site" I tried to launch a particular github branch (lornajane/routing_anddata). The job thinks that it completed correctly but when I visit http://test.m.joind.in I see a very old copy of the site, definitely not the code I just tried to deploy.
Jira issue originally created by user jthijssen:
There should be a statistics page for each user (https://joind.in/user/stats/{id}) where you can find all the statistics for that user. For instance:
How many conferences attended
How many talks per conference commented
Average rating given
Average comment lenght given
Talks given
Average talk rating
Average comment per talk
The current view page (https://joind.in/user/view/{id}) for some users (like me) are getting ridiculously long so maybe another feature would be just to collapse parts (like all the talks you commented on). Maybe then the stats could be placed on top of that page.
Also: badges (speaker badge when you have 1 claimed talk, "organizer" when you are conf-admin, superorganizer when you have 5 conf-admins, super-commenter when 50 comments etc..
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.