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

Speed ​​up the router #20

Closed
5 tasks done
Tracked by #26
Daxexs opened this issue Aug 1, 2024 · 0 comments
Closed
5 tasks done
Tracked by #26

Speed ​​up the router #20

Daxexs opened this issue Aug 1, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@Daxexs
Copy link
Owner

Daxexs commented Aug 1, 2024

  • Improve the speed of switching between pages.
  • Now page.go() and data.go() work similarly to go to a page (View), the only difference is that data.go() checks for url redirects when using data. redirect().
  • Code optimization and readability improvement.
  • Repair of small bugs.
  • Update documentation

New method added in Datasy (data)

history_routes : Get the history of the routes.

@Daxexs Daxexs added the enhancement New feature or request label Aug 1, 2024
@Daxexs Daxexs self-assigned this Aug 1, 2024
@Daxexs Daxexs moved this to Backlog in Flet-Easy Development Aug 1, 2024
@Daxexs Daxexs moved this from Backlog to In progress in Flet-Easy Development Aug 1, 2024
@Daxexs Daxexs moved this from In progress to In review in Flet-Easy Development Aug 9, 2024
@Daxexs Daxexs mentioned this issue Aug 30, 2024
7 tasks
@Daxexs Daxexs mentioned this issue Sep 12, 2024
Daxexs added a commit that referenced this issue Sep 12, 2024
* ⚡The speed of the router is improved to more than twice as fast. (#20)
* Ways to install Flet-Easy. (#25)
* Add `go_back` method. (#21)
* Ruff configuration update (>=0.4.4) (#22)
* Supporting the use of class to create a view. (#24)
* Bug fixes found in previous changes.
* Documentation improvements and updates. (#26)

**Changes in the api:**
New method added in Datasy (data) [[Doc](https://daxexs.github.io/flet-easy/0.2.4/how-to-use/#datasy-data/)]

* `history_routes` : Get the history of the routes.
* `go_back` : Method to go back to the previous route.

**🔎Note**
* Now `page.go()` and `data.go()` work similarly to go to a page (View), the only difference is that `data.go()` checks for url redirects when using `data.redirect()`.
* The 'clear' parameter of `Pagesy` and the `page` decorator is deprecated, it will be removed in future versions.
@Daxexs Daxexs moved this from In review to Done in Flet-Easy Development Sep 12, 2024
@Daxexs Daxexs closed this as completed Sep 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
Development

No branches or pull requests

1 participant