mirror of
https://github.com/muety/wakapi.git
synced 2023-08-10 21:12:56 +03:00
Compare commits
7 Commits
Author | SHA1 | Date | |
---|---|---|---|
f15efcd6f2 | |||
22e91ad362 | |||
932ba111cc | |||
23d00d574b | |||
d4b15e7959 | |||
42808fa38a | |||
52269c780f |
@ -56,4 +56,6 @@ COPY --from=build-env /app .
|
|||||||
|
|
||||||
VOLUME /data
|
VOLUME /data
|
||||||
|
|
||||||
|
EXPOSE 3000
|
||||||
|
|
||||||
ENTRYPOINT /app/entrypoint.sh
|
ENTRYPOINT /app/entrypoint.sh
|
||||||
|
@ -132,9 +132,9 @@ function draw(subselection) {
|
|||||||
onClick: (event, data) => {
|
onClick: (event, data) => {
|
||||||
const idx = data[0].index
|
const idx = data[0].index
|
||||||
const name = wakapiData.projects[idx].key
|
const name = wakapiData.projects[idx].key
|
||||||
const query = new URLSearchParams(window.location.search)
|
const url = new URL(window.location.href)
|
||||||
query.set('project', name)
|
url.searchParams.set('project', name)
|
||||||
window.location.replace(`${window.location.pathname.slice(1)}?${query.toString()}`)
|
window.location.href = url.href
|
||||||
},
|
},
|
||||||
onHover: (event, elem) => {
|
onHover: (event, elem) => {
|
||||||
event.native.target.style.cursor = elem[0] ? 'pointer' : 'default'
|
event.native.target.style.cursor = elem[0] ? 'pointer' : 'default'
|
||||||
|
@ -1 +1 @@
|
|||||||
2.2.2
|
2.2.4
|
@ -189,12 +189,11 @@
|
|||||||
# <strong>Step 1:</strong> Download WakaTime plugin for your IDE<br>
|
# <strong>Step 1:</strong> Download WakaTime plugin for your IDE<br>
|
||||||
# See: https://wakatime.com/plugins<br><br>
|
# See: https://wakatime.com/plugins<br><br>
|
||||||
|
|
||||||
# <strong>Step 2:</strong> Adapt your config<br>
|
# <strong>Step 2:</strong> Set your ~/.wakatime.cfg to this:<br><br>
|
||||||
$ vi ~/.wakatime.cfg<br>
|
|
||||||
|
|
||||||
<!-- https://github.com/muety/wakapi/issues/224#issuecomment-890855563 -->
|
<!-- https://github.com/muety/wakapi/issues/224#issuecomment-890855563 -->
|
||||||
# Set <em>api_url = <span class="with-url-inner">%s/api</span></em><br>
|
[settings]<br>
|
||||||
# Set <em>api_key = <span id="api-key-instruction">{{ .ApiKey }}</span></em><br><br>
|
api_url = <span class="with-url-inner">%s/api</span><br>
|
||||||
|
api_key = <span id="api-key-instruction">{{ .ApiKey }}</span><br><br>
|
||||||
|
|
||||||
# <strong>Step 3:</strong> Start coding and then check back here!
|
# <strong>Step 3:</strong> Start coding and then check back here!
|
||||||
</div>
|
</div>
|
||||||
|
Reference in New Issue
Block a user