-
-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat!: Implementing OS-specific download buttons #2581
Open
plvzfq-rit
wants to merge
32
commits into
JabRef:main
Choose a base branch
from
plvzfq-rit:implementing-os-specific-download-buttons
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+117
−29
Open
Changes from all commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
ca39ab3
chore: add .idea folder to .gitignore
plvzfq-rit e83fe3b
feat: change link of masthead button to go to download section
plvzfq-rit 920801c
feat: add slash to link of masthead button
plvzfq-rit 5bba799
feat!: add other packages to [[os]].vue
plvzfq-rit dc4b088
feat: add Windows buttons
plvzfq-rit 15f2540
feat: add Linux specific buttons
plvzfq-rit 66d774a
feat: add Mac-specific buttons
plvzfq-rit bd7151a
feat: upgrade Windows button group to n-flex from n-grid
plvzfq-rit fd4baeb
feat: add button icons to Windows buttons
plvzfq-rit d1dc670
feat: have Linux button group use n-flow
plvzfq-rit ac0c12a
feat: update Linux button group to have same style as Windows button …
plvzfq-rit 327e74e
feat: remove unnecessary class to span of Windows button group
plvzfq-rit 75b24ea
feat: update Mac buttons to have same style as Windows buttons
plvzfq-rit b983296
fix: update colors of Mac buttons from default to primary
plvzfq-rit 5218500
fix: add periods to Mac button extensions
plvzfq-rit 4e41c33
fix: add parentheses to isLinux function call
plvzfq-rit f51f078
feat: create DownloadButton vue file
plvzfq-rit d387430
refactor: use DownloadButton in LandingPageDownload
plvzfq-rit 4334e79
feat: migrate from fosshub to github releases and fix button href bug
plvzfq-rit f13dc6a
Merge branch 'JabRef:main' into implementing-os-specific-download-but…
plvzfq-rit a80d9f5
feat: remove extraneous console.log statements
plvzfq-rit 5fe7d43
Merge branch 'implementing-os-specific-download-buttons' of https://g…
plvzfq-rit 52da8e1
Merge branch 'main' into implementing-os-specific-download-buttons
plvzfq-rit ee46a56
chore: remove unused downloadUrl constant
plvzfq-rit 28bcfc6
refactor: change .zip and .tar.gz to more descriptive names (portables)
plvzfq-rit 466393f
feat: change from /download to GitHub release page
plvzfq-rit f682d8f
chore: remove unused import
plvzfq-rit adde018
test: trying to update tests
plvzfq-rit be8a2fc
style: run prettier on DownloadButton.vue
plvzfq-rit c779276
style: run prettier on components/LandingPageDownload.client.vue
plvzfq-rit 2db0a21
style: run prettier on pages/download/[[os]].vue
plvzfq-rit 7877825
style: run prettier on pages/index.vue
plvzfq-rit File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<template> | ||
<n-button | ||
type="primary" | ||
size="large" | ||
style="height: 3.2em" | ||
> | ||
<template #icon> | ||
<n-icon> | ||
<Icon name="material-symbols:download" /> | ||
</n-icon> | ||
</template> | ||
<a | ||
class="text-2xl" | ||
:href | ||
>{{ text }}</a | ||
> | ||
</n-button> | ||
</template> | ||
<script setup lang="ts"> | ||
defineProps({ | ||
text: { | ||
type: String, | ||
default: '', | ||
}, | ||
href: { | ||
type: String, | ||
default: '', | ||
}, | ||
}) | ||
</script> |
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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We are in the process of phasing out fosshub, can you change it to github release?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll see what I could do+
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @Siedlerchr, just finished migrating the links from Fosshub to GitHub Release. There have been troubles on my end though with the
useFetch
function for some reason that I'm not sure of; this hinders me from fully checking if the implementation's good or not. Using it at the moment in my branch yields an undefined value. I checked the response attained by the function and it said that I had bad credentials. Investigating further led me to see that I do not have aGITHUB_REPO_TOKEN
attribute in my .env file. Should I perhaps put a personal GitHub token in the .env file for testing purposes?For now though, I'll try to work on the overview page. Much thanks!