Skip to content

Commit ffc371d

Browse files
authored
Merge pull request #3 from devhubapp/master
pr up to date
2 parents cf98c98 + 1beef84 commit ffc371d

File tree

167 files changed

+5957
-2382
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

167 files changed

+5957
-2382
lines changed

.github/FUNDING.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# These are supported funding model platforms
22

3-
github: brunolemos
3+
# github: brunolemos
44
patreon: brunolemos
55
open_collective: devhub
66
ko_fi: # Replace with a single Ko-fi username

.nowignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ packages/web/dist/**.map
2121
packages/web/node_modules
2222
packages/web/package.json
2323
packages/web/src
24-
packages/www
2524
patches
25+
subdomains
2626
tsconfig.json
2727
tslint.json

.travis.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,7 @@ script:
2929
electronuserland/builder:wine \
3030
/bin/bash -c "yarn --pure-lockfile && yarn clean && yarn workspace @devhub/web build && yarn workspace @devhub/desktop build:skipweb --linux --win"
3131
else
32-
yarn --pure-lockfile
33-
yarn clean
34-
yarn workspace @devhub/web build
35-
yarn workspace @devhub/desktop build:skipweb --mac
36-
now --token $NOW_TOKEN --target production
37-
now alias beta.devhubapp.com
32+
yarn --pure-lockfile && yarn clean && yarn workspace @devhub/web build && yarn workspace @devhub/desktop build:skipweb --mac && now --target production --token $NOW_TOKEN && now alias beta.devhubapp.com --token $NOW_TOKEN
3833
fi
3934
4035
before_cache:

PRIVACY.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
This app requires GitHub authentication.<br/>
77
DevHub requests access to the user's profile data, e-mail and notifications.
88

9+
We might contact you via e-mail (rarely) to share things like big updates or important announcements, with the option to unsubscribe any time.
910

1011
### Repository and org access
1112
You have the option to install DevHub's GitHub App in some specific orgs and repositories.
@@ -36,4 +37,4 @@ If you find any bug, please contribute by opening an issue or sending a pull req
3637

3738
---
3839

39-
Updated: Feb 11th, 2019.
40+
Updated: June 06th, 2019.

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<p align="center">
22
<img src="https://user-images.githubusercontent.com/619186/52172760-33710f00-275d-11e9-9adb-8ea4209e4453.png" height="100" /><br/>
3-
<span><b>DevHub</b>: <span>TweetDeck for GitHub</span><br/>
3+
<span><b>DevHub</b>: <span>GitHub Notifications Manager & Activity Watcher</span><br/>
44
<span><a href="https://play.google.com/store/apps/details?id=com.devhubapp&utm_source=github_repo_link" target="_blank">Android</a>, <a href="https://itunes.apple.com/us/app/devhub-for-github/id1191864199?l=en&mt=8&utm_source=github_repo_link" target="_blank">iOS</a>, <a href="https://devhubapp.com/" target="_blank">Web</a> & <a href="https://github.com/devhubapp/devhub/releases" target="_self">Desktop</a> with <b>95%+ code sharing</b> between them<br/><i>thanks to React Native + React Native Web</i></span><br/>
55
<p align="center">
66
<a href="https://itunes.apple.com/us/app/devhub-for-github/id1191864199?l=en&mt=8&utm_source=github_repo_button" target="_blank"><img alt="Download on the App Store" height="50" src="https://user-images.githubusercontent.com/619186/52173137-d416fd00-2764-11e9-98c1-77607061f188.png" /></a>
@@ -39,7 +39,7 @@
3939
## Community
4040
4141
Follow DevHub on Twitter: [@devhub_app](https://twitter.com/devhub_app)
42-
<br/>Join our Slack Community: [Slack Invitation](https://join.slack.com/t/devhubapp/shared_invite/enQtNjEyNzMzODg3MzYzLWY1NGUwZTVhM2FlMjY5ZmY5YzE1MThjNzM0NDIzNzQyYzJkMWEyYjRkNTg0MTIxNGJkYmM1ZTRmODE2MTVkY2Q) (+ beta access!)
42+
<br/>Join our Slack Community: [Slack Invitation](https://slack.devhubapp.com/)
4343
4444
<br/>
4545
@@ -50,9 +50,9 @@ DevHub is a mobile and desktop app to help you manage GitHub Notifications and s
5050
5151
## Features
5252
53-
- [x] **Columns layout**: Like TweetDeck, you can see at a quick glance everything that is going on;
54-
- [x] **Inbox Zero**: Clear all the seen items and keep your mind clean; See what's new since the last time you checked;
53+
- [x] **Columns layout**: See at a quick glance everything that is going on;
5554
- [x] **Filters**: Apply different filters to each column, remove all the noise and make them show just what you want;
55+
- [x] **Inbox Zero**: Clear all the seen items and keep your mind clean; See what's new since the last time you checked;
5656
- [x] **Enhanced notifications**: See all the relevant information before opening the notification, like comment content, issue/pull request status, release description, etc.;
5757
- [x] **Sanely watch repositories**: Keep up to date with repositories' activities without using the `watch` feature so your notifications don't get cluttered;
5858
- [x] **Stalk users**: Follow user activities without using the `follow` button; see activities that GitHub doesn't show on your feed, like their issue comments and pushed commits;

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,22 @@
11
{
22
"name": "devhub",
3-
"version": "0.90.1",
3+
"version": "0.91.1",
44
"private": true,
55
"author": {
66
"name": "Bruno Lemos",
77
"email": "bruno@devhubapp.com",
88
"url": "https://twitter.com/brunolemos"
99
},
10-
"description": "TweetDeck for GitHub",
10+
"description": "GitHub Notifications Manager & Activity Watcher",
1111
"repository": "https://github.com/devhubapp/devhub",
1212
"collective": {
1313
"type": "opencollective",
1414
"url": "https://opencollective.com/devhub"
1515
},
1616
"workspaces": {
1717
"packages": [
18-
"packages/*"
18+
"packages/*",
19+
"subdomains/*"
1920
],
2021
"nohoist": [
2122
"**/react-native-firebase"

packages/components/package.json

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,24 @@
11
{
22
"name": "@devhub/components",
3-
"version": "0.90.1",
3+
"version": "0.91.1",
44
"private": false,
55
"main": "dist",
66
"scripts": {
77
"compile": "tsc -b",
8-
"clean": "shx rm -rf dist/*",
8+
"clean": "shx rm -rf dist/* && shx rm *.tsbuildinfo",
99
"format": "prettier --write '{.,src/**}/*.{js,jsx,ts,tsx}'",
1010
"lint": "tslint -p .",
1111
"prepare": "cd .. && yarn patch-package"
1212
},
1313
"dependencies": {
1414
"@bugsnag/js": "6.1.0",
1515
"@bugsnag/plugin-react": "6.1.0",
16-
"@devhub/core": "0.90.1",
16+
"@devhub/core": "0.91.1",
1717
"@octokit/rest": "16.20.0",
1818
"axios": "0.18.0",
1919
"bugsnag-react-native": "2.16.0",
2020
"fbemitter": "2.1.1",
21+
"formik": "2.0.1-rc.5",
2122
"gravatar": "1.8.0",
2223
"hoist-non-react-statics": "3.3.0",
2324
"immer": "2.1.4",
@@ -41,7 +42,8 @@
4142
"redux-devtools-extension": "2.13.8",
4243
"redux-persist": "5.10.0",
4344
"redux-saga": "1.0.2",
44-
"reselect": "4.0.0"
45+
"reselect": "4.0.0",
46+
"yup": "0.27.0"
4547
},
4648
"devDependencies": {
4749
"@types/fbemitter": "2.0.32",
@@ -57,6 +59,7 @@
5759
"@types/react-navigation": "3.0.5",
5860
"@types/react-redux": "7.0.6",
5961
"@types/react-test-renderer": "16.8.1",
62+
"@types/yup": "0.26.14",
6063
"babel-jest": "24.5.0",
6164
"husky": "1.3.1",
6265
"jest": "24.5.0",

packages/components/src/components/App.tsx

Lines changed: 14 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ import { AppGlobalStyles } from './AppGlobalStyles'
1313
import { ColumnFiltersProvider } from './context/ColumnFiltersContext'
1414
import { ColumnFocusProvider } from './context/ColumnFocusContext'
1515
import { ColumnWidthProvider } from './context/ColumnWidthContext'
16-
import { DimensionsProvider } from './context/DimensionsContext'
1716
import { AppLayoutProvider } from './context/LayoutContext'
1817
import { SpringAnimatedThemeProvider } from './context/SpringAnimatedThemeContext'
1918

@@ -30,22 +29,20 @@ export function App() {
3029
<ReduxProvider store={store}>
3130
<ReduxStoreProvider>
3231
<PersistGate loading={null} persistor={persistor}>
33-
<DimensionsProvider>
34-
<AppLayoutProvider>
35-
<ColumnFocusProvider>
36-
<ColumnFiltersProvider>
37-
<ColumnWidthProvider>
38-
<SpringAnimatedThemeProvider>
39-
<>
40-
<AppGlobalStyles key="app-global-styles" />
41-
<AppNavigator key="app-navigator" />
42-
</>
43-
</SpringAnimatedThemeProvider>
44-
</ColumnWidthProvider>
45-
</ColumnFiltersProvider>
46-
</ColumnFocusProvider>
47-
</AppLayoutProvider>
48-
</DimensionsProvider>
32+
<AppLayoutProvider>
33+
<ColumnFocusProvider>
34+
<ColumnFiltersProvider>
35+
<ColumnWidthProvider>
36+
<SpringAnimatedThemeProvider>
37+
<>
38+
<AppGlobalStyles key="app-global-styles" />
39+
<AppNavigator key="app-navigator" />
40+
</>
41+
</SpringAnimatedThemeProvider>
42+
</ColumnWidthProvider>
43+
</ColumnFiltersProvider>
44+
</ColumnFocusProvider>
45+
</AppLayoutProvider>
4946
</PersistGate>
5047
</ReduxStoreProvider>
5148
</ReduxProvider>

packages/components/src/components/AppGlobalStyles.web.tsx

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,18 @@ import { ColumnSubscription, Theme } from '@devhub/core'
55
import { useReduxState } from '../hooks/use-redux-state'
66
import * as selectors from '../redux/selectors'
77
import { themeColorFields } from '../utils/helpers/theme'
8-
import { getSeparatorThemeColor } from './common/Separator'
8+
import { getSeparatorThemeColors } from './common/Separator'
99
import { useFocusedColumn } from './context/ColumnFocusContext'
1010
import { useTheme } from './context/ThemeContext'
1111

1212
function getStyles(params: { theme: Theme; isLoading: boolean }) {
1313
const { isLoading, theme: t } = params
14-
const separatorColor = t[getSeparatorThemeColor(t.backgroundColor)]
14+
const separatorColor = t[getSeparatorThemeColors(t.backgroundColor)[0]]
1515
const separatorColorLuminance = getLuminance(separatorColor)
1616
const backgroundColorLuminance = getLuminance(t.backgroundColor)
1717

18+
const invertedTheme = t.invert()
19+
1820
return `
1921
::-webkit-scrollbar-thumb {
2022
background-color: ${
@@ -32,6 +34,9 @@ function getStyles(params: { theme: Theme; isLoading: boolean }) {
3234
${themeColorFields
3335
.map(field => `--theme_${field}:${t[field]};`)
3436
.join('\n')}
37+
${themeColorFields
38+
.map(field => `--theme_inverted_${field}:${invertedTheme[field]};`)
39+
.join('\n')}
3540
background-color:${t.backgroundColor};
3641
color: ${t.foregroundColor};
3742
cursor: ${isLoading ? 'progress' : 'default'};

packages/components/src/components/buttons/GitHubLoginButton.tsx

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

0 commit comments

Comments
 (0)