Skip to content
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: Add Pagination Support #56

Merged
merged 1 commit into from
Feb 7, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
192 changes: 96 additions & 96 deletions Cargo.lock

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
cosmicding is a [linkding](https://github.com/sissbruecker/linkding) companion app for COSMIC™ Desktop Environment.
It provides an alternative frontend to linkding based on [libcosmic](https://github.com/pop-os/libcosmic).

While cosmicding was designed for COSMIC™ Desktop Environment, it should be able to run cross-platform.
While cosmicding was designed for COSMIC™ Desktop Environment, it may "run" cross-platform (#24).

Features:

Expand Down Expand Up @@ -68,7 +68,7 @@ sudo just install

cosmicding is currently under heavy development, and is not distributed outside of source code.

The initial release is expected to support macOS and Linux platforms.
The initial release is expected to support Linux platforms, and macOS partially.

## Thanks

Expand Down
8 changes: 5 additions & 3 deletions i18n/en/cosmicding.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ added-bookmark-to-account = Added bookmark {$bkmrk} to {$acc}
api-key = API Key
appearance = Appearance
archived = Archived
bookmark-date-newest = Newest First
bookmark-date-oldest = Oldest First
bookmark-alphabetical-ascending = A-Z (Bookmark Title)
bookmark-alphabetical-descending = Z-A (Bookmark Title)
bookmark-date-newest = Newest First
bookmark-date-oldest = Oldest First
bookmarks = Bookmarks
bookmarks-with-count = Bookmarks ({$count})
cancel = Cancel
Expand All @@ -35,16 +35,18 @@ git-description = Git commit {$hash} on {$date}
http-error = HTTP error {$http_rc}: {$http_err}
instance = Instance
invalid-api-token = Invalid API token
last-sync-status = Last sync status
items-per-page = Items Per Page - {{$count}}
last-sync-time = Last sync time
light = Light
match-desktop = Match Desktop
next = Next
no-accounts = No accounts configured
no-bookmarks = No bookmarks
no-bookmarks-found-for-account = No bookmarks found for account {$acc}
notes = Notes
open-accounts-page = Open Accounts Page
open-instance = Open Instance
previous = Previous
provided-url-is-not-valid = Provided URL is not valid
quit = Quit
refresh = Refresh
Expand Down
8 changes: 5 additions & 3 deletions i18n/sv/cosmicding.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ added-bookmark-to-account = Lagt till bokmärke {$bkmrk} till {$acc}
api-key = API-nyckel
appearance = Utseende
archived = Arkiverad
bookmark-date-newest = Nyaste först
bookmark-date-oldest = Äldst först
bookmark-alphabetical-ascending = A-Z (bokmärkestitel)
bookmark-alphabetical-descending = Z-A (bokmärkestitel)
bookmark-date-newest = Nyaste först
bookmark-date-oldest = Äldst först
bookmarks = Bokmärken
bookmarks-with-count = Bokmärken ({$count})
cancel = Avbryt
Expand All @@ -35,16 +35,18 @@ git-description = Git commit {$hash} på {$date}
http-error = HTTP fel {$http_rc}: {$http_err}
instance = Instans
invalid-api-token = Ogiltig API-token
last-sync-status = Senaste synkroniseringsstatus
items-per-page = Poster per sida - {$count}
last-sync-time = Senaste synkroniseringstid
light = Ljust
match-desktop = Matcha skrivbordet
next = Nästa
no-accounts = Inga konton har konfigurerats
no-bookmarks = Inga bokmärken
no-bookmarks-found-for-account = Inga bokmärken hittades för kontot {$acc}
notes = Anteckningar
open-accounts-page = Öppna kontosidan
open-instance = Öppna instans
previous = Föregående
provided-url-is-not-valid = Den angivna webbadressen är inte giltig
quit = Avsluta
refresh = Uppdatera
Expand Down
2 changes: 1 addition & 1 deletion justfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ app-extras-dir := app-dir / app-name / 'Contents' / 'Resources'
dmg-name := name + '.dmg'
dmg-release := release-dir / 'macos'
version := '0.1.0'
build := 'test'

default: build-release

Expand Down Expand Up @@ -83,6 +82,7 @@ run-linux *args:
env RUST_BACKTRACE=full cargo run --release {{args}}

run-macos:
just build-release
env RUST_BACKTRACE=full {{app-binary-dir}}/{{name}}

run *args:
Expand Down
3 changes: 3 additions & 0 deletions res/icons/go-next-symbolic.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions res/icons/go-previous-symbolic.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified res/screenshots/accounts.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified res/screenshots/bookmarks.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading