config -> ResourceConfig for readability and the resource config in NUI is now being referenced consistently from state so it can be referenced at runtime and not compile time.
Also removes the need to copy the config before using `cp`
* chore(phone/settings): Removed unused state
* cleanup(phone/photos): Added type safety to photo state
* tweak(phone/marketplace): Added type safety to marketplace state
* chore(phone/match): Removed unnecessary console.log
* tweak(phone/messages): Added type safety to messages state
Also fixed ESLint warning for exported anonymous hook in useMessages.ts
* tweak(phone/match): Added type safety to match state
* tweak(phone/dialer): Cleanup & type safety for state
Renamed some types to better represent their data
* cleanup(phone/gen): Added NUI event enums for phone events
* tweak(phone/contacts): Type safety for contacts state & variable rename
Renamed and type variable in setFilteredContacts to better represent its use
* tweak(phone/gen-state): Added type-safety to gen phone global state
* tweak(phone/settings): Type safety for settings state
* tweak(phone/photos): Tweaked type for photo referral
* fix(phone/notification-comp): Fix reference to old theme config
* chore(phone/hooks): Remove keyboard service
Removed as this was unused and ESLint was not happy with it
* chore(phone): Cleaned up eslint warnings
No more warnings hooray!
* tweak(phone): Set time in dev mode
* fix(phone): Remove useNuiService that appeared somehow
* fix(phone/gallery): Fixed missing import for gallery
* Revert removing the keyboard service as this is built upon in another PR
This reverts commit 82d12255a84e918da087d988b599af98ce1fe54d.
* fix(phone/keyboard): Add useKeyboardService hook back to Phone.tsx
* fix(phone/gallery): Fix and standardized GalleryPhoto type
* basic framework for match/tinder
* working version of swiping
* working version of profile editing
* introducing backend
* working matching system
* working profile updating
* fix all linting issues
* updated events to Enum
* working profile generation
* documentation updates
* general PR feedback
* working profile loading, matches show matchedAt
* slight modification to event strings
* added sql imports
You can now reset your settings to default using the action in the Settings App
Setting schema validation has been added that will temporarily reset to default settings if
the JSON string contains unexpected values. A alert will pop up informing the user
that they should reset to default settings using the action in the settings app,
as a permanent solution.
* 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
* 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
* 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]>
* 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
* 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
* 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
* feat(phone/debug): Inject debug data for development
* refactor(phone/debug): Refactored mock data to InjectDebugEvents
* fix(phone/debug) removed useless debug injections