Commit Graph
69 Commits
Author SHA1 Message Date
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 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 75e23b783c default browser visibility == true 2021-02-19 11:14:15 -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
Christopher 31e692626a feat(Phone): add animation 2021-02-15 00:30:01 +01: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
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 Gjelten 67c043f36c Merge pull request #78 from project-error/feature/quick-access-and-minor-perf-improvements
Feature/quick access and minor perf improvements
2021-02-08 22:25:09 +01:00
Taso 5d3fad36f7 chore(phone/twitter): Allow for use of Twitter in browser 2021-02-08 15:11:47 -05:00
J Francisco Rader a27de26ef0 Use NavLink 2021-02-08 00:51:00 -05:00
J Francisco Rader 16623e98e0 Housekeeping :D 2021-02-08 00:46:26 -05:00
J Francisco Rader c149a1f49e Add quick access and improve Apps config 2021-02-08 00:44:57 -05:00
J Francisco Rader e2c8964b81 Fix NUI every render (#75) 2021-02-07 15:12:59 -05: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
J Francisco Rader 28b2599e75 Fix zoom origin 2021-02-06 13:29:03 -05:00
Christopher 5da2d680c6 fix(zoom): inital commit on possbile fix 2021-02-06 13:29:02 -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
Christopher d3b04f4cd9 tweak(call/nui): duration as global state 2021-02-01 20:14:27 +01:00
Christopher dd008775f9 feat(calling/nui): Timer for calls 2021-02-01 19:44:00 +01:00
Christopher f4b77d9f51 fix(Dial/nui): rename functions 2021-01-31 21:49:11 +01:00
Christopher c7b185014d feat(calling/dial): update interfaces 2021-01-31 21:44:24 +01:00
itschip d08e38495a Prettified Code! 2021-01-31 01:49:31 +00:00
Christopher cf65004c42 del(Phone.tsx): remove 'type' from call mock data 2021-01-31 02:48:28 +01: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 77c7cc303e feat(calling/client|server): partical functions for calling
Should probably reuse data
2021-01-17 22:03:52 +01: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 66ccf7a73f feat(Phone): fixed warnings 2021-01-07 21:45:33 +01:00
Christopher 07dc73f0cb minor changes in localStorage - nothing to see here 2021-01-07 21:17:44 +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 a77b0d16db Merge branch 'master' of https://github.com/Re-Ignited-Development/new-phone-who-dis 2020-12-12 16:22:50 -05:00
Taso f3af0eebd4 Merge branch 'ui-changes' 2020-12-12 16:22:17 -05:00
Christopher e04113d62d feat(phone): mock data for bank 2020-12-12 15:12:48 +01:00
Christopher a415301145 change in phone.tsx 2020-12-11 20:49:33 +01:00
Taso e13b064d73 modify(mock-data): Added env check to mock data injections 2020-12-11 12:38:08 -05:00
Christopher Gjelten 48f21f57dd Merge branch 'master' into feature/camera-gallery 2020-12-10 19:08:18 +01:00
Christopher Gjelten fb0ec3845a Merge branch 'master' into feature/messages 2020-12-10 19:07:32 +01:00
Christopher Gjelten 1afc6e395a Merge branch 'master' into feature/camera-gallery 2020-12-10 19:04:29 +01:00
Christopher 96e5f1a46d mock data 2020-12-04 23:04:10 +01:00
Taso 4c9ed764cc styling & tweaks: Improved settings styling and altered config
- Still WIP and many of those components are placeholder/proof of concept for now
- Added corresponding default.json schemas for new settings
- Also added two ringtones that are currently not being utilized
2020-11-19 11:31:16 -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
erik-sn b87baeb12e Merge branch 'master' of github.com:Re-Ignited-Development/new-phone-who-dis into feature/messages 2020-11-18 16:50:53 -05:00
itschip 8adef12d7b removed usePhone hook 2020-11-18 19:15:28 +01:00
itschip a1e5876406 close phone on ESC - thank me later Rocky 2020-11-18 19:13:17 +01:00
itschip 20375e0559 stuff 2020-11-17 19:41:01 +01:00