hasjob
hasjob copied to clipboard
Email alerts
When a filter is active, an additional line should appear beneath the filters with:
Email me when there's a new job
and Manage email preferences
Both links leading to an email alerts page where the user can (a) select filters as on the home page, and (b) ask for an email alert daily or weekly.
Optional: In addition, the user should be able to choose the weekday (for weekly) and time (for both) when this alert is sent, adjusted to their timezone.
Hasjob keeps a log of every alert sent to the user and when they opened it, and uses this to indicate to the user if their preferred time is working for them, or if they don't seem to be opening the email (bouncing, going into spam/promotional tab, or user is backlogged and not reading email).
Email alerts are an example of a standing campaign as described in #380, but since they are linked to external activity (new job posts by others) rather than the user's flags (I applied for a job, etc), they will need distinct infrastructure.
Filtersets
were recently added to Hasjob to help admins create SEO-friendly pages. A filterset is essentially a combination of filters that is unique for each board. This feature can also be used to help candidates configure email alerts for specific combinations of filters.
The User
model can share a many-to-many relationship with Filterset
through a model called EmailSubscription
. This join model can store the foreign keys and the email preferences. We'll also need a EmailAlert
model that is associated with EmailSubscription
that logs the alert that was sent to the user.
Open question: Should we enable this for anonymous users too? In which case we'll have to add an email
field.
Sticky bar slides (up for mobile, down for desktop ) once user has scrolled below the first fold.