Commit Graph
63 Commits
Author SHA1 Message Date
Christopher b7ff65f74e update en json 2021-03-16 11:30:52 +01:00
Christopher 2499358f5f tweak(phone): update translation 2021-03-16 11:06:32 +01: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
Christopher Gjelten 6b6080c4b2 Tweak/marketplace additions (#137)
Checks for being the OP of the listing. Calling, Message, Delete and Report. 

Updates to Locale is needed.
2021-03-07 16:30:58 +01:00
Erik 0203ebbe51 Feature/Twitter Notification Filters (#147)
Feature: Twitter notification update
2021-03-07 16:25:10 +01:00
Erik 21152fa38a [Feature] Twitter retweets (#143)
Feature: Retweets
2021-03-07 16:03:33 +01:00
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 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 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
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
Bombay f866c6de47 Created locales' base for notifications + sound (#121)
* Added missing locales

* Change places for readability

* Typo

* Moved APPS_CONTACT closer to its related locale

* Update en.json

* + Space

* + Space

* bh.json base

Added a base for the language. It's no longer missing translations but some of them are in English

* tr.json base

TR locale base (relocate + added missing locales in English while keeping old ones)

* sv.json base

Base for sv. Same as the ones before.

* ptbr.json base

Same as before

* pt.json base

* Update fr.json

* fr.json base

* Added sound locale

* Added sound locale

* Update es.json

* Update fr.json

* Update pt.json

* Update ptbr.json

* Update sv.json

* Update tr.json
2021-03-01 12:49:40 -05:00
Christopher Gjelten 51f9b20857 Merge branch 'master' into feat/alerts-for-apps 2021-02-28 02:00:34 +01:00
Christopher 4d82c8e69a feat(phone/messages): minor changes for nui 2021-02-28 01:39:26 +01: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
Christopher Gjelten fef876d9a6 Merge branch 'master' into feat/alerts-for-apps 2021-02-22 21:58:19 +01: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
Christopher 5244ff3a57 feat(Marketplace): minor alerts 2021-02-19 18:26:53 +01: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 cf4baafb19 Autocomplete contacts + improve messages ui a bit 2021-02-17 01:23:08 -05:00
Christopher 19a0ca7372 feat(more translation) 2021-02-08 18:54:38 +01:00
Christopher Gjelten ecd826dcd3 Merge pull request #65 from project-error/bug/twitter-char-limit
Bug/twitter char limit
2021-02-06 22:47:28 +01:00
Taso 7e9c1d0f35 fix(phone/apps): Fixed locales for apps 2021-02-06 13:18:06 -05:00
Kire 37504feec7 handle case where user spams new lines 2021-02-04 23:10:22 -05:00
Christopher e48864c6dc feat(calling): using unix as call time 2021-02-02 23:47:43 +01:00
Taso 0a3a341d98 Feat: Additional locales for contacts app 2021-01-06 03:44:11 -05:00
Taso fb0a402292 Feat: Added locales for Settings 2021-01-06 03:24:56 -05:00
Taso 65de9d78a3 refactor(contacts/contactalert): Cleaned up code
Reduced redundant code and added switch statement
2020-12-13 00:07:38 -05:00
Taso f3af0eebd4 Merge branch 'ui-changes' 2020-12-12 16:22:17 -05:00
Christopher 74f43efddb feats(contacts/nui): cleanup | esx.js | translation for contacts 2020-12-11 22:13:31 +01:00
erik-sn 8191a9431c more timeout mess aroundary 2020-11-21 10:09:20 -05:00
erik-sn 9cccf91a84 search contacts -> search messages 2020-11-21 09:56:16 -05:00
erik-sn 2c4c54109f more error handling 2020-11-21 00:30:23 -05:00
erik-sn 9403edcb92 working error handling 2020-11-21 00:08:34 -05:00
erik-sn 61eecd5b59 working group texts 2020-11-20 19:35:42 -05:00
erik-sn 681ce16912 working groups & messages 2020-11-20 18:14:07 -05: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
chip 198d9937ab feat(phone/locale): more translation for the bank ap 2020-11-04 16:15:21 +01:00
chip 37232f514c translatin for contacts app | not done 2020-11-01 22:49:50 +01:00
Christopher Gjelten 18be1a7d0f Merge branch 'master' into feature/sticky-notes 2020-10-30 14:33:07 +01:00
chip 86c0a4ce7e feat(nui): added translation for somethning 2020-10-30 00:13:55 +01:00
erik-sn ea77114da6 working reporting system 2020-10-29 19:13:07 -04:00
erik-sn 8c1f823bcb Merge branch 'master' of github.com:Re-Ignited-Development/new-phone-who-dis into feature/twitter-delete 2020-10-28 17:06:16 -04:00
chip c972f295e2 feat(bank/nui): translation for bank app 2020-10-26 15:38:39 +01:00
erik-sn c0dbf1a765 working tweet deletion 2020-10-24 11:05:57 -04:00
chip 9349e11e7f tweak(locale): cleanup in bank section 2020-10-20 18:39:41 +02:00
erik-sn b2466f0e15 working notification 2020-10-17 21:40:53 -04:00