Skip to content

Commit

Permalink
Migrate frontend to yew (#56)
Browse files Browse the repository at this point in the history
* Implement main logic of frontend in yew

* made duration input much better

* clean duration input code a bit up

* put config.toml.sample in right place

* integrate css

* put config.toml on .gitignore

* Delete backend/config.toml

* refactor folder structure in frontend

* clean .gitignore up

* updated yew to 0.21.0

* move tracing setup to util.rs

* format files with cargo fmt and reorder structs and impls

* Delete .idea directory

* change the submit logic to prevent page reloads in case of panics

* make copy button select text when pressing

* changes from laptop

* changes from desktop

* fix layout shift

* remove error message timer and instead remove all messages on next use of the shortener

* * switch linked-hash-set library to a more feature full one
* display a x remaining messages message when there are more then n messages

* put labels above input instead of relying on placeholder

* implement the backend checks for negative max_uses and valid_for in frontend

* ported all possible scss to stylist

* applied suggestions
  • Loading branch information
zUnixorn authored Oct 12, 2023
1 parent 818a0ad commit 89e9aa4
Show file tree
Hide file tree
Showing 53 changed files with 6,486 additions and 1,316 deletions.
9 changes: 5 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
/target
/config.toml
/backend/config.toml
/database
/.env
database.db
/database.db-shm
/database.db-wal
database.db-shm
database.db-wal
.idea
/.fleet/
.fleet
/frontend/dist
8 changes: 0 additions & 8 deletions .idea/.gitignore

This file was deleted.

5 changes: 0 additions & 5 deletions .idea/codeStyles/codeStyleConfig.xml

This file was deleted.

7 changes: 0 additions & 7 deletions .idea/discord.xml

This file was deleted.

8 changes: 0 additions & 8 deletions .idea/modules.xml

This file was deleted.

11 changes: 0 additions & 11 deletions .idea/shorty.iml

This file was deleted.

6 changes: 0 additions & 6 deletions .idea/vcs.xml

This file was deleted.

Loading

0 comments on commit 89e9aa4

Please sign in to comment.