Commit graph

17 commits

Author SHA1 Message Date
Igor Katson
68a85ab41b
Update npm packages 2025-06-05 11:46:35 +01:00
Igor Katson
8b66119746
Update deps 2024-10-03 13:46:19 +01:00
pasta
da7fd268b6
feat: upgrade to tauri 2.0
Steps taken:
1. install tauri via cargo install tauri-cli
2. see errors when running cargo tauri build
3. run cargo tauri migrate as recommended by docs https://tauri.app/start/migrate/from-tauri-1/
4. manually fix some .ts includes as recommeneded by docs https://tauri.app/start/migrate/from-tauri-1/#migrate-to-core-module
5. successfully build using cargo tauri build
2024-10-02 14:30:28 -05:00
Igor Katson
010ad58c21
webui-build 2024-08-06 14:14:42 +01:00
Igor Katson
37b96aedf8
updates and upgrades 2024-08-06 13:53:13 +01:00
Igor Katson
26c8af1ca7 rebuild webui 2024-04-07 10:56:06 +01:00
Igor Katson
81d2301e20 Starting to cut 5.6.0 2024-04-07 10:56:06 +01:00
Igor Katson
5eb01ac226
Ability to change the list of files at any time, including through UI (#115)
* Now can update the list of files without pausing/unpausing

* Shrink a few functions

* Reopen write when updating files

* Todos

* opened_file abstraction

* iter_pieces_within iterator

* Simplify iter_pieces_within

* Simplify iter_pieces_within

* Add "iter_file_details"

* temporarily broken: readonly by default

* Live torrent - reopen files

* Reopen files after changing the list

* Now reopening files read only when they are completed

* Fix a bug in opened_file.rs

* update todos

* update help

* Reconnect all peers that are idling

* Add a couple fields to OpenedFile

* Add a couple fields to OpenedFile

* Small cleanups - use the new iterator where possible

* size_of_piece_in_file function

* Updating have

* Include file progress

* Almost nothing

* ugly progress bars

* bad UI, saving

* its not so bad

* Works now

* update progress bar a bit

* Reopen read-only on pause

* Zero bytes isnt too bad! Doesnt break anything

* fix per file progress bars

* progress bar not as ugly anymore?

* ui tweaks

* fix a react bug

* TODO.md update

* Fix js + TODOs

* Compute per-file progress on init

* Fix stats updating live

* Nothing

* Nothing

* cleanup ui a bit

* Nothing

* Final fixes

* Trying to fix rust 1.73

* Sorting filenames

* remove unnecessary indentation

* Remove unnecessary comment
2024-04-06 09:20:03 +01:00
Igor Katson
1cc8c6ba85
Update npm deps 2024-02-26 10:15:28 +00:00
Igor Katson
e6ef3ff23f
1/n Use zustand to reduce re-renders 2023-12-17 19:27:22 +00:00
Igor Katson
50fc7f2f01
Rewrite all styles to tailwind CSS from Bootstrap by @arccik (#58)
* add tailwindcss

* add header component with logo and add torrent buttons

* remove bootstrap from few files replace it with tailwindcss classes, add card which diplay all nessesarry information about torrent and current state

* Add modal component and reorganize components folder

* add useModal hook to render modal though react portal, remove UrlPromptModal and replace it with useModal.

* add taliwindcss to Desctop app

* removed bootstrap from deleteTorrentModal replace it with useModal

* replacing bootstrap with useModal

* saving

* Saving

* Header and cards now look good

* Modals still broken...

* still doesnt work

* Finally it scrolls

* Continuing to fix bugs

* Continuing to fix bugs

* Aler

* Getting better

* Desktop doesnt work with tailwind somehow

* Desktop now works with tailwind

* Styles fully work

* (De)select all buttons

* fix alert styles

* Animate progress bar

* Progress bar + error colors

* Fix error message

* Torrent status icon (#56)

* add statusIcon component to display icon of the torrent status

* change props name and remove isDownloading variable

* Tweak styles for icon

* Tweak styles

* Update styles

---------

Co-authored-by: Artur Lozovski <arccik@gmail.com>
2023-12-14 10:37:29 +00:00
Igor Katson
29c2db1ab4
Remove symlinks in nodejs setup 2023-12-11 19:58:53 +00:00
Igor Katson
98d6a6f054
Trying to optimize logs JS code 2023-12-09 12:25:14 +00:00
Igor Katson
d768211457
Use react-bs icons, remove bootstrap-icons css 2023-12-07 22:42:19 +00:00
Igor Katson
21b78468a5
Fixed npm warnings 2023-12-06 01:26:33 +00:00
Igor Katson
88d9c70f0a
Update makefile and add dev guide 2023-12-05 13:16:16 +00:00
Igor Katson
30da40555a
Add a desktop app with tauri 2023-12-02 22:24:36 +00:00