Skip to content

Commit e2c48c7

Browse files
committed
remove stackoverflow jobs (disconnected service)
1 parent f130349 commit e2c48c7

8 files changed

Lines changed: 8 additions & 144 deletions

File tree

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
[![Chrome Web Store Rating](https://img.shields.io/chrome-web-store/stars/ocoipcahhaedjhnpoanfflhbdcpmalmp.svg?colorB=%234FC828&label=rating&style=flat)](https://chrome.google.com/webstore/detail/hackertabdev/ocoipcahhaedjhnpoanfflhbdcpmalmp/reviews)
66

77
# Hackertab.dev — The Developer’s Homepage
8-
Hackertab turns your New Tab page into a geeky one that keeps you as a developer updated with the latest tech news, libs, jobs and events.
8+
Hackertab turns your New Tab page into a geeky one that keeps you as a developer updated with the latest tech news, libs and events.
99

1010
<img src="/demo/demo_hackertab.dev.jpeg" width="100%" alt="Hackertab.dev"/>
1111

@@ -16,7 +16,7 @@ Hackertab saves you time and gives you a daily dose of tech news you need to kno
1616
👉 [now.hackertab.dev](https://now.hackertab.dev)
1717

1818
#### How?
19-
Hackertab brings the latest news, libraries, tech events, jobs... related to your profile (back-end, mobile, full stack, data scientist...)
19+
Hackertab brings the latest news, libraries, tech events... related to your profile (back-end, mobile, full stack, data scientist...)
2020
and visualize them in a proper way so you don't have to waste time jumping between different data sources.
2121

2222

@@ -43,7 +43,6 @@ and visualize them in a proper way so you don't have to waste time jumping betwe
4343
- DevTo
4444
- Hashnode
4545
- Lobsters
46-
- Stackoverflow Jobs
4746
- Confs.tech
4847
- Product Hunt
4948
- Reddit

src/Constants.js

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import React from 'react'
22
import HNCard from './cards/HNCard'
33
import DevToCard from './cards/DevToCard'
44
import ConferencesCard from './cards/ConferencesCard'
5-
import JobsCard from './cards/JobsCard'
65
import ReposCard from './cards/ReposCard'
76
import ProductHuntCard from './cards/ProductHuntCard'
87
import RedditCard from './cards/RedditCard'
@@ -14,13 +13,11 @@ import { SiYcombinator } from 'react-icons/si'
1413
import { FaDev } from 'react-icons/fa'
1514
import { SiProducthunt } from 'react-icons/si'
1615
import { FaReddit } from 'react-icons/fa'
17-
import { SiStackoverflow } from 'react-icons/si'
1816
import { HiTicket } from 'react-icons/hi'
1917
import HashNodeIcon from './static/icon_hashnode.png'
2018
import LobstersIcon from './static/icon_lobsters.png'
2119
import { FaFreeCodeCamp } from 'react-icons/fa'
2220

23-
2421
const APP = {
2522
name: 'Hackertab.dev',
2623
slogan: '— Stay updated with the new technology and trends',
@@ -47,13 +44,6 @@ export const SUPPORTED_CARDS = [
4744
label: 'Github repositories',
4845
component: ReposCard,
4946
},
50-
{
51-
value: 'jobs',
52-
icon: <SiStackoverflow color="#F18032" />,
53-
analyticsTag: 'jobs',
54-
label: 'Featured jobs',
55-
component: JobsCard,
56-
},
5747
{
5848
value: 'hackernews',
5949
icon: <SiYcombinator color="#FB6720" />,

src/bookmark/BookmarksSidebar.js

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import './Sidebar.css';
33
import { VscChromeClose } from 'react-icons/vsc';
44
import { TiDelete } from 'react-icons/ti';
55
import { HiTicket } from 'react-icons/hi';
6-
import { SiGithub, SiReddit, SiStackoverflow, SiProducthunt, SiYcombinator } from 'react-icons/si';
6+
import { SiGithub, SiReddit, SiProducthunt, SiYcombinator } from 'react-icons/si'
77
import { ProSidebar, Menu, MenuItem, SubMenu, SidebarHeader, SidebarContent } from 'react-pro-sidebar';
88
import 'react-pro-sidebar/dist/css/styles.css';
99
import PreferencesContext from '../preferences/PreferencesContext';
@@ -80,13 +80,6 @@ function BookmarksSidebar({ showSidebar, onClose }) {
8080

8181
</SubMenu>
8282

83-
<SubMenu title="Featured Jobs" icon={<SiStackoverflow />}
84-
suffix={<span className="badge yellow">{jobsBookmarks.length}</span>}
85-
>
86-
{
87-
jobsBookmarks.map((bm, index) => (<BookmarkItem item={bm} key={`ft-${index}`} />))
88-
}
89-
</SubMenu>
9083
<SubMenu title="Conferences" icon={<HiTicket />}
9184
suffix={<span className="badge yellow">{conferencesBookmarks.length}</span>}
9285
>

src/cards/JobsCard.js

Lines changed: 0 additions & 107 deletions
This file was deleted.

src/configuration/AppWrapper.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ export default function AppWrapper({ children }) {
3434
userSelectedTags: configuration.supportedTags.filter((tag) =>
3535
preferences.userSelectedTags.includes(tag.value)
3636
),
37+
cards: preferences.cards.filter((card) => card.name != 'stackoverflow'),
3738
}
3839
return {
3940
...initialState,

src/configuration/ConfigurationContext.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ const ConfigurationContext = React.createContext({
77
label: 'Javascript',
88
githubValues: ['javascript'],
99
confsValues: ['javascript'],
10-
stackoverflowValues: ['javascript'],
1110
devtoValues: ['javascript'],
1211
hashnodeValues: ['javascript'],
1312
},

src/services/stackoverflow.js

Lines changed: 0 additions & 11 deletions
This file was deleted.

src/utils/Analytics.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,8 @@ const trackException = (exceptionMessage, fatal) => {
9090
console.log('Analytics debug payload', payload.toString())
9191
return
9292
}
93-
94-
navigator.sendBeacon('https://www.google-analytics.com/collect', payload.toString())
93+
// Disabled
94+
//navigator.sendBeacon('https://www.google-analytics.com/collect', payload.toString())
9595
}
9696
const getResolution = () => {
9797
const realWidth = window.screen.width
@@ -133,8 +133,8 @@ const trackEvent = (category, action, label) => {
133133
console.log('Analytics debug payload', payload.toString())
134134
return
135135
}
136-
137-
navigator.sendBeacon('https://www.google-analytics.com/collect', payload.toString())
136+
// Disabled
137+
//navigator.sendBeacon('https://www.google-analytics.com/collect', payload.toString())
138138
}
139139

140140
const getRandomUserId = () => {

0 commit comments

Comments
 (0)