-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add processor github links to the overlays of each step of a ti…
…meline item (#100) * refactor: unify project store, use typescript * feat: add processor github links to timeline item step overlays * feat: add hover effect to links * style: lint
- Loading branch information
Showing
9 changed files
with
99 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
import { reactive } from 'vue' | ||
import type { Project, Release } from '@/types' | ||
|
||
|
||
export default reactive<{ | ||
repos: Project[], | ||
releases: Release[], | ||
setRepos: (repos: Project[]) => void | ||
setReleases: (releases: Release[]) => void | ||
getRepoById: (id: string) => Project | null | ||
}>({ | ||
repos: [], | ||
releases: [], | ||
setRepos(repos: Project[]) { | ||
this.repos = repos | ||
}, | ||
setReleases(releases: Release[]) { | ||
this.releases = releases | ||
}, | ||
getRepoById(id) { | ||
return this.repos.find(repo => { | ||
return repo.id === id | ||
}) ?? null | ||
} | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters