Commit Graph
336 Commits
Author SHA1 Message Date
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 ff177d65d1 Remove unused files 2021-02-19 11:03:10 -05:00
J Francisco Rader a686ae2bfc Fix import 2021-02-19 11:00:54 -05:00
J Francisco Rader 0e43851d81 I make phone break 2021-02-19 10:51:54 -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 Gjelten d6d2bed335 Merge pull request #101 from project-error/feature/autocomplete-contacts
Feature / Autocomplete contacts in messages + improve messages ui a bit
2021-02-17 22:02:04 +01:00
Christopher a3fa095f9f fix(phone/messages): fix posiston for Fab 2021-02-17 20:15:14 +01:00
J Francisco Rader 3a093230a5 Improve msg styles 2021-02-17 12:36:07 -05:00
Christopher a651eb9242 fix(phone/twitter): resolve isValidMessage issue
This only returned false. This commit is a temporary fix, as we need to check if there is any whitepace no matter if there is text or not
2021-02-17 16:45:10 +01:00
J Francisco Rader cf4baafb19 Autocomplete contacts + improve messages ui a bit 2021-02-17 01:23:08 -05:00
Christopher 15d7d3dcea fix(phone/messages): change how we get source | remove useEffect for parts 2021-02-16 23:33:23 +01:00
J Francisco Rader be479d75cc Fix possibly\ 2021-02-16 17:10:47 -05:00
J Francisco Rader c1f72c77c5 fix new msg alone 2021-02-16 17:10:46 -05:00
J Francisco Rader b93d5faee1 Redirect when new msg group is created, and use contacts to push a new message from there 2021-02-16 17:10:45 -05:00
Christopher aeb692499d fix(phone/contacts): resolve issue where avatar is undefined 2021-02-15 18:30:47 +01:00
Christopher e51bcca7f8 fix(phone/contacts): fixed incorrect Nui.send property | history.goBack 2021-02-15 00:23:23 +01:00
J Francisco Rader 7bafa7d518 I make phone work (#89) 2021-02-14 13:40:57 -05:00
Christopher Gjelten f879085b46 Merge branch 'master' into feat/snackbar-provider 2021-02-14 14:10:42 +01:00
Christopher 9eefc1642a fix(SnackbarProvider): resolve context error 2021-02-14 13:56:51 +01:00
Christopher ce35041568 fix(notes/nui): remove unused variables 2021-02-14 13:31:05 +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
Taso b73919c147 fix(phone/tweet): Fixed possible XSS vector
As we were parsing user input for \n in order to convert to <br> tags, a XSS vulnerability was introduced allowing for users to pass arbitrary script tags to be rendered in tweets.
2021-02-09 11:14:52 -05: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
Christopher Gjelten be754a3dc6 Merge pull request #79 from project-error/fix/notes-handling
Fix/notes handling
2021-02-08 22:34:22 +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
Christopher 1a5c85ed82 fix(notes/nui): better solution for Fab 2021-02-08 21:29:43 +01:00
Christopher d4cf6ce4f6 fix(notes/nui): fix Fab in notes list 2021-02-08 21:27:27 +01:00
Christopher 5e2b1a3aa5 fix(notes/nui): fix Fab in notes list 2021-02-08 21:27:00 +01:00
ErikandTaso ddb93b4de8 Fix twitter focusing bug (#74)
* fixes focusing bug and does some render optimizations

* fix(phone/twitter): Fixed conditional hook calls

Co-authored-by: Taso <[email protected]>
2021-02-08 15:24:42 -05:00
Christopher b57adf5a56 fix(notes/nui): remmove NoteModal content and title on save 2021-02-08 21:15:12 +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
Taso 5d3fad36f7 chore(phone/twitter): Allow for use of Twitter in browser 2021-02-08 15:11:47 -05:00
Christopher 8e207ea2b1 fix(notes/nui): decreased NoteModal title maxLength 2021-02-08 20:56:24 +01:00
Christopher 0502d03b24 feat(notes/nui): maxLength prop on title 2021-02-08 20:31:43 +01:00
Christopher 4d92847163 feat(notes/nui): use notes alert 2021-02-08 18:52:58 +01:00
Christopher 59973fcf9e feat(notes/nui): useAlet hook 2021-02-08 18:52:04 +01:00
Christopher fc1f6b3ad3 feat(notes/nui): notes alert 2021-02-08 18:51:08 +01:00
J Francisco Rader c149a1f49e Add quick access and improve Apps config 2021-02-08 00:44:57 -05:00
J Francisco Rader 2bb32c453b Fix: Dialer Routing, added contacts and styling. (#77)
* Fix dialer routing and add contacts to it

* Fix styling

* Delete unused component
2021-02-07 23:55:24 -05:00
Christopher 640643e086 cleanup(GalleryGrid): remove unused variables 2021-02-07 04:14:36 +01:00
J Francisco Rader 332b132352 Fix new message 2021-02-06 20:55:11 -05:00
J Francisco Rader 892acd2f59 Fix warnings + Improve CallTimer 2021-02-06 17:22:12 -05:00
J Francisco Rader 1db4dafa2d Fix sharing bug 2021-02-06 17:18:44 -05: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
J Francisco Rader 40f9555b39 Make Camera app use router (#69)
* Make Camera app use router

* Remove unused hooks

* Fucking communicate messages with camera with router

* Improved sharing in messages flow

* Fix clipboard

* Removeunused imports

* improve routing helpers

* Fix bug :D

* Fix stupid thing

* Add docs to useQueryParams hook
2021-02-06 22:24:50 +01: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
Christopher 5da2d680c6 fix(zoom): inital commit on possbile fix 2021-02-06 13:29:02 -05:00
Kire 37504feec7 handle case where user spams new lines 2021-02-04 23:10:22 -05:00
Kire 1fca1ac200 twitter char limit to 160 and added scroll 2021-02-04 22:29:47 -05:00