Commit Graph
1204 Commits
Author SHA1 Message Date
Taso 3e01fc456c tweak(phone): Split Phone component into wrapper 2021-04-19 13:28:10 -04:00
Taso 4b7a6280fd fix(phone/notes): Fixed slide transition with notes modal 2021-04-19 13:15:55 -04:00
Taso ec4ebdc54d tweak(phone): Rename PhoneContainer 2021-04-19 13:15:33 -04:00
Christopher 8861f4e503 fix(phone): remove Nui deps from useEffect 2021-04-18 21:37:47 +02:00
Christopher 6a46711a51 feat(phone/marketplace): choose images from camera 2021-04-16 15:34:45 +02:00
Taso b14562eb9d tweak(phone): Remove FontAwesome dependency
All icons were switched to @material-ui/icons
2021-04-13 22:49:05 -04:00
Taso 71bb73b54e fix(phone/watch): Fixed in-game watch and prevent debug inject
If using the `watch` script in game, the debug injections will not occur.
2021-04-13 22:04:23 -04:00
J Francisco RaderandTaso 8dc59c47bd fix(phone): Fix subsequent rerenders & added WDYR (#209)
Fixed an issue with infinite rerendering on app routes by making it a Pure component.

Adds `why-did-you-render` for development use.

Co-authored-by: Taso <[email protected]>
2021-04-13 21:33:18 -04:00
Taso 4fceb3750b tweak(phone/deps): Remove @types/jest as we use enzyme 2021-04-13 21:24:25 -04:00
Taso 771483b7b5 fix(phone/watch): Implement watch using craco and writing to disk 2021-04-13 21:24:25 -04:00
Taso 1ef01f291b fix(phone/tests): Fixed enzyme test for React 17 2021-04-13 21:24:25 -04:00
Taso 6154dfc7a3 tweak(phone): Bumped deps & tweaked craco
This updates our craco config to match our current custom webpack build rather than having to eject. This also bumps several of our dependencies that were outdated for React 17.
2021-04-13 21:24:25 -04:00
Taso ecd7689742 fix(phone/icons): Fixed messages icon having text in d attr 2021-04-13 20:21:24 -04:00
Taso 2b4752dc89 fix(phone/number): Fix incorrect method ref on setNumber in dev 2021-04-13 19:49:01 -04:00
Taso bd5f3016d0 tweak(phone/settings): Remove button effect on switches 2021-04-13 19:48:44 -04:00
Taso fad2ff14fa fix(scripts/client): Fix incorrect ready & config method 2021-04-13 16:49:35 -04:00
Taso 390319deda fix(types): Fixed incorrectly referenced type 2021-04-11 10:32:31 -04:00
Taso b5fca6b35b cleanup: Recoil State Type Safety + Misc Cleanup (#189)
* chore(phone/settings): Removed unused state

* cleanup(phone/photos): Added type safety to photo state

* tweak(phone/marketplace): Added type safety to marketplace state

* chore(phone/match): Removed unnecessary console.log

* tweak(phone/messages): Added type safety to messages state

Also fixed ESLint warning for exported anonymous hook in useMessages.ts

* tweak(phone/match): Added type safety to match state

* tweak(phone/dialer): Cleanup & type safety for state

Renamed some types to better represent their data

* cleanup(phone/gen): Added NUI event enums for phone events

* tweak(phone/contacts): Type safety for contacts state & variable rename

Renamed and type variable in setFilteredContacts to better represent its use

* tweak(phone/gen-state): Added type-safety to gen phone global state

* tweak(phone/settings): Type safety for settings state

* tweak(phone/photos): Tweaked type for photo referral

* fix(phone/notification-comp): Fix reference to old theme config

* chore(phone/hooks): Remove keyboard service

Removed as this was unused and ESLint was not happy with it

* chore(phone): Cleaned up eslint warnings

No more warnings hooray!

* tweak(phone): Set time in dev mode

* fix(phone): Remove useNuiService that appeared somehow

* fix(phone/gallery): Fixed missing import for gallery

* Revert removing the keyboard service as this is built upon in another PR

This reverts commit 82d12255a84e918da087d988b599af98ce1fe54d.

* fix(phone/keyboard): Add useKeyboardService hook back to Phone.tsx

* fix(phone/gallery): Fix and standardized GalleryPhoto type
2021-04-11 10:01:38 -04:00
Taso 1f20b980da fix(phone/gallery): Fix forgotten handle function 2021-04-11 09:45:17 -04:00
Taso a880ae66ea feat(config): Allow config to be edited without rebuild 2021-04-11 09:38:20 -04:00
Taso 1a3d02f1e3 fix(husky): Readd missing precommit script 2021-04-11 09:05:09 -04:00
J Francisco Rader b97cc4102d Feature / Add loading state to camera app (#200)
* (feat/camera-loading): Add loading state to camera app

* Fix imports + Add timeout

* Use actual function :D
2021-04-10 16:19:25 -03:00
dayiskuan e1e6e8440d Adding new icons (#204)
* Adding new icons
2021-04-10 14:49:15 -03:00
Oldarorn 404d526863 Adding french missing translations (#203)
french baguette ♫
2021-04-09 16:06:24 +02:00
J Francisco Rader e70c540ce8 Fix fetch on initialize (fixing notifications too) (#202)
* Fix fetch on initialize (fixing notifications too)

* Add multiline support to messages input field
2021-04-08 10:53:12 -03:00
Christopher 62038aa5fe tweak(phone/wallpaper): current wallpaper value as initial input value 2021-04-08 11:00:52 +02:00
J Francisco Rader 8e79eb1345 Make use of library instead of having code duplicated (#201)
* Use fivem-nui-react-lib
2021-04-07 19:07:10 -03:00
Christopher Gjelten 0cf5bc2bc7 tweak(phone/settings): simplify custom background (#185)
Adds the custom background option into wallpaper SettingItem, with an nice DialogForm.
2021-04-07 23:29:18 +02:00
Taso 8ef1a0aa9a tweak(scripts): Tweaked root lerna scripts
Tweaked root package.json scripts to better improve dev experience.

* Install npm dependencies for both packages using `yarn bootstrap` in root directory

* Build both NUI and game scripts using `yarn build` in the root directory.

* Precommit git hook references script rather than global pretty-quick
2021-04-05 20:12:34 -04:00
Taso 2a8230e505 chore(husky): Removed unnecessary committed files 2021-04-05 20:08:14 -04:00
RockySouthpaw fcecd2aa89 chore(sql): Adjust identifier length & remove items 2021-04-05 17:27:35 -04:00
Christopher Gjelten d8dc5b7f47 Update README.md 2021-04-04 16:45:47 +02:00
Christopher fed7b2c13a Merge branch 'master' of https://github.com/project-error/new-phone-who-dis 2021-04-04 02:44:39 +02:00
Christopher d6b561beb8 remove unusded variable 2021-04-04 02:41:47 +02:00
Taso 8ca8b1b5fe tweak(phone/call-modal): Tweaked appearance of call modal (#178)
Correct actions will now display if calling another player.

Also added ringing flavor text when the person calling is the transmitter.
2021-04-03 18:02:47 -04:00
Christopher 4bf3248168 tweak(phone/dialer): remove type number from dialer input
this is temporary
2021-04-03 22:32:09 +02:00
J Francisco Rader cb1aa80f83 bugfix(messages-app): Remove paste from clipboard feature (#195) 2021-04-02 18:04:44 -03:00
J Francisco Rader 9896f2384e Add kiddo theme :D 2021-04-01 16:07:32 -03:00
Taso 289207beb9 tweak(phone/twitter): Refactored nui events to use enums for method" 2021-04-01 12:37:56 -04:00
Taso 8bfdc1b8b2 fix(phone/types): Replaced debug inject methods with new enums" 2021-04-01 12:28:14 -04:00
J Francisco Rader d315d72e93 Fix first time login 2021-04-01 11:42:28 -03:00
Christopher 2992a644fe tweak(phone/apps): hiding bank app while bank resource gets done 2021-04-01 14:31:38 +02:00
victorBOY 2b633c9e80 Update pt-BR translation (#188)
* Update pt-BR translation

* Update ptbr.json

* Fix missing translations
2021-03-31 22:58:40 +02:00
Christopher dab4c1eaf7 fix(phone/dialer): missing translation 2021-03-31 20:47:39 +02:00
Dillon Skaggs 48e0dd2443 fix(sql): don't include extra SQL data (#187) 2021-03-31 15:10:34 -03:00
Christopher 3157cafd5a fix(phone/settings): fix settingsSchema properties for custom wallpaper 2021-03-30 22:30:05 +02:00
Christopher c82a48b012 remove slutty import, smh' 2021-03-30 22:23:32 +02:00
Christopher 4d46566811 feat(phone/settings): custom background 2021-03-30 22:21:41 +02:00
Christopher ee7e3a3ae1 tweak(phone/twitter): change position of tweet & showMore button 2021-03-30 16:27:07 +02:00
Christopher 31241c7e8f Merge branch 'master' of https://github.com/project-error/new-phone-who-dis 2021-03-30 16:06:04 +02:00