Commit Graph
34 Commits
Author SHA1 Message Date
Christopher 2cd3e9e93d update dial events 2021-03-25 11:31:05 +01:00
Taso 0f61088999 refactor(events): Events are now tied to a common enum typings (#167)
* chore(scripts/twitter): Refactored twitter to use event enums

* chore(scripts/marketplace): Refactored marketplace to use event enums

* chore(scripts/messages): Refactored messages to use event enums

* chore(scripts/contacts): Refactored contacts to use event enums

* chore(scripts/calls): Refactored calls to use event enums

* chore(scripts/notes): Refactored notes to use event enums

* chore(scripts/photos): Refactored photos to use event enums

* chore(scripts/bank): Refactored bank to use event enums

* chore(scripts/phone): Refactored phone to use event enums

* chore(events): Removed old events object

* refactor(phone/nui-events): Attached NUI events to respective enum

* tweak(event-enums): Added npwd prefix to all events

* tweak(phone/serve): Added craco to override CRA without eject

Also bumped react-scripts to 4.0.1, with seemingly no issues

* fix(typings/twitter): Fixed method enums for twitter
2021-03-22 13:37:07 -04:00
Taso f1f6a05981 tweak(dialer): Several fixes and improvements
Time has been changed to a relative format. Locale specifics are pending
merge of #168.

Several typos have been fixed where "DAILER" was referenced instead of
"DIALER"

A translation key was added for when a user has no call history.

The input box has been unlocked so users can use their keyboard directly
rather than using the dial pad.
2021-03-17 10:26:52 -04:00
Taso adf9758d9f tweak(server/calls): Tweaked call handling
Added Sanity checks

Switched timestamp creation to server
2021-03-16 16:24:27 -04:00
Taso f0c5e5101e chore(typings): Moved common typings to root dir 2021-03-14 15:19:30 -04: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
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
RockySouthpawandTaso 3a572cbc7b feat(client/anim): Added animation flow for calls (#104)
Co-authored-by: Taso <[email protected]>
2021-02-18 12:39:30 -05:00
Taso 47e1f2950e fix(scripts/nui-callbacks): Fixed NUI callback stalls 2021-02-09 18:43:54 -05:00
itschip 566b55b374 Prettified Code! 2021-02-02 22:48:54 +00:00
Christopher e48864c6dc feat(calling): using unix as call time 2021-02-02 23:47:43 +01:00
itschip 39a46ad4dc Prettified Code! 2021-02-02 09:23:10 +00:00
Christopher ae1715f173 feat(call/client|server): use Unix 2021-02-02 10:21:50 +01:00
Christopher 8ad85d8209 feat(calling/client|server): update Call interface 2021-01-31 21:43:44 +01:00
Christopher 342fd9aaba feat(calling/client|server): handling timestamps for calls 2021-01-31 02:46:33 +01:00
itschip ddcb5e5a3d Prettified Code! 2021-01-29 19:10:36 +00:00
Christopher 283f872e5b fix(resovled pull issues) 2021-01-29 20:09:19 +01:00
Christopher 9895ea2089 tweak(calling/server|client): more history and calling 2021-01-29 19:56:00 +01:00
Christopher fbb3b07b7b feat(calling/client|server): show dail history 2021-01-29 19:54:37 +01:00
itschip 762fb237c3 Prettified Code! 2021-01-27 23:48:05 +00:00
Christopher 0f10eac796 feat(calling): working state 2021-01-28 00:46:56 +01:00
Christopher d3a2ee7628 feat(calling/client|server): working calling 2021-01-28 00:40:52 +01:00
Christopher 552cba3e76 shit fix 2021-01-26 22:30:51 +01:00
Christopher 5ae49f4c7a feat(calling/server): more client-side handling for calling
We need to come up with a better way of doing this
2021-01-26 21:41:28 +01:00
itschip 4fe3229bb7 Prettified Code! 2021-01-17 21:36:50 +00:00
Christopher 8d100a5ebd possible solution for accepting call 2021-01-17 22:35:41 +01:00
Christopher 77c7cc303e feat(calling/client|server): partical functions for calling
Should probably reuse data
2021-01-17 22:03:52 +01:00
TasoOneAsia 85ffdc571b Prettified Code! 2021-01-17 20:10:34 +01:00
Taso a8deb8b578 feat(call): More progress 2021-01-17 20:10:33 +01:00
itschip 03e8c4a0d5 Prettified Code! 2021-01-17 20:10:33 +01:00
Christopher 085fb778f1 feat(calling/client|nui): new command and changed event name 2021-01-17 20:10:32 +01:00
Christopher 22c36f0920 inital ts commit 2021-01-17 20:09:35 +01:00