Commit Graph
84 Commits
Author SHA1 Message Date
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 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 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 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
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
Taso 73a5bab1c7 Feat: Settings localStorage state 2021-01-12 12:04:46 -05:00
Taso 8912650f0e refactor: LocalStorage state integration 2021-01-12 11:28:20 -05:00
Christopher 5fdb9ba21c fix(localStorage): solution to localStorage issue
Still need to find a good way to re-render
2021-01-08 21:48:24 +01:00
Christopher b1481f635b feat(navbar/nui): fixed warnings 2021-01-07 21:45:04 +01:00
Christopher 07dc73f0cb minor changes in localStorage - nothing to see here 2021-01-07 21:17:44 +01:00
Christopher dddddc01f8 feat(localstorage): resolved issue with phone not re-rendering 2021-01-04 20:33:53 +01:00
Christopher 3e03993d5b feat(settings): using local storage to save settings
Need to ensure that when a new setting is set, we re-render the phone.
2020-12-13 21:59:10 +01:00
Taso bb5a4c7725 misc(nui): Renamed 'interfaces' folder to standard 'typings' 2020-12-13 00:06:36 -05:00
Taso f3af0eebd4 Merge branch 'ui-changes' 2020-12-12 16:22:17 -05:00
Taso 274f2bf286 feat(nui): useLocalStorage hook for client storage 2020-12-11 20:08:59 -05:00
Christopher 550eb8f38f feat(phone/hooks): implemented clipboard 2020-12-11 20:42:03 +01:00
Christopher Gjelten 48f21f57dd Merge branch 'master' into feature/camera-gallery 2020-12-10 19:08:18 +01:00
Christopher c8fc6a0245 feat(phone/apps): useApps camera app 2020-12-04 23:05:25 +01:00
Taso 954ef6277c styling(misc): Misc. Tweaks and gen styling changes
General Phone:
- Removed unecessary border that was causing an issue at 80% zoom
- Added tooltips to the app grid
- Added 4 new backgrounds

Contact App:
- Fix styling issue that lead to seeing the background from modal
- Fix add new contact button sticky position

Notes:
- Removed padding from list
- Fixed localeName

Sellout:
- Changed NavBar and Title Color

Settings:
- Removed modal list padding

Note: Let me if you prefer the AppTitle component vs the old Title method
also this is just a start to the full app restyles
2020-11-18 23:32:49 -05:00
Taso f7165bf9ae styling(NotificationBar): Made slightly larger
Also removed unnecessary import
2020-11-18 21:30:03 -05:00
Taso 07ff8833c7 styles(theming): Started a new custom dark theme
- Default has been changed to taso-dark while in-development
2020-11-18 18:21:40 -05:00