Commit Graph
23 Commits
Author SHA1 Message Date
Taso feb9e8a5d3 refactor(server/notes): Implement singleton architecture
Also trying something out with the response structure on the server to cut down on redundant calls.
2021-04-19 14:14:25 -04:00
Taso 4b7a6280fd fix(phone/notes): Fixed slide transition with notes modal 2021-04-19 13:15:55 -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
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
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
J Francisco Rader 2c6358e4c3 Add status button | Revert white icons 2021-02-21 18:13:08 -05:00
J Francisco Rader 9f04ac3243 Add theme provider for notes 2021-02-21 12:49:09 -05: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 b57adf5a56 fix(notes/nui): remmove NoteModal content and title on save 2021-02-08 21:15:12 +01: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
Taso 54daa42454 styling: Enforced styling across all files (#55) 2021-01-12 21:31:03 -05:00
Taso f3af0eebd4 Merge branch 'ui-changes' 2020-12-12 16:22:17 -05:00
erik-sn 681ce16912 working groups & messages 2020-11-20 18:14:07 -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
chip ba36ae3ddc cleanup(notes/nui) 2020-11-01 19:28:56 +01:00
erik-sn ce951ceecc working updates 2020-11-01 10:12:58 -05:00
chip 4d76c1bfe9 tweak(notes/nui): clean up in NoteModal 2020-10-30 14:25:06 +01:00
chip a3e63a40b5 feat(notes/nui): NoteModal with values in textfields WIP 2020-10-30 00:04:50 +01:00