Commit Graph
574 Commits
Author SHA1 Message Date
Taso 41b50d6429 tweak(phone/utils): Moved isImageValid util to common dir 2021-03-03 22:19:59 -05:00
Taso 18c1676c01 tweak(phone/utils): Refactored image validation to promise from cb 2021-03-03 22:19:59 -05:00
Taso e330b89889 tweak(phone/debug): Restricted global mockNuiEvent to dev env
Probably a good idea so we don't forget
2021-03-03 22:04:20 -05:00
Taso b6352ccf82 feat(phone/debug): Added a global window dispatch method
See JSDocs for usage details.
2021-03-03 21:48:45 -05:00
Christopher Gjelten 622a931ace Merge pull request #130 from project-error/bugfix/messages-overlaps-input
Bugfix / Touch height to fix messages overlapping input
2021-03-03 22:44:32 +01:00
SynTer ec053dd883 locale(pt-br): Updated missing keys 2021-03-02 21:15:05 -05:00
J Francisco Rader 2ba6de3a71 Touch height to fix messages overlapping input 2021-03-02 19:01:00 -05:00
Christopher 6f4ee009a9 printWidth: 100 2021-03-02 21:03:06 +01:00
Christopher d27aeb3b0e 120 in printWidth since rocky got md 2021-03-02 20:56:15 +01:00
Christopher f552c1212c more formatting 2021-03-02 20:45:41 +01:00
Christopher 046447b0fb mad formatting 2021-03-02 20:41:25 +01:00
Christopher aa7919b988 feat(resources/marketplace): added typings client side 2021-03-02 19:54:03 +01:00
J Francisco Rader e037a9b0f8 Play/Stop sound after interrupt 2021-03-02 09:31:25 -05:00
J Francisco Rader c37f6a66b4 Safely handle sound settings 2021-03-02 09:27:49 -05:00
Christopher Gjelten ba69ff4b8d Merge pull request #125 from project-error/tweak/snackbar-provider
tweak(phone/snackbarprovider): remove redunant function
2021-03-02 12:37:51 +01:00
J Francisco Rader a579d7bb8d Tweak/use sound mount before its ready to play (#128)
* Make useSound use soundProvider and be sure its mounted!

* Remove console.log
2021-03-01 22:13:44 -05:00
J Francisco Rader e9e22ce9bc Remove comma from hell and improve useRingtoneSound (#127) 2021-03-01 17:29:54 -05:00
J Francisco Rader 4eda44b9c2 Add calling and notification sounds (#119)
* Add calling and notification sounds

* Fix notification visibility on any resolution

* Add comments

* Log howler error src

* Revert removed files im stupid

* Make sliders on settings use changeCommitted instead of onChange

* Fix ringtone paths

* Break alert words overflow

* Fix tweet overflow pepega

* Remove unused hook

* Update volume sliders in real time

* Fix resolution notifications

* Fix initial value for vol sliders

* Fix call duration timer bugs

* Add alert when phone active and phone closes

* keep notification

* Stop ringing when accept
2021-03-01 17:22:58 -05:00
Christopher 8bca955ad7 update delay 2021-03-01 20:01:16 +01:00
Christopher 2a9f475cdc tweak(phone/snackbarprovider): remove redunant function 2021-03-01 19:42:48 +01:00
Oldarorn f58c30b0d9 Added missing translations (#123)
Because it was asked to us ! 

All the english keys are now translated into baguette language + fix typo
2021-03-01 13:05:59 -05:00
J Francisco Rader 52c4009dc9 Fix alerts blocking mouse (#124) 2021-03-01 13:05:09 -05:00
Bombay f866c6de47 Created locales' base for notifications + sound (#121)
* Added missing locales

* Change places for readability

* Typo

* Moved APPS_CONTACT closer to its related locale

* Update en.json

* + Space

* + Space

* bh.json base

Added a base for the language. It's no longer missing translations but some of them are in English

* tr.json base

TR locale base (relocate + added missing locales in English while keeping old ones)

* sv.json base

Base for sv. Same as the ones before.

* ptbr.json base

Same as before

* pt.json base

* Update fr.json

* fr.json base

* Added sound locale

* Added sound locale

* Update es.json

* Update fr.json

* Update pt.json

* Update ptbr.json

* Update sv.json

* Update tr.json
2021-03-01 12:49:40 -05:00
J Francisco Rader 12ed0bd46d Fix alerts position 2021-03-01 12:37:13 -05:00
Christopher 39d66d0ce7 quick fix for PhoneContainer 2021-02-28 17:40:15 +01:00
Christopher Gjelten 51f9b20857 Merge branch 'master' into feat/alerts-for-apps 2021-02-28 02:00:34 +01:00
Christopher 4d82c8e69a feat(phone/messages): minor changes for nui 2021-02-28 01:39:26 +01:00
Christopher ec913fbef4 remove(phone/messages): remove alerts components 2021-02-28 01:35:02 +01:00
Christopher 1c81bfa7f2 fix(camera): resolve issue for deleting images 2021-02-28 00:05:07 +01:00
Christopher Gjelten ee7e544b23 Fix: typo in dialerHistory? 2021-02-27 21:23:29 +01:00
J Francisco Rader 9cfc3fa8ec Remove dependency comments and use useRef instead for useSound hook (#117)
* Remove dependency comments and use useRef instead for useSound hook

* Handle change URL volume and loop gracefully
2021-02-27 15:10:59 -05:00
J Francisco RaderandChristopher 41674968ab Notification alert stays on if it is an incoming call and phone is closed (#115)
* Phone now shows all the time slide a bit if incoming call exists | can close alerts!

* Improve animation

* Improve call controls

* Make alerts not overflow | Call modal is navigable out :)

* Open modal when accepting call

* Cant navigate back from homepage

* Avoid call route if no call active + rename things

* Impprove main apps icons sizes

* hover effect to app icons :)

* Revert interface change

* fix(phone/dialer): resolve not calling when adding contacts

Co-authored-by: Christopher <[email protected]>
2021-02-26 21:45:01 -05:00
Christopher 796548d9d5 remove more unused variables :( 2021-02-26 19:52:36 +01:00
Christopher f0305e3bb2 remove(phone/bank): remove unused hooks 2021-02-26 14:07:23 +01:00
Christopher 47218e63f5 feat(phone|resources/bank): useSnackbar for alert 2021-02-26 12:48:27 +01:00
Christopher 1afca13862 feat(phone/bank): remove alert component 2021-02-26 12:10:47 +01:00
Christopher cea0bd653b fix(phone): remove unused variables 2021-02-26 12:08:04 +01:00
Christopher a9ba633241 tweak(phone): remove bank & twitter notification components 2021-02-26 12:00:46 +01:00
Christopher d4fbdc8e0c feat(phone/dialer): add contacts from dialer history 2021-02-23 23:19:29 +01:00
J Francisco Rader 51fb261e8a Fix phone stuck after calling (#113) 2021-02-23 15:46:52 -05:00
J Francisco Rader f6d7a3dbe1 Feature/floating notifications calling and twitter (#112)
* Add floating notifications :O

* Add phone notifications and refactor calling ui

* This is unsafe

* Fix controls null check

* Remove go to alert

* Fix phone stuck after call

* Remove lazy mount for Phone

* Fix open/close cl_main

* Use effect for notification visibility

* Remove all alerts when phone closes

* Avoid re-render useNuiEvent

* It works now :c
2021-02-23 13:19:10 -05:00
Christopher Gjelten fef876d9a6 Merge branch 'master' into feat/alerts-for-apps 2021-02-22 21:58:19 +01:00
J Francisco Rader bf814041d7 Remove hardcoded dialer colors 2021-02-21 19:41:59 -05:00
J Francisco Rader 65c71f9cb6 Fix StatusButton shadows 2021-02-21 19:36:03 -05:00
J Francisco Rader 3171052963 Add contacts referal after creating from dialer 2021-02-21 19:34:36 -05:00
J Francisco Rader 1650929eed Make see contacts list after saving new contact 2021-02-21 19:27:56 -05:00
J Francisco Rader ada49700e5 Add dialer app theme | Add new contact button from dialer after you type number 2021-02-21 19:24:38 -05:00
J Francisco Rader 2c6358e4c3 Add status button | Revert white icons 2021-02-21 18:13:08 -05:00
J Francisco Rader bf7d94b33d Fix alerts overflow and improve message-bubble style 2021-02-21 13:03:19 -05:00
J Francisco Rader 9f04ac3243 Add theme provider for notes 2021-02-21 12:49:09 -05:00