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

Card #13

Merged
merged 3 commits into from
Jul 20, 2023
Merged

Card #13

merged 3 commits into from
Jul 20, 2023

Conversation

wash2
Copy link
Contributor

@wash2 wash2 commented Jul 17, 2023

This implements an animated stack of cards.

@wash2 wash2 marked this pull request as ready for review July 20, 2023 19:52
@wash2 wash2 merged commit 7df0101 into libcosmic Jul 20, 2023
3 of 19 checks passed
@wash2 wash2 deleted the card branch July 20, 2023 19:57
wash2 added a commit that referenced this pull request Aug 21, 2023
* Add compat with libcosmic

Requires adding the libcosmic feature in Cargo.toml
```
cosmic-time = { version = 1.2.3, features = ["libcosmic"] }
```

* Don't unconditionally depends on sctk or winit

* expose once_cell version through cargo feature

* Expose a `chain` module to easily import for some animations

Particulatly animations that are triggered from an interaction,
and the animation needs to be passed thtough a message.

* Fix toggler widget & generall toggler improvements

* Libcosmic: Temporarily always animate at 120fps

Libcosmic needs to correctly expose a subscription to the
display's refresh rate.

* Refactor timeline check into `is_idle()`

Reduces code duplication and makes cosmic-time easier to use with
iced integrations where `subscriptions` might not be used.

* udpate libcosmic

* chore: Update libcosmic

* wip: update for iced rebase

* fix: use frames subscription for libcosmic

* refactor: remove rev from libcosmic dep

* Card (#13)

* feat: cards

* remove lockfile

* chore: use master branch

* fix: always get state in on_event for the show_less and clear_all buttons

* chore: update to use 0.10.0 and reexport iced modules

* fix: clippy

* chore: update examples

* chore: use git dep for libcosmic

* chore: add wayland and winit libcosmic features

* chore: fix docs

* chore: clippy fixes and ci

* chore: more CI

---------

Co-authored-by: 13r0ck <brock@szu.email>
Co-authored-by: Victoria Brekenfeld <victoria@system76.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant