Commit Graph

57 Commits

Author SHA1 Message Date
1e3e15ab4e feat: add possibility to list specific repositories
ListRepositories will now fetch repos with FetchRepositories only if no repositories are already
passed to the component in its default slot.
2023-05-08 12:48:56 +02:00
1678100198 feat: improve caching of individual repositories
This commit adds the possibility to provide to the caching component data already known and to be
cached immediately without the need of a callback function. This allows caching individual
repositories without having to rely on additional API calls. However, repos can also be retrieved
individually from the GitHub API based on their full name.
2023-05-08 11:19:41 +02:00
e0bcdb6dd3 refactor(cache): remove unused elements in Cache's script 2023-05-08 10:37:39 +02:00
85da82cd70 feat(cache): improve error message in console
No need to try and give the data found in localStorage, just say what went wrong and move on.
2023-05-08 10:36:19 +02:00
e02a336353 docs: update projects page to use new components 2023-05-08 03:43:36 +02:00
4927ef369a fix: remove debug console.log 2023-05-08 03:40:59 +02:00
620296d22f fix: also apply margin to loader 2023-05-08 03:38:17 +02:00
fea30d5bea feat: nicer styling of repositories and repositories lists 2023-05-08 03:35:28 +02:00
de2f11f8fe feat: add loader spinner to API loader 2023-05-08 03:34:48 +02:00
8cbd1dbf07 feat: remove unused PreviewImage component
This commit removes the PreviewImage component that hasn't been used for quite some time in the
codebase.

BREAKING CHANGE: deletion of PreviewImage component
2023-05-08 03:02:37 +02:00
0a1e9536cd feat: handle API calls and caching through Vue components
BREAKING CHANGE: API calls and cache no longer made in their respective composable
2023-05-08 03:01:17 +02:00
08825d870b feat: properly display GitHub repositories 2023-05-05 00:42:11 +02:00
aa82e265c8 fix: correctly update displayed repos after fetch 2023-05-05 00:38:37 +02:00
28223c44d4 fix: fix website compilation 2023-05-05 00:26:34 +02:00
8a24c9d4b1 docs: update some info on resume 2023-05-04 23:37:47 +02:00
9096788def docs: update social links 2023-05-04 23:25:42 +02:00
7c185dd453 feat: add bases for GitHub API interaction and cache 2023-05-04 23:23:01 +02:00
91a8d4e220 docs: change to new Mastodon account 2023-03-29 23:13:59 +02:00
9fbd394878 chore: get rid of vuepress-vite dependency error 2023-03-25 14:16:48 +01:00
23eccce71e fix: typo in Elefen document 2023-03-22 16:46:14 +01:00
8f299b1040 Add new page for personal links 2023-03-22 16:42:13 +01:00
fc7a64239a docs: update README shield text 2023-03-22 15:54:38 +01:00
aacbb1c9a9 chore: update dependencies 2023-03-22 15:54:28 +01:00
32cdbd5e2f fix: better readability in light theme 2023-03-22 15:54:02 +01:00
668e1e2a96 chore: delete backend
Initially, the backend was meant to cache calls to the GitHub API.
However, I decided to just cache them in the sessionStorage of the
visitor’s browser instead.
2023-03-22 11:46:09 +01:00
e438e120cb chore(front): update vuepress to latest version
Signed-off-by: Lucien Cartier-Tilet <lucien@phundrak.com>
2023-03-20 12:48:58 +01:00
924d3cced2 docs(backend): Document some functions and structures
Signed-off-by: Lucien Cartier-Tilet <lucien@phundrak.com>
2023-03-15 16:37:59 +01:00
3448672fec chore(backend): cleaner code
Signed-off-by: Lucien Cartier-Tilet <lucien@phundrak.com>
2023-03-15 16:37:57 +01:00
a1f29c71f6 chore(backend): clearer names for some structures
Signed-off-by: Lucien Cartier-Tilet <lucien@phundrak.com>
2023-03-15 16:37:52 +01:00
c2666c0107 fix(docs): remove incorrect configuration line
Signed-off-by: Lucien Cartier-Tilet <lucien@phundrak.com>
2023-02-27 22:49:04 +01:00
a8aba07245 chore(docs): hint lsp-mode to use vue-semantic-server a.k.a volar
This is mostly an Emacs thing

Signed-off-by: Lucien Cartier-Tilet <lucien@phundrak.com>
2023-02-27 22:48:52 +01:00
1447aac3f6 chore(docs): add editorconfig file
For now, it only applies to web-related files

Signed-off-by: Lucien Cartier-Tilet <lucien@phundrak.com>
2023-02-27 22:48:16 +01:00
e255f872c4 chore(frontend): add git-cliff for generating changelog 2023-02-09 13:21:51 +01:00
acd7297b7f feat: Add commitizen to project
Signed-off-by: Lucien Cartier-Tilet <lucien@phundrak.com>
2023-02-09 12:14:01 +01:00
59e30f919c fix(backend): Fix port exposed by backend
Signed-off-by: Lucien Cartier-Tilet <lucien@phundrak.com>
2023-02-09 12:14:00 +01:00
8e925b884e perf(backend): Cache build of dependencies
When building the Docker image, first compile the project with a fake
main file, namely `dummy.rs`. Once dependencies are built, compile the
actual project by switching back to `src/main.rs`.

Signed-off-by: Lucien Cartier-Tilet <lucien@phundrak.com>
2023-02-09 12:13:58 +01:00
fd71b959f1 chore(backend): Add information on crate
Signed-off-by: Lucien Cartier-Tilet <lucien@phundrak.com>
2023-02-09 12:13:56 +01:00
a0236ba459 fix(backend): compilation
The project could not compile previously due to the musl and the
missing openssl libraries. This is now fixed.

Signed-off-by: Lucien Cartier-Tilet <lucien@phundrak.com>
2023-02-09 12:13:53 +01:00
7f217641f0 feat(backend): add initial backend
Backend as is can query GitHub for the information that will be
necessary later on in the frontend's pages. It does not cache this
information yet though.

Signed-off-by: Lucien Cartier-Tilet <lucien@phundrak.com>
2023-02-09 12:13:51 +01:00
8413181750 refactor: move Vuepress files in dedicated directory
Signed-off-by: Lucien Cartier-Tilet <lucien@phundrak.com>
2023-02-09 12:13:47 +01:00
8e7322c225 fix(docs): change name for "Japanese" in Elefen to "Nion"
Signed-off-by: Lucien Cartier-Tilet <lucien@phundrak.com>
2023-02-09 12:13:45 +01:00
15e086e27f fix(docs): replace missing Elefen translations
Signed-off-by: Lucien Cartier-Tilet <lucien@phundrak.com>
2023-02-09 12:13:43 +01:00
43a20fc776 fix: insert missing newline
That missing newline somehow breaks how the Vue component is rendered.

Signed-off-by: Lucien Cartier-Tilet <lucien@phundrak.com>
2023-02-09 12:13:41 +01:00
fc3f9a8b19 fix: correct links
Signed-off-by: Lucien Cartier-Tilet <lucien@phundrak.com>
2023-02-09 12:13:39 +01:00
5df6a8c251 docs: update pages on KEINE Tashi, add Elefen translation
Signed-off-by: Lucien Cartier-Tilet <lucien@phundrak.com>
2023-02-09 12:13:31 +01:00
76912b8f10 docs: epdate pages on KEINE Tashi, add Elefen translation
Signed-off-by: Lucien Cartier-Tilet <lucien@phundrak.com>
2023-02-09 12:13:30 +01:00
627c321806 docs: typos
Signed-off-by: Lucien Cartier-Tilet <lucien@phundrak.com>
2023-02-09 12:13:28 +01:00
68aabf77e0 feat: better favico, move some code to their own file, add repo link
Signed-off-by: Lucien Cartier-Tilet <lucien@phundrak.com>
2023-02-09 12:13:27 +01:00
95b1268e42 feat: switch to Nord theme
Signed-off-by: Lucien Cartier-Tilet <lucien@phundrak.com>
2023-02-09 12:13:26 +01:00
dd2f47ee65 feat: display last update, but not contributors
Signed-off-by: Lucien Cartier-Tilet <lucien@phundrak.com>
2023-02-09 12:13:24 +01:00