Commit Graph
99 Commits
Author SHA1 Message Date
J Francisco Rader 804c9982b2 Add EMAIL app 2021-03-30 02:07:02 -03:00
J Francisco Rader 107dc43624 Improve messages error handling (#181)
* Improve messages error handling

* Add types to getPlayerFromIdentifier function

* Add phone validation regex to message group form

* Add correct alert types to enum

* Improve locale

* Improve error message for unregistered numbers
2021-03-29 18:55:27 -04:00
Erik 6b865f2e73 Feature/tinder (#179)
* 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
2021-03-26 13:29:51 -04:00
Taso 4b29cbbce3 fix(phone/home): Fixed incorrect props for Grid item 2021-03-17 13:59:53 -04: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
Erik 0203ebbe51 Feature/Twitter Notification Filters (#147)
Feature: Twitter notification update
2021-03-07 16:25:10 +01:00
Taso 6e72e2c50e fix(phone/snackbar): Fixed animations & simplified logic (#146) 2021-03-06 17:32:01 -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
Taso 605f957f9a feat(client/debug): Phone restart command (#145)
Trigger a UI restart by entering the command `phone:restart` in the F8 console.
2021-03-06 10:38:10 -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
Taso 5c9c75c36c tweak(phone/snackbar-provider): Altered API to expect a string for message, not a key (#135)
Change SnackbarProviderAlert message property to allow for any string rather than a explicit translation key
2021-03-04 22:40:17 -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 58868f3644 fix(phone/context-menu): Fixed issue where backdrop was fixed height 2021-03-04 11:33:25 -05:00
Taso 924d17c2f6 tweak(phone/context-menu): Lock scroll when context menu is open 2021-03-04 11:33:25 -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
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 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 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
J Francisco Rader 52c4009dc9 Fix alerts blocking mouse (#124) 2021-03-01 13:05:09 -05:00
J Francisco Rader 12ed0bd46d Fix alerts position 2021-03-01 12:37:13 -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 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 65c71f9cb6 Fix StatusButton shadows 2021-02-21 19:36:03 -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 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
Taso 187e534e08 chore(dependencies): Cleaned up dependencies/package.json 2021-02-17 14:43:12 -05:00
Christopher Gjelten f879085b46 Merge branch 'master' into feat/snackbar-provider 2021-02-14 14:10:42 +01:00
Christopher 5efd9aa1f0 removed unused variables 2021-02-14 14:06:51 +01:00
Christopher 9eefc1642a fix(SnackbarProvider): resolve context error 2021-02-14 13:56:51 +01:00
Christopher 276a283135 fix(SnackbarProvider): remove unused varable 2021-02-13 18:20:57 +01:00
Christopher 911d5b8eba fix(SnackbarProvider): remove unused varable 2021-02-13 18:19:48 +01:00
Christopher b4258718d8 fix alert provider | remove alert from notes and contact 2021-02-13 13:48:05 +01:00
Christopher 9ba8bd683f fix(SnackbarProvider): center alert 2021-02-11 21:12:19 +01:00
Christopher 82adc9497b remove SnackBar component | improve Provider 2021-02-11 01:01:33 +01:00
Christopher 8ec2a4769d feat(useSnackbar): strict types 2021-02-11 01:00:40 +01:00
Christopher 7160fcdfac feat(Snackbar): interface 2021-02-11 01:00:14 +01: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 c38fe9ef66 feat(SnackbarProvider): interface update | wrap around phone 2021-02-09 19:19:36 +01:00
Christopher babce2f568 feat(SnackbarProvider): initial provider 2021-02-09 00:35:35 +01:00
Christopher eaf27f37ef fix(Modal): add styling for closeButton back 2021-02-08 22:48:56 +01:00
Erik d793d1b635 fix(phone/twitter): Fix twitter for light theme (#64)
* fix twitter for light theme

* fixed styling on makeStyles
2021-02-08 15:13:34 -05:00
Christopher 4e1d85b35f feat(phone/useApps): startup event for apps | remove onClick 2021-02-07 04:16:15 +01:00