Commit Graph
85 Commits
Author SHA1 Message Date
Taso b14562eb9d tweak(phone): Remove FontAwesome dependency
All icons were switched to @material-ui/icons
2021-04-13 22:49:05 -04: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 98efed4e64 fix bank enums 2021-03-24 19:02:02 +01:00
Christopher de10ce92b2 fix(bank): update all events 2021-03-22 23:15:02 +01:00
Christopher 5654e1f46f feat(bank): update usage of enums 2021-03-22 23:05:39 +01:00
Taso 0f61088999 refactor(events): Events are now tied to a common enum typings (#167)
* chore(scripts/twitter): Refactored twitter to use event enums

* chore(scripts/marketplace): Refactored marketplace to use event enums

* chore(scripts/messages): Refactored messages to use event enums

* chore(scripts/contacts): Refactored contacts to use event enums

* chore(scripts/calls): Refactored calls to use event enums

* chore(scripts/notes): Refactored notes to use event enums

* chore(scripts/photos): Refactored photos to use event enums

* chore(scripts/bank): Refactored bank to use event enums

* chore(scripts/phone): Refactored phone to use event enums

* chore(events): Removed old events object

* refactor(phone/nui-events): Attached NUI events to respective enum

* tweak(event-enums): Added npwd prefix to all events

* tweak(phone/serve): Added craco to override CRA without eject

Also bumped react-scripts to 4.0.1, with seemingly no issues

* fix(typings/twitter): Fixed method enums for twitter
2021-03-22 13:37:07 -04:00
Taso ff0e75d82b fix(phone/bank): Fixed transactionList 2021-03-15 12:06:39 -04:00
Christopher 9d2aeddd4b clean up bank hook 2021-03-15 10:13:25 +01:00
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
Christopher 6f4ee009a9 printWidth: 100 2021-03-02 21:03:06 +01: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 f0305e3bb2 remove(phone/bank): remove unused hooks 2021-02-26 14:07:23 +01:00
Christopher 47218e63f5 feat(phone|resources/bank): useSnackbar for alert 2021-02-26 12:48:27 +01:00
Christopher 1afca13862 feat(phone/bank): remove alert component 2021-02-26 12:10:47 +01:00
Christopher a9ba633241 tweak(phone): remove bank & twitter notification components 2021-02-26 12:00:46 +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
J Francisco Rader 2b96d93565 Merge master 2021-01-23 18:44:00 -05:00
Christopher 6bb534231b something weird happened now 2021-01-14 20:23:31 +01:00
Christopher ba027b67fd fix(bank/nui): interface for useBankModal 2021-01-14 19:37:46 +01:00
Taso 54daa42454 styling: Enforced styling across all files (#55) 2021-01-12 21:31:03 -05:00
Christopher ee283c8b1c fix(bank/nui): fixed warnings 2021-01-07 21:43:07 +01:00
Taso bb5a4c7725 misc(nui): Renamed 'interfaces' folder to standard 'typings' 2020-12-13 00:06:36 -05:00
Christopher eb506f0ab0 cleanup(bank): general cleanup for bank 2020-12-12 15:22:33 +01:00
Christopher 319e5efac5 feat(bank/nui): fixed null error for credentials 2020-12-12 15:21:19 +01:00
Christopher 47bf14e9db feat(bank/nui): tweak(bank/interface): tweaked interface 2020-12-12 15:19:01 +01:00
Christopher b4a1ba0197 tweak(bank/nui): spearate styling for account and card 2020-12-12 15:14:33 +01:00
chip e1ff6eb382 fix(bank/nui): parseInt amount 2020-11-06 02:22:55 +01:00
chip ac3dc23701 fix(bank/nui): change of interface property for notification message 2020-11-06 02:20:19 +01:00
chip 199f568105 tweak(bank/nui): notification layout tweak 2020-11-05 13:40:55 +01:00
chip 54586266b5 feat(bank/nui): add BankAlert to BankApp 2020-11-04 16:13:07 +01:00
chip b6ac33116e some testing with the transfer modal 2020-11-04 16:12:21 +01:00
chip e6cee7b414 feat(bank/nui): state and hooks for alert and notificatioln 2020-11-04 16:11:12 +01:00
chip 3d865dd887 feat(bank/nui): additional styling for notification 2020-11-04 16:10:29 +01:00
chip 25d64b486f feat(bank/nui): bank notification component 2020-11-04 16:09:59 +01:00
chip b8ef73b95f feat(bank/nui): bank alert component 2020-11-04 16:01:28 +01:00
chip bf2a991ebc new component for notifications 2020-11-03 12:35:12 +01:00
chip e17f9211f5 feat(bank/nui): new state for alert 2020-11-03 12:32:41 +01:00
chip d238e2a612 feat(bank/nui): alert component 2020-11-03 12:32:11 +01:00
chip 1dcd43b3cf change snackbar position 2020-11-03 12:31:50 +01:00
chip 17e7e68a07 feat(bank/nui): styles for home screen 2020-10-28 21:45:08 +01:00
chip 8cdd2d07b2 feat(bank/nui): home screen kinda done 2020-10-28 21:43:33 +01:00
chip f680cf43ef feat(bank/nui): css for buttons 2020-10-28 21:42:07 +01:00
chip a22b224d7d added transfers to transactions list 2020-10-28 18:33:21 +01:00
chip e9859777e9 fix(bank/nui): fix for font size 2020-10-28 18:32:47 +01:00
chip 352f449bc2 fix(bank/nui): fix font size 2020-10-28 17:22:02 +01:00