Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Runn #8

Open
wants to merge 43 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
5797d31
chore: update names
englunddesigns Nov 23, 2022
ee28977
file structure added
kumsw Nov 23, 2022
59d62f2
wip: annoucement card
englunddesigns Nov 23, 2022
d3cd3ba
quick access tools
kumsw Nov 23, 2022
f406e91
chore: add slack user api call
englunddesigns Nov 23, 2022
46c7bf0
Merge branch 'master' of github.com:teamplanes/planes-dashboard
englunddesigns Nov 23, 2022
cce6eaf
greeting fixed
kumsw Nov 23, 2022
a592f48
fix: merge conflicts
englunddesigns Nov 23, 2022
bd307d3
chore: add yarn lock
englunddesigns Nov 23, 2022
7e29204
chore: fix slack-api-token
englunddesigns Nov 30, 2022
3b02db8
Frontend setup
caseyhoepner Nov 30, 2022
50bfca1
chore: fix chakra styling
englunddesigns Nov 30, 2022
a0793dd
Merge branch 'master' of github.com:teamplanes/planes-dashboard
englunddesigns Nov 30, 2022
934a450
Block section
caseyhoepner Nov 30, 2022
66d6f7c
Fix probs
caseyhoepner Nov 30, 2022
c452bf1
Merge branch 'master' into block
caseyhoepner Nov 30, 2022
b9d5547
chore: added slack link button
englunddesigns Nov 30, 2022
ca14c31
fix: merge conflicts
englunddesigns Nov 30, 2022
65b6c00
fix: merge conflicts
englunddesigns Nov 30, 2022
c66fb50
More styles
caseyhoepner Nov 30, 2022
00a108b
Change section to reminder
caseyhoepner Nov 30, 2022
49023c0
Remove background from section
caseyhoepner Nov 30, 2022
be363b3
Make BorderBox
caseyhoepner Nov 30, 2022
ecb827b
Add all colors to the theme
caseyhoepner Nov 30, 2022
04d42ae
chore: update styling
englunddesigns Nov 30, 2022
a7d7c6d
fix: merge conflicts
englunddesigns Nov 30, 2022
4047ec4
Start styling tools section
caseyhoepner Nov 30, 2022
d13533d
chore: update styling in annoucement section
englunddesigns Nov 30, 2022
fe0edd1
fix: merge conflicts
englunddesigns Nov 30, 2022
c9c7a41
Add to greeting
caseyhoepner Nov 30, 2022
3cc1610
Fix greeting
caseyhoepner Nov 30, 2022
72f40ea
Add stuff to header
caseyhoepner Nov 30, 2022
fb34e92
Implement dark mode
caseyhoepner Nov 30, 2022
1cf71fb
Bring in tools logos
caseyhoepner Dec 5, 2022
c7f1502
Clean up
caseyhoepner Dec 5, 2022
4fac41b
Add popup
caseyhoepner Dec 5, 2022
9b015ec
Change plane image to wooden one
caseyhoepner Dec 5, 2022
348952e
chore: update icon to wooden plane icon
englunddesigns Dec 7, 2022
45cd6a4
starting the runn api
kumsw Dec 7, 2022
5f1ccc0
Merge branch 'master' into runn
kumsw Dec 7, 2022
d98f545
people set in state
kumsw Dec 7, 2022
5ecb7b3
fetch actuals assignments and people data
kumsw Dec 14, 2022
91ecb8e
reminder set for friday
kumsw Dec 14, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions .babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,5 @@
// "@babel/preset-env"
"@babel/preset-react"
// "react-app"
],
"plugins": [
// "@babel/plugin-proposal-class-properties",
"react-hot-loader/babel"
]
}
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
/build

# misc
.env
.DS_Store
.env.local
.env.development.local
Expand All @@ -19,3 +20,4 @@

# secrets
secrets.*.js
.env
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<img src="src/assets/img/icon-128.png" width="64"/>
<img src="src/assets/img/plane.png" width="64"/>

# Chrome Extension Boilerplate with React 17 and Webpack 5

Expand Down
33 changes: 17 additions & 16 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
{
"name": "planes-in-the-sky",
"name": "planes-dashboard",
"version": "4.3.5",
"description": "A chrome extension boilerplate built with React 17, Webpack 5, and Webpack Dev Server 4",
"description": "A Dashboard for all things planes",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/lxieyang/chrome-extension-boilerplate-react.git"
"url": "https://github.com/teamplanes/planes-dashboard.git"
},
"scripts": {
"build": "node utils/build.js",
"start": "node utils/webserver.js",
"prettier": "prettier --write '**/*.{js,jsx,ts,tsx,json,css,scss,md}'"
},
"dependencies": {
"@chakra-ui/react": "1.8.9",
"@emotion/react": "^11.10.4",
"@emotion/styled": "^11.10.4",
"@hot-loader/react-dom": "^17.0.2",
"framer-motion": "6.2.4",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-hot-loader": "^4.13.0"
"@chakra-ui/icons": "^2.0.13",
"@chakra-ui/react": "^2.4.2",
"@emotion/react": "^11.10.5",
"@emotion/styled": "^11.10.5",
"framer-motion": "^7.6.15",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-icons": "^4.7.1"
},
"devDependencies": {
"@babel/core": "^7.17.0",
Expand All @@ -35,7 +35,8 @@
"babel-preset-react-app": "^10.0.1yarn star",
"clean-webpack-plugin": "^4.0.0",
"copy-webpack-plugin": "^7.0.0",
"css-loader": "^6.6.0",
"css-loader": "^6.7.2",
"dotenv-webpack": "^8.0.1",
"eslint": "^8.8.0",
"eslint-config-react-app": "^7.0.0",
"eslint-plugin-flowtype": "^8.0.3",
Expand All @@ -53,8 +54,8 @@
"terser-webpack-plugin": "^5.3.1",
"ts-loader": "^9.2.6",
"typescript": "^4.5.5",
"webpack": "^5.68.0",
"webpack-cli": "^4.9.2",
"webpack-dev-server": "^4.7.4"
"webpack": "^5.75.0",
"webpack-cli": "^5.0.0",
"webpack-dev-server": "^4.11.1"
}
}
}
Binary file removed src/assets/img/icon-128.png
Binary file not shown.
Binary file removed src/assets/img/icon-34.png
Binary file not shown.
7 changes: 0 additions & 7 deletions src/assets/img/logo.svg

This file was deleted.

Binary file added src/assets/img/plane.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions src/assets/img/planes_logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/tool_logos/bippit_logo.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/tool_logos/charliehr_logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions src/assets/tool_logos/github_logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/tool_logos/jira_logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/tool_logos/leapsome_logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/tool_logos/notion_logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/tool_logos/perks_logo.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/tool_logos/runn_logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/tool_logos/sunlight_logo.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 0 additions & 19 deletions src/containers/Greetings/Greetings.jsx

This file was deleted.

30 changes: 10 additions & 20 deletions src/manifest.json
Original file line number Diff line number Diff line change
@@ -1,45 +1,35 @@
{
"manifest_version": 3,
"name": "Takeoff",
"name": "Planes Dashboard",
"description": "A chrome extension that will help you to takeoff from your current tab to a new tab.",
"options_page": "options.html",
"background": {
"service_worker": "background.bundle.js"
},

"action": {
"default_popup": "popup.html",
"default_icon": "icon-34.png"
"default_icon": "plane.png"
},
"permissions": ["identity", "identity.email"],
"chrome_url_overrides": {
"newtab": "newtab.html"
},
"icons": {
"128": "icon-128.png"
"128": "plane.png"
},
"content_scripts": [
{
"matches": [
"http://*/*",
"https://*/*",
"<all_urls>"
],
"js": [
"contentScript.bundle.js"
],
"css": [
"content.styles.css"
]
"matches": ["http://*/*", "https://*/*", "<all_urls>"],
"js": ["contentScript.bundle.js"],
"css": ["content.styles.css"]
}
],
"devtools_page": "devtools.html",
"web_accessible_resources": [
{
"resources": [
"content.styles.css",
"icon-128.png",
"icon-34.png"
],
"resources": ["content.styles.css", "plane.png"],
"matches": []
}
]
}
}
13 changes: 13 additions & 0 deletions src/pages/Background/index.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,15 @@
console.log('This is the background page.');
console.log('Put the background scripts here.');

const userEmail = chrome.identity.getProfileUserInfo(function (info) {
console.log('info', info);
return info.email;
});

chrome.extension.onMessage.addListener(function (
request,
sender,
sendResponse
) {
sendResponse({ email: userEmail });
});
2 changes: 1 addition & 1 deletion src/pages/Devtools/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
chrome.devtools.panels.create(
'Dev Tools from chrome-extension-boilerplate-react',
'icon-34.png',
'plane.png',
'panel.html'
);
38 changes: 0 additions & 38 deletions src/pages/Newtab/Newtab.css

This file was deleted.

49 changes: 26 additions & 23 deletions src/pages/Newtab/Newtab.jsx
Original file line number Diff line number Diff line change
@@ -1,29 +1,32 @@
import React from 'react';
import logo from '../../assets/img/logo.svg';
import './Newtab.css';
import './Newtab.scss';
import { Text } from '@chakra-ui/react'
import { Header } from './components/header';
import { Announcements } from './components/announcements';
import { Reminder } from './components/reminder';
import { QuickAccessTools } from './components/quick-access-tools';
import { Box, Flex, useColorModeValue } from '@chakra-ui/react';
import { Section } from './components/section';
import { BorderBox } from './components/border-box';

const Newtab = () => {
return (
<div className="App">
<header className="App-header">
<img src={logo} className="App-logo" alt="logo" />
<Text fontSize='20px' color='white'>
Edit <code>src/pages/Newtab/Newtab.js</code> and save to reload.
</Text>
<Text fontSize='50px' color='tomato'>
PLANES
</Text>
<a
className="App-link"
href="https://reactjs.org"
target="_blank"
rel="noopener noreferrer"
>
Learn React!
</a>
</header>
</div>
<Box bg={useColorModeValue('cream', 'dark')} minHeight="100vh" p="100px">
<Header />
<Flex mt={30} flexDirection="column" gap="45px">
<Flex gap="15px">
<Flex flex={3}>
<Announcements />
</Flex>
<Flex flex={1}>
<Section title="Reminders">
<BorderBox>
<Reminder />
</BorderBox>
</Section>
</Flex>
</Flex>
<QuickAccessTools />
</Flex>
</Box>
);
};

Expand Down
10 changes: 0 additions & 10 deletions src/pages/Newtab/Newtab.scss

This file was deleted.

Loading