Skip to content

Commit

Permalink
Fix pull request statistics not showing on cards
Browse files Browse the repository at this point in the history
  • Loading branch information
kaypee90 committed Dec 15, 2024
1 parent 1015b43 commit c567160
Show file tree
Hide file tree
Showing 7 changed files with 268 additions and 6 deletions.
2 changes: 1 addition & 1 deletion cmd/depbot/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"time"
)

const version = "1.1.1"
const version = "1.1.2"

func displayAppVersion() {
fmt.Printf("Depbot %s\n", version)
Expand Down
6 changes: 3 additions & 3 deletions cmd/depbot/static/asset-manifest.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"files": {
"main.css": "/static/css/main.e6c13ad2.css",
"main.js": "/static/js/main.42dd58ad.js",
"main.js": "/static/js/main.91a838d8.js",
"static/js/453.6adcfb1c.chunk.js": "/static/js/453.6adcfb1c.chunk.js",
"index.html": "/index.html",
"main.e6c13ad2.css.map": "/static/css/main.e6c13ad2.css.map",
"main.42dd58ad.js.map": "/static/js/main.42dd58ad.js.map",
"main.91a838d8.js.map": "/static/js/main.91a838d8.js.map",
"453.6adcfb1c.chunk.js.map": "/static/js/453.6adcfb1c.chunk.js.map"
},
"entrypoints": [
"static/css/main.e6c13ad2.css",
"static/js/main.42dd58ad.js"
"static/js/main.91a838d8.js"
]
}
2 changes: 1 addition & 1 deletion cmd/depbot/static/index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/static/static/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Depbot wizard for dependabot"/><link rel="apple-touch-icon" href="/static/static/logo192.png"/><link rel="manifest" href="/static/static/manifest.json"/><title>Depbot</title><script defer="defer" src="/static/static/static/js/main.42dd58ad.js"></script><link href="/static/static/static/css/main.e6c13ad2.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/static/static/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Depbot wizard for dependabot"/><link rel="apple-touch-icon" href="/static/static/logo192.png"/><link rel="manifest" href="/static/static/manifest.json"/><title>Depbot</title><script defer="defer" src="/static/static/static/js/main.91a838d8.js"></script><link href="/static/static/static/css/main.e6c13ad2.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
185 changes: 185 additions & 0 deletions cmd/depbot/static/static/js/main.91a838d8.js

Large diffs are not rendered by default.

76 changes: 76 additions & 0 deletions cmd/depbot/static/static/js/main.91a838d8.js.LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
/**
* @license React
* react-dom.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

/**
* @license React
* react-is.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

/**
* @license React
* react-jsx-runtime.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

/**
* @license React
* react.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

/**
* @license React
* scheduler.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

/**
* @license React
* use-sync-external-store-shim.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

/**
* @mui/styled-engine v6.1.10
*
* @license MIT
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

/** @license React v16.13.1
* react-is.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
1 change: 1 addition & 0 deletions cmd/depbot/static/static/js/main.91a838d8.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion ui/depbot-app/src/components/github-info.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export const GithubInfo: React.FC = observer(() => {

const closed = configStore.pullRequests.filter((pr) => pr.state.toLowerCase() === PullRequestState.CLOSED).length;
setClosed(closed);
}, []);
}, [configStore.pullRequests]);

return (
<ThemeProvider theme={lightTheme}>
Expand Down

0 comments on commit c567160

Please sign in to comment.