Skip to content

Commit

Permalink
chore: update legacy URLs and usernames
Browse files Browse the repository at this point in the history
  • Loading branch information
maxpatiiuk committed Dec 3, 2023
1 parent 9d7a421 commit 6fc0fd5
Show file tree
Hide file tree
Showing 15 changed files with 253 additions and 268 deletions.
3 changes: 1 addition & 2 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ If applicable, add screenshots to help explain your problem.
**Desktop:**
- OS: [e.g. Windows 10]
- Browser: [e.g. Chrome, Safari]
- Specify 7 Version: [e.g. 7.6.1]

**Additional context**
Any other context about the problem.
Any other context about the problem.
4 changes: 2 additions & 2 deletions .pre-commit-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ repos:
types_or: [javascript, jsx, ts, tsx]
pass_filenames: false

- repo: https://github.com/maxxxxxdlp/pre-commit
- repo: https://github.com/maxpatiiuk/pre-commit
rev: v1.0.5
hooks:
- id: regex-blacklist
Expand Down Expand Up @@ -104,7 +104,7 @@ repos:
args:
- --git-recurse

- repo: https://github.com/maxxxxxdlp/mirrors-jscpd
- repo: https://github.com/maxpatiiuk/mirrors-jscpd
rev: v3.3.26
hooks:
- id: jscpd
Expand Down
452 changes: 226 additions & 226 deletions CHANGELOG.md

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
MIT License

Copyright (c) 2022 Max Patiiuk

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
Expand All @@ -16,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
SOFTWARE.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Features:

[Video Demo](https://youtu.be/FZ_468t033A)

[Report a Bug/Feature Request](https://github.com/maxxxxxdlp/calendar-plus/issues/new)
[Report a Bug/Feature Request](https://github.com/maxpatiiuk/calendar-plus/issues/new)

## Screenshots

Expand All @@ -42,7 +42,7 @@ Expanded time chart
Editing the layout
[![Editing the layout](./docs/img/6.png)](https://youtu.be/FZ_468t033A)

## Installation
## Local Installation

Pre-requisites:

Expand Down Expand Up @@ -111,13 +111,13 @@ npm t

Alternatively, you can start Jest in watch mode:

```
```sh
npm run unitTests:watch
```

## Generating Docs

```
```sh
cd src
npm run docs
```
```
4 changes: 2 additions & 2 deletions docs/privacy/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ you", "your", or "user") about the collection, use, and protection of their data
when using the Extension.

The Extension is open source, and its source code is available
at https://github.com/maxxxxxdlp/calendar-plus.
at https://github.com/maxpatiiuk/calendar-plus.

## Who is requesting Google user data?

Expand Down Expand Up @@ -69,4 +69,4 @@ Limited Use requirements.

If you have any questions or concerns about this Privacy Policy or our data
handling practices, please contact us at [[email protected]](mailto:[email protected]) or
open a [GitHub issue](https://github.com/maxxxxxdlp/calendar-plus/issues/new)
open a [GitHub issue](https://github.com/maxpatiiuk/calendar-plus/issues/new)
4 changes: 2 additions & 2 deletions docs/spreadsheet-to-changelog.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const group = (entries) =>
const assignees = new Set(parsed.map((data) => data["Assignee"]));

const assigneeMapper = {
Max: "maxxxxxdlp",
Max: "maxpatiiuk",
Will: "Durbatuluk1701",
Jet: "jetsemr",
Jacob: "jakeangus",
Expand Down Expand Up @@ -64,7 +64,7 @@ const githubLink = (type) => (value) =>
.map((value) => value.slice(value.lastIndexOf("/") + 1))
.map(
(number) =>
`<a href="https://github.com/maxxxxxdlp/calendar-plus/${type}/${number}">#${number}</a>`
`<a href="https://github.com/maxpatiiuk/calendar-plus/${type}/${number}">#${number}</a>`
)
.join(" and ");

Expand Down
6 changes: 0 additions & 6 deletions package-lock.json

This file was deleted.

2 changes: 1 addition & 1 deletion src/docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ <h1>Calendar Plus</h1>
</ul>
<p><a href="https://calendar-plus.patii.uk/docs/privacy">Privacy Policy</a></p>
<p><a href="https://youtu.be/FZ_468t033A">Video Demo</a></p>
<p><a href="https://github.com/maxxxxxdlp/calendar-plus/issues/new">Report a Bug/Feature Request</a></p>
<p><a href="https://github.com/maxpatiiuk/calendar-plus/issues/new">Report a Bug/Feature Request</a></p>

<a href="#screenshots" id="screenshots" style="color: inherit; text-decoration: none;">
<h2>Screenshots</h2>
Expand Down
10 changes: 4 additions & 6 deletions src/package.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,19 @@
{
"name": "calendar-stats",
"version": "1.2.5",
"private": true,
"description": "A browser extension for Google Calendar that provides insights into where your time goes. Includes power user tools, data export and customization",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/maxxxxxdlp/calendar-stats.git"
"url": "https://github.com/maxpatiiuk/calendar-stats.git"
},
"author": "EECS 581 Team 19",
"homepage": "https://github.com/maxxxxxdlp/calendar-stats#readme",
"homepage": "https://github.com/maxpatiiuk/calendar-stats#readme",
"bugs": {
"url": "https://github.com/maxxxxxdlp/calendar-stats/issues"
"url": "https://github.com/maxpatiiuk/calendar-stats/issues"
},
"scripts": {
"package": "npm run build && (cd .. && zip -r calendar-plus.zip . -x .github/\\* .git/\\* src/node_modules/\\* .idea/\\*)",
"package": "npm run build && (cd .. && zip -r ../calendar-plus.zip . -x .github/\\* .git/\\* src/node_modules/\\* .idea/\\* .vscode/\\*)",
"build": "npx webpack --mode production",
"watch": "npx webpack --mode development --watch",
"test": "npm run typeCheck && npm run unitTests",
Expand All @@ -25,7 +24,6 @@
"docs": "typedoc --options typedoc.config.js ./src/components/Core/development.tsx"
},
"dependencies": {
"@headlessui/react": "^1.7.7",
"chart.js": "^4.1.1",
"react": "^18.2.0",
"react-chartjs-2": "^5.1.0",
Expand Down
4 changes: 2 additions & 2 deletions src/src/components/Atoms/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const button = (name: string, classList: string) =>

export const className = {
googleButton:
'border border-solid p-2 rounded flex items-center gap-2 cursor-pointer cursor-pointer',
'border border-solid p-2 rounded flex items-center gap-2 cursor-pointer',
buttonWhite: `bg-white border-[#dadce0] active:bg-[#dadce0]
[&[aria-pressed]]:bg-[#dadce0] hover:bg-gray-100`,
};
Expand Down Expand Up @@ -227,4 +227,4 @@ export const Widget = wrap(
'Widget',
'section',
'flex flex-col gap-2 rounded bg-white'
);
);
2 changes: 1 addition & 1 deletion src/src/components/Background/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,4 @@ const requestHandlers: {
chrome.runtime.reload();
resolve(undefined);
}),
};
};
4 changes: 2 additions & 2 deletions src/src/components/Background/messages.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Message passing utils. Used both by the context and background scripts
* Message passing utils. Used both by the content and background scripts
*/

import { State } from 'typesafe-reducer';
Expand Down Expand Up @@ -70,4 +70,4 @@ export function listenEvent<TYPE extends BackgroundEvents['type']>(

chrome.runtime.onMessage.addListener(handleUpdate);
return (): void => chrome.runtime.onMessage.removeListener(handleUpdate);
}
}
2 changes: 1 addition & 1 deletion src/src/components/Preferences/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export function PreferencesPage({
<>
<PageHeader label={commonText('preferences')}>
<Link.White
href="https://github.com/maxxxxxdlp/calendar-plus#calendar-plus"
href="https://github.com/maxpatiiuk/calendar-plus#calendar-plus"
rel="noreferrer"
target="_blank"
>
Expand Down
10 changes: 1 addition & 9 deletions src/tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,6 @@ module.exports = {
},
extend: {
colors: {
// Specify brand colors
brand: {
100: 'var(--accent-color-100)',
200: 'var(--accent-color-200)',
300: 'var(--accent-color-300)',
400: 'var(--accent-color-400)',
500: 'var(--accent-color-500)',
},
// Some in-between shades:
gray: {
350: 'hsl(218deg 12% 79%)',
Expand Down Expand Up @@ -73,4 +65,4 @@ module.exports = {
},
},
},
};
};

0 comments on commit 6fc0fd5

Please sign in to comment.