Commit Graph
72 Commits
Author SHA1 Message Date
J Francisco Rader 0ec2b682e7 Messages bugfix again :D (#164)
* Handle offline messages | Fetch messages when broadcasted | Fetch message groups

* Fetch messages on notification click

* Dont fetch groups if duplicate group

* Only submit new message on click submit

* Fix infinite loading when duplicated group is creatded

* Fix infinite loading when group already existed

* Make code prettier

* Centralize fetch messages on goToConversation

* Remove duplicated event

* Improve message groups mapping to include yourself for unreadCount + Fix redirection after adding contact + General improvements

* Remove conflicts

* Fix media paths
2021-03-18 23:01:54 -03:00
J Francisco Rader 75a4eb176e Feature / Streamer Mode (#159)
* feat(phone/settings): Add streamer mode setting and PictureReveal component :)

* feat(phone/settings): Add PictureReveal streamer mode to twitter and improve its theme a bit
2021-03-11 16:00:04 -05:00
J Francisco Rader 1a09fa57ae Fix: Workaround for ESX errors pertaining to player loading (#153)
* Set phone ready before sending any init events + Show initializing phone message if not ready yet

* Send phone ready to nui
2021-03-06 19:25:32 -05:00
J Francisco Rader e56ae415dc Feat / Reusable SearchField + Fixed Messages align bottom flex with scroll (first message starts at bottom) (#151)
* feat(phone/ui): Make SearchField a reusable component

* Fixed conversation scrolling and align bottom

* feat(phone/ui): Autoscroll fix

* feat(phone/ui): Autoscroll fix remove unused deps

* feat(phone/ui): Autoscroll add needed dep for new messages
2021-03-06 16:53:48 -05:00
J Francisco Rader 531a341ffd fix(messages): Sliding phone up and down when mesages apps is open is fixed now (#148) 2021-03-06 03:22:17 -05:00
J Francisco Rader 08d2de2dc7 tweak(phone/messages): Improve transition to MessageModal (conversation) (#140) 2021-03-06 02:10:13 -05:00
J Francisco Rader 0c602f1767 Bugfix / Fix message bubble, notifications slideup phone and overflow and conversation scrolling (#144)
* Fix overflow on message bubbles

* Fix messages scrolling

* fix(phone/messages): Fix notification slide when in messages app
2021-03-05 22:07:51 -05:00
J Francisco Rader bdbf342270 fix(phone/messages): fixed autocomplete getting bricked (#138) 2021-03-05 16:11:50 -05:00
J Francisco Rader cb5a00e57e feat(phone/settings): Add localStorage settings schema validation (#139)
Will reset to default settings if the schema is invalid.
2021-03-05 11:18:36 -05: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
J Francisco Rader 52c4009dc9 Fix alerts blocking mouse (#124) 2021-03-01 13:05:09 -05: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
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
J Francisco Rader 4acb214ec9 Task/improve hardcoded styles and types (#107)
* Add working notifications with only twitter for now

* feat(notification-bar): I didnt copy from NP

* feat(notifications): Collapse when no more notifications after closing one

* Improve overall messages styling code

* Improve Routing performance

* improve use keyboard hook

* Remove unused returns

* Button hover color :)

* Button hover color :) x2

* Added hover style to containedPrimary msg btn

* Replace custom components for custom theme providers for Messages and Contacts apps

* Improve createAppThemeProvider

* Improve createAppThemeProvider

* Final housekeeping for messages styles

* Change placeholder to label in Contacts app text fields

* Fix alerts style with navigation and fix calc copy alerrt

* Split Phone code for snackbar

* Add more options and style Context Menu

* Enable Sellout theme provider and make it work with light themes
2021-02-21 12:41:25 -05:00
J Francisco Rader 40ec19a349 Feature / Add working notifications with only twitter for now (#102)
* Add working notifications with only twitter for now

* feat(notification-bar): I didnt copy from NP

* Make default browser visibility true

* feat(notifications): Collapse when no more notifications after closing one
2021-02-18 19:21:07 -05:00
J Francisco Rader 88f1ecbd6b Fix(server/sql): resolved issue with explicit collations (#99) 2021-02-17 14:46:30 -05:00
J Francisco Rader 7bafa7d518 I make phone work (#89) 2021-02-14 13:40:57 -05:00
J Francisco Rader 8af43eca04 Fix copy config in windows (#86) 2021-02-13 14:25:43 -05:00
J Francisco RaderandTaso 81f5e27064 Remove client phoneConfig event (#73)
* Remove client phoneConfig event

* Remove unused debug

* Remove unused import

* Remove unused import

* Remove duplicated functions | fix useEffect dependency | etc

* Fix warnings

* Update phone/src/apps/twitter/components/TwitterApp.tsx

Co-authored-by: Taso <[email protected]>

Co-authored-by: Taso <[email protected]>
2021-02-10 12:04:28 -05:00
J Francisco Rader 2bb32c453b Fix: Dialer Routing, added contacts and styling. (#77)
* Fix dialer routing and add contacts to it

* Fix styling

* Delete unused component
2021-02-07 23:55:24 -05:00
J Francisco Rader e2c8964b81 Fix NUI every render (#75) 2021-02-07 15:12:59 -05:00
J Francisco Rader 0d356c7930 Merge pull request #71 from project-error/fix/close-share-picture-in-messages
BugFix / sharing bug
2021-02-06 17:21:16 -05:00
J Francisco Rader 40f9555b39 Make Camera app use router (#69)
* Make Camera app use router

* Remove unused hooks

* Fucking communicate messages with camera with router

* Improved sharing in messages flow

* Fix clipboard

* Removeunused imports

* improve routing helpers

* Fix bug :D

* Fix stupid thing

* Add docs to useQueryParams hook
2021-02-06 22:24:50 +01:00
J Francisco Rader 20f125c9c8 Merge pull request #60 from project-error/feature/improve-sellout-images-and-create-generic-picture
Feature/improve sellout images and create generic picture
2021-01-24 19:56:06 -05:00
J Francisco RaderandJ Francisco Rader bde18ef1cf chore(phone): Types and unused variable cleanup
Co-authored-by: J Francisco Rader <[email protected]>
2021-01-24 18:30:37 -05:00
J Francisco Rader dbfca1461d Improve routes 2020-08-25 23:56:56 -03:00
J Francisco Rader c65108b360 Improve code 2020-08-25 22:44:50 -03:00
J Francisco Rader b2e0cba844 Add phone service, rename phone app to dialer, etc improvements 2020-08-25 21:13:01 -03:00
J Francisco Rader bf2e7fa295 Fix prod build 2020-08-23 20:35:00 -03:00
J Francisco Rader 06ef944da7 Remove duplicated files 2020-08-23 20:12:07 -03:00
J Francisco Rader b6b5558598 fix dev 2020-08-23 20:11:47 -03:00
J Francisco Rader 1838de04ba Add webpack and script build:resources to build into resources/html and generate manifest! 2020-08-23 19:31:09 -03:00
J Francisco Rader 515ab67b3c uppercase app name in nui message 2020-08-23 18:16:55 -03:00
J Francisco Rader f862100d4b Add: Simcard, simcardService + Add: nuiEvent, nuiService 2020-08-23 17:32:01 -03:00
J Francisco Rader d36cb53106 Add prettier husky 2020-08-23 13:39:10 -03:00
J Francisco Rader dd9b3bddff Keyboard management and remove ugly errors 2020-08-23 01:47:38 -03:00
J Francisco Rader eb570f21b3 Make List and ListItem reusable 2020-08-22 23:03:54 -03:00
J Francisco Rader d36ef4ce38 Phone navigation button 2020-08-22 21:56:12 -03:00
J Francisco Rader d1c7e61b30 Calculator ! 2020-08-22 21:47:32 -03:00
J Francisco Rader 09634e618d Make NotificationBar themable 2020-08-22 19:18:36 -03:00
J Francisco Rader 26cf051696 improve settings hook 2020-08-22 18:46:57 -03:00
J Francisco Rader 362ab8be4d Change themes!!! 2020-08-22 18:39:31 -03:00
J Francisco Rader bc20bfac99 Make styling!! 2020-08-22 17:20:44 -03:00
J Francisco Rader 0bbd463c01 Move GridMenu to ui/ 2020-08-22 16:02:25 -03:00
J Francisco Rader 34bfab2448 Improve hooks 2020-08-22 15:49:22 -03:00
J Francisco Rader d8f756b309 Use recoil for state management 2020-08-22 15:39:46 -03:00
J Francisco Rader de5de7860d Change wpaper 2020-08-22 14:17:43 -03:00
J Francisco Rader ee560e1984 Context Menu!!! 2020-08-22 14:17:43 -03:00
J Francisco Rader 6d7819d277 Add base settings app 2020-08-22 13:07:36 -03:00
J Francisco Rader cd8deb49b0 useContacts 2020-08-22 13:00:34 -03:00
J Francisco Rader df729145c5 Fix nav 2020-08-22 06:14:43 -03:00
J Francisco Rader 1e536891fc Fix nav 2020-08-22 06:14:22 -03:00
J Francisco Rader a21497153e Make navigation work 2020-08-22 06:11:41 -03:00
J Francisco Rader bcdcbf4bb3 Nav bar 2020-08-22 06:04:02 -03:00
J Francisco Rader 35b430eef6 Fix default bg 2020-08-22 05:51:29 -03:00
J Francisco Rader 125ff38b57 Fix bg images 2020-08-22 05:50:50 -03:00
J Francisco Rader 7de64245bc Remove console.log 2020-08-22 05:22:25 -03:00
J Francisco Rader 68fd91d4d0 Notification bar 2020-08-22 05:19:35 -03:00
J Francisco Rader 205dcabf12 Improve AppIcon 2020-08-22 03:11:57 -03:00
J Francisco Rader 2b94b56c92 Wohoo 2020-08-22 02:59:35 -03:00
J Francisco Rader 23e69d1193 Contacts app! 2020-08-22 02:23:17 -03:00
J Francisco Rader 3900b9fa83 Add config and settings! 2020-08-22 01:30:01 -03:00
J Francisco Rader 16004a9a86 Add appWrapper and first home app!!! :O 2020-08-22 00:09:09 -03:00
J Francisco Rader f98e0d536d Merge branch 'master' of https://github.com/Re-Ignited-Development/new-phone-who-dis into master 2020-08-21 23:53:48 -03:00
J Francisco Rader ee303c0438 Fix classes 2020-08-21 23:53:30 -03:00
J Francisco Rader f24c80de00 Second blood? 2020-08-21 23:45:41 -03:00
J Francisco Rader 6f9c87a423 First blood 2020-08-21 23:14:22 -03:00
J Francisco Rader 4b97eb412c Initialize project using Create React App 2020-08-21 22:33:14 -03:00