hasjob icon indicating copy to clipboard operation
hasjob copied to clipboard

Share buttons for boards

Open belihub opened this issue 8 years ago • 6 comments

Could have individual share buttons on hover over yellow post-its on hasjob.co, so people browsing can quickly share it with their friends (pm's and email included if possible)

belihub avatar Mar 16 '16 09:03 belihub

The job pages have share buttons. We need them for sub-boards.

jace avatar Mar 17 '16 06:03 jace

The board's share buttons will also obsolete the tiny twitter link in the footer, which is a terrible place to put share buttons.

jace avatar Mar 20 '16 09:03 jace

What are sub-boards?

iambibhas avatar Apr 25 '16 19:04 iambibhas

Like these:

  1. https://cto.hasjob.co/
  2. https://morpheusgang.hasjob.co/
  3. https://singapore.hasjob.co/

You can make a new board from https://hasjob.co/board

jace avatar Apr 25 '16 19:04 jace

When you visit https://hasjob.co/, you're actually visiting a sub-board named www. If there is no such board, you'll see all jobs and hardcoded values in the templates. If the www board exists, data from that is used instead. Doing this lets us specify consistent behaviour in the templates between main board and sub-boards.

When you visit a job page, if that job is not hosted on the current sub-board, you'll get redirected to the sub-board it is on, defaulting to www board. This check is not performed when you're on the www board. You'll see this around the code in the form of g.board.is_root and g.board.not_root checks.

All pages in sub-boards also have a <link rel="canonical" href="…"/> that points to the same page on the root board, so Google doesn't penalise us for duplicating pages.

jace avatar Apr 25 '16 19:04 jace

For the sub-board, can do something like this? -

selection_650

iambibhas avatar Aug 22 '16 13:08 iambibhas