Skip to content

Commit 124c299

Browse files
authored
Merge pull request #3 from mdgspace/kitu
Never Ending Bug Fixes
2 parents 96d6f6f + 5fb5aa2 commit 124c299

File tree

33 files changed

+631
-499
lines changed

33 files changed

+631
-499
lines changed

frontend/public/index.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
href="https://fonts.googleapis.com/css?family=Poppins"
3030
rel="stylesheet"
3131
/>
32-
3332

3433
<title>Tracer</title>
3534
</head>

frontend/public/site.webmanifest

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,19 @@
1-
{"name":"","short_name":"","icons":[{"src":"/android-chrome-192x192.png","sizes":"192x192","type":"image/png"},{"src":"/android-chrome-512x512.png","sizes":"512x512","type":"image/png"}],"theme_color":"#ffffff","background_color":"#ffffff","display":"standalone"}
1+
{
2+
"name": "",
3+
"short_name": "",
4+
"icons": [
5+
{
6+
"src": "/android-chrome-192x192.png",
7+
"sizes": "192x192",
8+
"type": "image/png"
9+
},
10+
{
11+
"src": "/android-chrome-512x512.png",
12+
"sizes": "512x512",
13+
"type": "image/png"
14+
}
15+
],
16+
"theme_color": "#ffffff",
17+
"background_color": "#ffffff",
18+
"display": "standalone"
19+
}

frontend/src/app/api/file.ts

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,6 @@ export interface IconNameRes {
1111
message: string;
1212
}
1313

14-
15-
16-
17-
18-
19-
20-
2114
export const uploadIcon = async (
2215
authorizationToken: string,
2316
orgName: string,
@@ -35,10 +28,6 @@ export const uploadIcon = async (
3528
return respnse;
3629
};
3730

38-
39-
40-
41-
4231
export const getIcon = async (authorizationToken: string, orgName: string) => {
4332
const url = BACKEND_URL + '/api/protected/file/getIcon/' + orgName;
4433
const response = await axios.get(
@@ -55,8 +44,6 @@ export const getIcon = async (authorizationToken: string, orgName: string) => {
5544
return response;
5645
};
5746

58-
59-
6047
export const deleteFile = async (
6148
authorizationToken: string,
6249
fileName: string
@@ -71,9 +58,6 @@ export const deleteFile = async (
7158
return respnse;
7259
};
7360

74-
75-
76-
7761
export const getIconName = async (
7862
authorizationToken: string,
7963
orgName: string

frontend/src/app/api/githubData.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ export interface ProjectStats {
2525
contributors: Contributors;
2626
}
2727

28-
2928
export interface OrgProjectGithubData {
3029
projects: ProjectsGithubData;
3130
}
Lines changed: 3 additions & 0 deletions
Loading

frontend/src/app/components/search/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import './index.scss';
66

77
const SearchBar = () => {
88
const dispatch = useDispatch();
9-
const [search,setSearch] = useState('')
9+
const [search, setSearch] = useState('');
1010
const handleInputChange = (e: React.ChangeEvent<HTMLInputElement>) => {
1111
setSearch(e.target.value);
1212
};

frontend/src/app/components/timeRangeSwitch/index.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,7 @@ interface Props {
1313
const TimeRangeSwitch: React.FC<Props> = ({ weekly, setWeekly }) => {
1414
// const dispatch = useDispatch();
1515
// const isWeekly = useSelector((state: timeRangeModel) => state.isWeekly.value);
16-
useEffect(()=>{
17-
18-
},[weekly, setWeekly])
16+
useEffect(() => {}, [weekly, setWeekly]);
1917
return (
2018
<div className='timerange-cont'>
2119
<button

frontend/src/app/context/user/userState.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { FC, ReactNode, useState } from 'react';
22
import UserContext from './userContext';
3-
import { UserOrgs } from 'app/api/user';
3+
import { UserOrgs } from 'app/api/user';
44

55
interface Props {
66
children: ReactNode;

frontend/src/app/index.scss

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ a:hover {
3838
border: 1px solid white;
3939
}
4040

41-
42-
.pointer{
41+
.pointer {
4342
cursor: pointer;
44-
}
43+
}

frontend/src/app/routes/BasicRoutes.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
import { Routes, Route } from 'react-router-dom';
32
import ProjectPage from 'features/project';
43
import AddProject from 'features/AddProject';

0 commit comments

Comments
 (0)