Commit Graph
41 Commits
Author SHA1 Message Date
Taso f0c5e5101e chore(typings): Moved common typings to root dir 2021-03-14 15:19:30 -04: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
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 796548d9d5 remove more unused variables :( 2021-02-26 19:52:36 +01:00
Christopher Gjelten fef876d9a6 Merge branch 'master' into feat/alerts-for-apps 2021-02-22 21:58:19 +01: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 283832f17e feat(Alerts): alerts for contacts 2021-02-19 18:26:52 +01:00
Taso c0509be2d1 Refactored Contacts to use Routes and not a Modal (#80)
The new route allows for other components to directly route to contacts/:id, where id is the contact id for a users given contacts. It also adds a getContact function accessible by the useConfig hook in case a contact needs to be retrieved using a contact id.
2021-02-09 09:59:54 -05:00
J Francisco Rader 51d31ee122 Fix warnings + Improve CallTimer 2021-02-06 16:36:14 -05:00
Christopher 89ea248d32 feat(contacts/nui | calling/client|server): getName | close modal on add | show dail history 2021-01-29 19:53:14 +01:00
Christopher 6bb534231b something weird happened now 2021-01-14 20:23:31 +01:00
Christopher deeabd9677 fix(contacts/nui): interface for useContactDetail 2021-01-14 19:36:05 +01:00
Christopher a7100f16a9 fix(contacts/nui): interface for useContacts 2021-01-14 19:32:56 +01:00
Christopher c7f6a72180 fix(typo in useContactModal) 2021-01-14 19:02:35 +01:00
Christopher 0e0cde0ca1 feat(contacts/nui): interface for useContactModal 2021-01-14 19:01:47 +01:00
Christopher fa465a8b23 feat(contacts/nui): interface for useFilteredContacts 2021-01-14 19:00:13 +01:00
Christopher 01291abe73 feat(contacts/nui): interface for useModal 2021-01-14 18:58:50 +01:00
Taso 54daa42454 styling: Enforced styling across all files (#55) 2021-01-12 21:31:03 -05:00
Taso bb5a4c7725 misc(nui): Renamed 'interfaces' folder to standard 'typings' 2020-12-13 00:06:36 -05:00
Christopher 74f43efddb feats(contacts/nui): cleanup | esx.js | translation for contacts 2020-12-11 22:13:31 +01:00
Christopher da32d2ca35 feat(contacts/nui): alert on actions 2020-12-11 22:01:16 +01:00
chip de09800a72 feat(contacts/nui): new state for contact details 2020-11-01 22:48:30 +01:00
Christopher Gjelten 771ad147d7 Merge branch 'master' into feat/sellout-app 2020-10-18 22:08:56 +02:00
chip 7ef4e11205 Feat(Sellout:States): new states for sellout app 2020-10-18 21:51:54 +02:00
chip 750c117ff9 Tweak(useContacts): minor changes 2020-10-18 21:51:23 +02:00
chip 4905de53d2 Feat(Contacts:UI): Dropdown menu for updating contacts 2020-10-18 21:44:33 +02:00
erik-sn 3a1bd75f97 formatting 2020-10-18 13:38:01 -04:00
Christopher Gjelten 9d7430f573 Merge pull request #11 from Re-Ignited-Development/tweak/contacts-app
Tweak/contacts app
2020-10-16 20:21:23 +02:00
chip 88aaa69027 Feat(Contacts): New state for filtering contacts 2020-10-16 18:34:28 +02:00
chip d329eb6a5b Feat(Contacts): New hook for showing modal 2020-10-16 18:31:48 +02:00
chip 6390308400 Feat(Contacts): New hook for filtering contacts 2020-10-16 18:31:27 +02:00
chip 3cdbf4860d Tweak(Contacts): New interface property 2020-10-16 18:28:51 +02:00
chip a28df727f1 Feat(Contacts:client): Sending data to NUI 2020-10-15 18:11:11 +02:00
erik-sn 3273d192c9 working typescript compiling and fixing linting issues 2020-10-11 13:59:25 -04:00
erik-sn cff746aa38 working typescript version 2020-10-07 12:19:55 -04:00
chip dde1bd6931 Feat(Contacts | Components): Contact modal | Input compoent | New dependency 2020-09-01 21:37:53 +02:00
chip 3a213ea308 Feat(Contacts): Mapping contacts from DB 2020-08-27 23:40:37 +02:00
chip ec37fcde46 I really hope I didnt fuck anything up now 2020-08-23 20:08:08 +02:00