Skip to content

Commit

Permalink
feat: iconify, firefox containers, rebrand
Browse files Browse the repository at this point in the history
  • Loading branch information
jwr1 committed Apr 23, 2023
1 parent 323a083 commit fb7f900
Show file tree
Hide file tree
Showing 136 changed files with 6,220 additions and 10,727 deletions.
17 changes: 0 additions & 17 deletions .firebaserc

This file was deleted.

14 changes: 6 additions & 8 deletions .github/workflows/publish-website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,10 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v3
with:
node-version: 16
- run: npm ci && npm run build -w website && npm test
- uses: FirebaseExtended/action-hosting-deploy@v0
node-version: 18
- run: npm ci && npm run build -w website
- uses: peaceiris/actions-gh-pages@v3
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_WEB_LAUNCHER_DB }}'
channelId: live
projectId: web-launcher-db
target: website
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: website/out
cname: sourcetab.org
54 changes: 28 additions & 26 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,58 +3,60 @@ on:
release:
types: [published]
jobs:
test:
publish-website:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v3
with:
node-version: 16
- run: npm ci && npm run build && npm test
publish-website-and-demo:
needs: [test]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v3
with:
node-version: 16
- run: npm ci && npm run build
- uses: FirebaseExtended/action-hosting-deploy@v0
node-version: 18
- run: npm ci && npm run build -w website
- uses: peaceiris/actions-gh-pages@v3
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_WEB_LAUNCHER_DB }}'
channelId: live
projectId: web-launcher-db
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: website/out
cname: sourcetab.org
publish-chrome:
needs: [test]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v3
with:
node-version: 16
- run: npm ci && npm run build:chrome -w extension
node-version: 18
- run: npm ci && npm run build:chrome -w client
- uses: trmcnvn/chrome-addon@v2
with:
extension: akomlegpokabommpdjfmhnbdcnaefmdo
zip: extension/dist/chrome.zip
zip: client/dist/chrome.zip
client-id: ${{ secrets.CHROME_CLIENT_ID }}
client-secret: ${{ secrets.CHROME_CLIENT_SECRET }}
refresh-token: ${{ secrets.CHROME_REFRESH_TOKEN }}
publish-firefox:
needs: [test]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v3
with:
node-version: 16
- run: npm ci && npm run build:firefox -w extension
node-version: 18
- run: npm ci && npm run build:firefox -w client
- uses: trmcnvn/firefox-addon@v1
with:
uuid: '{16acb437-3c59-4caf-a4b2-d79839cbf588}'
xpi: extension/dist/firefox.xpi
manifest: extension/dist/firefox/manifest.json
xpi: client/dist/firefox.xpi
manifest: client/dist/firefox/manifest.json
api-key: ${{ secrets.FIREFOX_JWT_ISSUER }}
api-secret: ${{ secrets.FIREFOX_JWT_SECRET }}
publish-web:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v3
with:
node-version: 18
- run: npm ci && npm run build:web -w client
- uses: peaceiris/actions-gh-pages@v3
with:
personal_token: ${{ secrets.PERSONAL_TOKEN }}
publish_dir: client/dist/web
cname: web.sourcetab.org
external_repository: sourcetab/sourcetab-client-dist
10 changes: 2 additions & 8 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,11 @@
name: Pull Request
on: pull_request
jobs:
build_and_preview:
if: '${{ github.event.pull_request.head.repo.full_name == github.repository }}'
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18
- run: npm ci && npm run build && npm test
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_WEB_LAUNCHER_DB }}'
projectId: web-launcher-db
11 changes: 1 addition & 10 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,10 +1 @@
node_modules/
.vscode/
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
firebase-debug.log*
firebase-debug.*.log*
.firebase/
node_modules
1 change: 0 additions & 1 deletion .husky/.gitignore

This file was deleted.

4 changes: 0 additions & 4 deletions .husky/pre-commit

This file was deleted.

3 changes: 3 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"recommendations": ["esbenp.prettier-vscode", "samverschueren.linter-xo"]
}
12 changes: 12 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"editor.defaultFormatter": "esbenp.prettier-vscode",
"[javascript]": {
"editor.defaultFormatter": "samverschueren.linter-xo"
},
"[typescript]": {
"editor.defaultFormatter": "samverschueren.linter-xo"
},
"[typescriptreact]": {
"editor.defaultFormatter": "samverschueren.linter-xo"
}
}
76 changes: 0 additions & 76 deletions CODE_OF_CONDUCT.md

This file was deleted.

8 changes: 4 additions & 4 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
## Questions

For general support or questions, please create a [Discussion](https://github.com/web-launcher/web-launcher/discussions/new). If your question gets answered, remember to mark it as answered.
For general support or questions, please create a [Discussion](https://github.com/sourcetab/sourcetab/discussions/new). If your question gets answered, remember to mark it as answered.

## Issues

Issues should be used for bug reports, feature requests, and widget requests.

Before you submit an issue, please search the issue tracker to prevent duplicates as existing discussion might inform you of workarounds readily available.

You can file issues by filling out this [issue form](https://github.com/web-launcher/web-launcher/issues/new/choose).
You can file issues by filling out this [issue form](https://github.com/sourcetab/sourcetab/issues/new/choose).

## Pull Requests

Before opening a large pull request, make sure there is an issue open for it so it can be decided whether or not the pull request should be accepted.

## Tools

You should be familiar with the following used in Web Launcher:
You should be familiar with the following used in Sourcetab:

- [TypeScript](https://www.typescriptlang.org)
- [React](https://reactjs.org)
Expand All @@ -28,4 +28,4 @@ Before compiling, make sure to install the dependencies by running `npm i` in th

## Compilation

Within the `extension` directory, you can run `npm run dev` to start up a development server with the web version, which should automatically open in your browser. Alternatively, run `npm run build:web` to compile the static files for the web version, which will output to the `dist/web` directory.
Within the `client` directory, you can run `npm run dev` to start up a development server with the web version, which should automatically open in your browser. Alternatively, run `npm run build:web` to compile the static files for the web version, which will output to the `dist/web` directory.
14 changes: 9 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# Web Launcher
# Sourcetab

A material design dashboard for your browser's new tab page customizable with a variety of widgets and settings.

## Getting Started

Please visit [weblauncher.app/docs](https://weblauncher.app/docs) for installation instructions.
Please visit [sourcetab.org/docs](https://sourcetab.org/docs) for installation instructions.

| [Demo](https://demo.weblauncher.app/) | [Chrome](https://chrome.google.com/webstore/detail/web-launcher/akomlegpokabommpdjfmhnbdcnaefmdo) | [Edge](https://microsoftedge.microsoft.com/addons/detail/web-launcher/fpknfiaimmgbbpplehjclidiphmhljeh) | [Firefox](https://addons.mozilla.org/en-US/firefox/addon/web-launcher/) |
| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- |
| [![](website/public/assets/download/demo.svg)](https://demo.weblauncher.app/) | [![](website/public/assets/download/chrome.svg)](https://chrome.google.com/webstore/detail/web-launcher/akomlegpokabommpdjfmhnbdcnaefmdo) | [![](website/public/assets/download/edge.svg)](https://microsoftedge.microsoft.com/addons/detail/web-launcher/fpknfiaimmgbbpplehjclidiphmhljeh) | [![](website/public/assets/download/firefox.svg)](https://addons.mozilla.org/en-US/firefox/addon/web-launcher/) |
| [Web](https://web.sourcetab.org/) | [Chrome](https://chrome.google.com/webstore/detail/sourcetab/akomlegpokabommpdjfmhnbdcnaefmdo) | [Edge](https://microsoftedge.microsoft.com/addons/detail/sourcetab/fpknfiaimmgbbpplehjclidiphmhljeh) | [Firefox](https://addons.mozilla.org/en-US/firefox/addon/sourcetab/) |
| ------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------ |
| [![](website/public/assets/download/web.svg)](https://web.sourcetab.org/) | [![](website/public/assets/download/chrome.svg)](https://chrome.google.com/webstore/detail/sourcetab/akomlegpokabommpdjfmhnbdcnaefmdo) | [![](website/public/assets/download/edge.svg)](https://microsoftedge.microsoft.com/addons/detail/sourcetab/fpknfiaimmgbbpplehjclidiphmhljeh) | [![](website/public/assets/download/firefox.svg)](https://addons.mozilla.org/en-US/firefox/addon/sourcetab/) |

### Features

Expand Down Expand Up @@ -37,6 +37,10 @@ Please visit [weblauncher.app/docs](https://weblauncher.app/docs) for installati

Stars, issues, and pull requests are welcome. See [CONTRIBUTING.md](CONTRIBUTING.md) for more information.

### Firefox Build

To build the Firefox extension run `npm run build:firefox -w client`. The build files will output into `client/dist/firefox`.

## License

This project is licensed under the GPL-3.0 License. See the [LICENSE](LICENSE) file for details.
Binary file modified brand/icons/png/128.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified brand/icons/png/16.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified brand/icons/png/19.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified brand/icons/png/300.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified brand/icons/png/38.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified brand/icons/png/48.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified brand/icons/png/500.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified brand/icons/png/64.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions brand/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"gen-imgs": "node ./scripts/genImgs.js"
},
"dependencies": {
"@xmldom/xmldom": "^0.7.5",
"sharp": "^0.29.3"
"@xmldom/xmldom": "^0.7.10",
"sharp": "^0.32.0"
}
}
2 changes: 1 addition & 1 deletion brand/promotiles/large.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion brand/promotiles/marquee.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified brand/promotiles/png/large.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified brand/promotiles/png/marquee.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified brand/promotiles/png/small.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified brand/promotiles/png/social.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion brand/promotiles/small.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion brand/promotiles/social.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified brand/screenshots/screenshot1.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified brand/screenshots/screenshot2.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified brand/screenshots/screenshot3.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed brand/screenshots/screenshot4.png
Binary file not shown.
Binary file modified brand/screenshots/small/screenshot1.webp
Binary file not shown.
Binary file modified brand/screenshots/small/screenshot2.webp
Binary file not shown.
Binary file modified brand/screenshots/small/screenshot3.webp
Binary file not shown.
Binary file removed brand/screenshots/small/screenshot4.webp
Binary file not shown.
2 changes: 2 additions & 0 deletions client/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
node_modules
dist
File renamed without changes
File renamed without changes
File renamed without changes
4 changes: 4 additions & 0 deletions client/assets/manifest-firefox.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"chrome_settings_overrides": {"homepage": "index.html"},
"permissions": ["contextualIdentities", "cookies"]
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Web Launcher: New Tab Dashboard",
"short_name": "Web Launcher",
"name": "Sourcetab: New Tab Dashboard",
"short_name": "Sourcetab",
"description": "A material design dashboard for your browser's new tab page with widgets and settings.",
"chrome_url_overrides": {
"newtab": "index.html"
Expand Down
2 changes: 1 addition & 1 deletion extension/assets/index.html → client/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
</head>
<body>
<div id="root"></div>
<script src="./js/index.js"></script>
<script type="module" src="/src/index.tsx"></script>
</body>
</html>

0 comments on commit fb7f900

Please sign in to comment.