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
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
Taso
f4834b78c8
tweak(phone/sound): Removed howl instance console log on ready
2021-03-05 18:05:18 -05:00
Taso
b303e648df
tweak(phone/debug): Set default data property for mockNuiEvent
2021-03-05 17:09:09 -05:00
Taso
6419245d93
Revert "feat(phone/settings): Add localStorage settings schema validation ( #139 )"
...
This reverts commit cb5a00e57e .
Reverted due a non-descript bug in CEF. Will be reapplied after fix.
2021-03-05 12:38:22 -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
9abac70427
feat/messages additions (in memory of Leonard Nimoy) ( #118 )
...
* feat(resouces/messages): broadcast messagse to participants
* feat(phone/messages): notifications for messages
* remove weird empty onNet
* reformat?
* last reformat! This pr will be squashed
* tweak(phone/messages): send groupName to notification alert
* fix identifer
* fixing notification groupName
* resbasee...i think
* feat(messages): check for unread messages
* send nui event is count > 0
* remove usless test
* import.sql update
* Refactor NotificationsProvider and fix messages notifications
* Send groupId on message broadcast
* Update phone/src/apps/messages/components/modal/Conversation.tsx
* Update phone/src/apps/messages/hooks/useMessageNotifications.ts
* Update phone/src/os/notifications/providers/NotificationsProvider.tsx
* Update phone/src/common/typings/messages.ts
* Update phone/src/apps/messages/hooks/useMessageNotifications.ts
* clean sql file
* Update resources/server/sv_messages.ts
* Fetch message groups when other person created for you
* fix sql
* Select unreadCount from messageGroups
* whatever husky again
* Add members menu and add contact in messages
* Add from group bubbles
* Fix messages scroll with new msg
* Message image menu flicker + justify bottom messages
* Improve debugging
* Add container to Slider
* Improve logger
* Fix create message
* add creator identifier to group hash
* Fix dafuq i broke
* group_id bigger varchar in column
* group_id bigger varchar in column
* Phone visibility default browser
* Add debugging
Co-authored-by: J Francisco Rader <[email protected] >
Co-authored-by: J Francisco Rader <[email protected] >
2021-03-04 18:35:33 -05:00
Taso
64c4e0ec16
enhance(phone/settings): Added labels to settings and misc cleanup
...
This change alters the default localStorage schema, please clear your localStorage cache for testing
2021-03-04 11:33:25 -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
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
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
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
12ed0bd46d
Fix alerts position
2021-03-01 12:37:13 -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 Rader and Christopher
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
bf814041d7
Remove hardcoded dialer colors
2021-02-21 19:41:59 -05:00
J Francisco Rader
2c6358e4c3
Add status button | Revert white icons
2021-02-21 18:13:08 -05:00
J Francisco Rader
9f04ac3243
Add theme provider for notes
2021-02-21 12:49:09 -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
630661b784
Fix visibility
2021-02-19 11:14:00 -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
b93d5faee1
Redirect when new msg group is created, and use contacts to push a new message from there
2021-02-16 17:10:45 -05:00
Taso
9e648d858b
Use callback optimizations
2021-02-14 23:20:39 -05:00
Taso
68360e7619
feat(phone/useSound): Initial useSound implementation
2021-02-14 23:16:09 -05:00
Christopher Gjelten
f879085b46
Merge branch 'master' into feat/snackbar-provider
2021-02-14 14:10:42 +01:00
Christopher
b4258718d8
fix alert provider | remove alert from notes and contact
2021-02-13 13:48:05 +01:00
Taso
9486fb69b9
chore(phone/nui): update for cerulean fxversion
2021-02-10 16:29:28 -05:00
J Francisco Rader and Taso
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
Christopher
77bca6b299
tweak(os/useQuickAccess): use exact as true
2021-02-08 19:00:26 +01:00
J Francisco Rader
a27de26ef0
Use NavLink
2021-02-08 00:51:00 -05:00
J Francisco Rader
c149a1f49e
Add quick access and improve Apps config
2021-02-08 00:44:57 -05:00
Christopher
4e1d85b35f
feat(phone/useApps): startup event for apps | remove onClick
2021-02-07 04:16:15 +01:00
J Francisco Rader
51d31ee122
Fix warnings + Improve CallTimer
2021-02-06 16:36:14 -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
Taso
447c51a07e
Feat/inject debug - Use new abstraction to clean up debug data ( #70 )
...
* feat(phone/debug): Inject debug data for development
* refactor(phone/debug): Refactored mock data to InjectDebugEvents
* fix(phone/debug) removed useless debug injections
2021-02-06 16:00:09 -05:00
Taso
7e9c1d0f35
fix(phone/apps): Fixed locales for apps
2021-02-06 13:18:06 -05:00
RockySouthpaw
d6a8c45d52
Revert "Merge pull request #62 from project-error/feature/show-app-name-on-hover"
...
This reverts commit 5f7875182c .
2021-02-03 22:41:45 -05:00
Kire
5a36290b83
Added typings to app configuration
...
Added an interface for the app configuration list and imported/used it in several places. Also found some cases where there were unused/unnecessary properties involved that didn't exist in this configuration.
2021-02-03 13:51:59 -05:00
Christopher
804c8da9cb
feat(utils/nui): able to merge data
2021-01-28 00:41:15 +01:00
Taso
8a2f281790
enhance(phone): useNuiEvent types and integrated DebugLogger
2021-01-17 15:49:22 -05:00
Taso
d56112a0cb
Feat: Debug logger
2021-01-13 20:31:14 -05:00
Taso
54daa42454
styling: Enforced styling across all files ( #55 )
2021-01-12 21:31:03 -05:00