Commit graph

7880 commits

Author SHA1 Message Date
Adam Brown
486671f385 making the incrementing helper specific to increments of 1 and incrementing first before returning the minimum value 2022-01-07 13:38:22 +00:00
Adam Brown
fa30691583 adding automatic rotation of the onboarding carousel items
- items change every 5 seconds
- uses fake dragging to control the page transition speed, by default it's too fast
2022-01-07 13:38:22 +00:00
Adam Brown
28f6d10af9
Merge pull request #4727 from vector-im/feature/adm/splash-carousel
FTUE Splash carousel MVP
2022-01-07 13:36:39 +00:00
Adam Brown
785a142720 moving the carousel backgrounds to the ui-styles module 2022-01-07 11:17:39 +00:00
Adam Brown
8a3652aec2 moving the static carousel state creation to the state constructor 2022-01-07 11:16:24 +00:00
Benoit Marty
3f9bea308a
Merge pull request #4872 from vector-im/feature/adm/enabling-ftue-already-have-account
Enabling FTUE_AUTH onboarding variant
2022-01-06 20:57:51 +01:00
Benoit Marty
b852b9de9c
Merge pull request #4871 from vector-im/feature/nfe/qr_scanner_toolbar
Toolbar is added to a views with QR code scan
2022-01-06 20:55:06 +01:00
Adam Brown
0868ca9c77 deleting tmp carousel images from the hdpi package, will wait until we have the final images before creating separate densities 2022-01-06 19:54:48 +00:00
Adam Brown
313a2a88e6 removing redundant strings provider 2022-01-06 19:54:48 +00:00
Adam Brown
f62ebbc33a using fragment module provided injections to enable using the constructor for project consistent 2022-01-06 19:54:48 +00:00
Adam Brown
58d9da5bd2 adding missing super 2022-01-06 19:54:48 +00:00
Adam Brown
5df47fba53 reverting rebased named change 2022-01-06 19:54:48 +00:00
Adam Brown
d71930901b disabling ftue auth carousel whilst its in dev 2022-01-06 19:54:48 +00:00
Adam Brown
633f495e2c extracting the inner carousel fragment classes 2022-01-06 19:54:48 +00:00
Adam Brown
c0db9f7ca1 converting temporary carousel images to webp 2022-01-06 19:54:48 +00:00
Adam Brown
6929c947b0 adding gradient backgrounds to the carousel pages
- also coverts the carousel pages to constraint layout and makes use of gutters to provide percentage based sizing
2022-01-06 19:54:48 +00:00
Adam Brown
a2f780bef4 adding carousel content, images are temporary 2022-01-06 19:54:48 +00:00
Adam Brown
955fb03532 adding barebones splash carousel fragment, based on feature flag 2022-01-06 19:54:48 +00:00
Adam Brown
773d335add adding debug feature flag for the splash carousel 2022-01-06 19:54:47 +00:00
Adam Brown
2541c3f6a5 copying all of the login fragments into the ftue auth domain 2022-01-06 17:50:13 +00:00
Adam Brown
16ed3f799f adding I already have an account functionality to the ftue auth splash 2022-01-06 17:50:13 +00:00
Adam Brown
fa939a2181 cloning the splash fragment into the onboarding 2022-01-06 17:50:13 +00:00
Adam Brown
e75764632c renaming the ftue domain to onboarding and ftue to ftue auth 2022-01-06 17:50:13 +00:00
Adam Brown
3465b7d844 switching the element onboarding flow to use FTUE_AUTH
- this flow consistent of feature flag which can enable disable other parts, by default the I already have an account is enabled
2022-01-06 17:21:08 +00:00
Adam Brown
f24c962a4a
Merge pull request #4668 from vector-im/feature/adm/i-already-have-an-account
FTUE Auth - I already have an account
2022-01-06 17:11:44 +00:00
fedrunov
f35ffb0a60 referencing layout with @+id changed to @id according to code quality rules 2022-01-06 17:57:16 +01:00
fedrunov
6bfd9d07a9 Toolbar is added to a views with QR code scan 2022-01-06 17:11:23 +01:00
Adam Brown
41f931e466 renaming parameters and properties to avoid clashing with kotlin/java8 keywords 2022-01-06 14:17:23 +00:00
Adam Brown
b40324a8ba
Merge pull request #4738 from vector-im/feature/adm/cloning-login-fragments-to-ftue
Cloning the `Login` fragments to `FtueAuth`
2022-01-06 13:59:46 +00:00
Benoit Marty
296929e179
Merge pull request #4790 from vector-im/feature/adm/emoji-recycling
Timeline recycling crash
2022-01-06 14:55:29 +01:00
Adam Brown
6fbf8faf53 using fragment constructor vai fragment module instead of hilt entry point 2022-01-06 10:03:13 +00:00
Adam Brown
ccd2d95f0f removing duplicated layout file 2022-01-06 10:03:13 +00:00
Adam Brown
c6396ac03a updating debug feature label to explain that it's related to the ftue auth 2022-01-06 10:03:13 +00:00
Adam Brown
380f079ab7 taking the already have an account feature flag into account in the ftue auth splash 2022-01-06 10:03:13 +00:00
Adam Brown
e3c0b34651 adding support for the boolean features and adding a new flag for the already have an account 2022-01-06 10:03:13 +00:00
Adam Brown
768419b11a using correct views instances - fixes missing loading 2022-01-06 10:03:13 +00:00
Adam Brown
d5373545f0 styling the debug trigger in the ftue splash 2022-01-06 10:03:13 +00:00
Adam Brown
2647e061a2 copying all of the login fragments into the ftue auth domain 2022-01-06 10:03:13 +00:00
Adam Brown
811613fa4d adding I already have an account functionality to the ftue auth splash 2022-01-06 10:03:13 +00:00
Adam Brown
538f51e2d2 adds a debug menu entry point in the splash debug info 2022-01-06 10:03:13 +00:00
Adam Brown
7b3163e140 cloning the splash fragment into the onboarding 2022-01-06 10:03:13 +00:00
Adam Brown
8de892bc60 renaming the ftue domain to onboarding and ftue to ftue auth 2022-01-06 10:03:13 +00:00
Adam Brown
3e1801a5c4 clones the login view model domain to the ftue so that we can start overriding and merge login2 behaviour 2022-01-06 10:03:13 +00:00
Adam Brown
e091ea82da porting the LoginActivty2 to a dynamic FTUE activity
- supports switching between a copied legacy flow (DefaultFTUE) and the WIP variant
- this will allow us to make iterative changes to the default ftue flow without affecting the legacy flow/forks
2022-01-06 10:03:13 +00:00
Adam Brown
603c2fa690 updating out of sync provider function name 2022-01-06 10:02:49 +00:00
Adam Brown
98b88c104a adding all the ftue auth fragments to the fragment module 2022-01-06 10:02:48 +00:00
Adam Brown
8d819c76ab copying all of the login fragments into the ftue auth domain 2022-01-06 09:44:59 +00:00
Adam Brown
355d8ebdc6
Merge pull request #4657 from vector-im/feature/adm/cloning-login-domain-to-ftue
Cloning the `LoginViewModel` domain to `Onboarding`
2022-01-06 09:43:46 +00:00
Adam Brown
22bab47dad adding back the beforeSetText logic for markwon integraton and adding a nullable check to avoid attempt to cast a null to non null 2022-01-06 09:28:08 +00:00
Benoit Marty
1490854b4c
Merge pull request #4799 from vector-im/feature/adm/inconsistent-outgoing-call-output
Outgoing call ringtone using wrong audio device
2022-01-05 22:05:23 +01:00