Skip to content
This repository was archived by the owner on Dec 2, 2022. It is now read-only.

Commit 1d2f393

Browse files
committed
v0.0.2
1 parent 14472d6 commit 1d2f393

File tree

6 files changed

+14
-89
lines changed

6 files changed

+14
-89
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "dgit",
33
"author": "Tech Trap LLP",
4-
"version": "0.0.1",
4+
"version": "0.0.2",
55
"license": "MIT",
66
"scripts": {
77
"watch": "webpack-serve --no-reload --port 8099",

src/manifest.json

Lines changed: 3 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -1,73 +1,11 @@
11
{
2-
"name": "NextEditor",
3-
"short_name": "NextEditor",
2+
"name": "dgit",
3+
"short_name": "dgit",
44
"lang": "en-US",
55
"start_url": "/",
66
"display": "standalone",
77
"theme_color": "#000000",
88
"background_color": "#ffffff",
99
"orientation": "portrait",
10-
"icons": [
11-
{
12-
"src": "/assets/icon-16x16.png",
13-
"sizes": "16x16",
14-
"type": "image/png"
15-
},
16-
{
17-
"src": "/assets/icon-24x24.png",
18-
"sizes": "24x24",
19-
"type": "image/png"
20-
},
21-
{
22-
"src": "/assets/icon-32x32.png",
23-
"sizes": "32x32",
24-
"type": "image/png"
25-
},
26-
27-
{
28-
"src": "/assets/icon-48x48.png",
29-
"sizes": "48x48",
30-
"type": "image/png"
31-
},
32-
{
33-
"src": "/assets/icon-72x72.png",
34-
"sizes": "72x72",
35-
"type": "image/png"
36-
},
37-
{
38-
"src": "/assets/icon-96x96.png",
39-
"sizes": "96x96",
40-
"type": "image/png"
41-
},
42-
{
43-
"src": "/assets/icon-128x128.png",
44-
"sizes": "128x128",
45-
"type": "image/png"
46-
},
47-
{
48-
"src": "/assets/icon-144x144.png",
49-
"sizes": "144x144",
50-
"type": "image/png"
51-
},
52-
{
53-
"src": "/assets/icon-152x152.png",
54-
"sizes": "152x152",
55-
"type": "image/png"
56-
},
57-
{
58-
"src": "/assets/icon-192x192.png",
59-
"sizes": "192x192",
60-
"type": "image/png"
61-
},
62-
{
63-
"src": "/assets/icon-384x384.png",
64-
"sizes": "384x384",
65-
"type": "image/png"
66-
},
67-
{
68-
"src": "/assets/icon-512x512.png",
69-
"sizes": "512x512",
70-
"type": "image/png"
71-
}
72-
]
10+
"icons": []
7311
}

src/ui/components/argit/DashboardNew/DashboardNew.tsx

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,7 @@ import {
1616
} from "../../../reducers/argit"
1717
import { openCreateRepoModal } from "../../../reducers/app"
1818
import { txQuery, getAllActivities } from "../../../../utils"
19-
import {
20-
Row,
21-
Col,
22-
Progress,
23-
Card,
24-
CardBody,
25-
CardTitle,
26-
CardText
27-
} from "reactstrap"
19+
import { Row, Col, Progress, Card, CardBody, CardTitle, div } from "reactstrap"
2820
import s from "./DashboardNew.module.scss"
2921
import Widget from "../Widget/Widget"
3022
import AnimateNumber from "react-animated-number"
@@ -72,7 +64,7 @@ export const DashboardNew = connector(
7264

7365
const activities = await getAllActivities(arweave, address)
7466
actions.loadActivities({ activities })
75-
67+
console.log(activities)
7668
const txids = await arweave.arql(txQuery(address, "create-repo"))
7769
let notifications: Notification[] = []
7870
let completed_txids: String[] = []
@@ -138,7 +130,6 @@ export const DashboardNew = connector(
138130
}
139131
})
140132
)(function DashboardNew(props) {
141-
console.log(props.repositories)
142133
return (
143134
<div className={s.root}>
144135
<h1 className="page-title">
@@ -177,7 +168,7 @@ export const DashboardNew = connector(
177168
: "Repo Updated"}
178169
</span>
179170
</CardTitle>
180-
<CardText>
171+
<div>
181172
<Link
182173
to={`/app/main/repository/${
183174
props.address
@@ -196,7 +187,7 @@ export const DashboardNew = connector(
196187
? activity.value
197188
: `Updated ref ${activity.key} => ${activity.value}`}
198189
</div>
199-
</CardText>
190+
</div>
200191
</CardBody>
201192
</div>
202193
</div>

src/ui/components/argit/Repositories.tsx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ export const Repositories = connector(
7070
// if (typeof data === "object") {
7171
// console.log(new TextDecoder("utf-8").decode(data))
7272
// }
73-
console.log(typeof data, "data", txid)
7473
if (typeof data === "string" && data !== "") {
7574
const decoded: any = JSON.parse(data)
7675
repository = {
@@ -89,11 +88,9 @@ export const Repositories = connector(
8988
}
9089
completed_txids.push(txid)
9190
} else {
92-
console.log(typeof data, data)
9391
throw new Error("Pendng Transaction")
9492
}
9593
} catch (error) {
96-
console.log(error, "err")
9794
repository = {
9895
name: "Pending",
9996
txid: txid,
@@ -108,7 +105,6 @@ export const Repositories = connector(
108105
}
109106

110107
if (!repository) {
111-
console.log(repository, "repo")
112108
repository = {
113109
txid: txid,
114110
description: "Pending",
@@ -163,7 +159,7 @@ export const Repositories = connector(
163159
<tbody>
164160
{props.repositories &&
165161
props.repositories.map(repository => (
166-
<tr key={repository.txid}>
162+
<tr key={repository.name}>
167163
<td>
168164
<Link
169165
to={`/app/main/repository/${props.address}/${

src/ui/components/argit/cloneButton.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,11 @@ export const CloneButton = connector(
2626
<Button color="primary" id="Popover1" type="button">
2727
Clone
2828
</Button>
29-
<UncontrolledPopover placement="bottom" trigger="focus" target="Popover1">
29+
<UncontrolledPopover
30+
placement="bottom"
31+
trigger="legacy"
32+
target="Popover1"
33+
>
3034
<PopoverHeader>Clone with argit</PopoverHeader>
3135
<PopoverBody>dgit clone "{url}"</PopoverBody>
3236
</UncontrolledPopover>

webpack.config.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,6 @@ const COPY_RULES = [
6969
from: path.join(__dirname, "/assets/image.jpg"),
7070
to: path.join(__dirname, "/dist/image.jpg")
7171
},
72-
{
73-
from: path.join(__dirname, "assets/landing.html"),
74-
to: path.join(__dirname, "dist/landing.html")
75-
},
7672
{
7773
from: path.join(__dirname, "assets/**"),
7874
to: path.join(__dirname, "dist")

0 commit comments

Comments
 (0)