Commit Graph
53 Commits
Author SHA1 Message Date
Christopher 5ce6cf2d4a update notes enums 2021-03-25 12:53:18 +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 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 Gjelten 51f9b20857 Merge branch 'master' into feat/alerts-for-apps 2021-02-28 02:00:34 +01:00
Christopher 796548d9d5 remove more unused variables :( 2021-02-26 19:52:36 +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 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 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
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
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
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
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 6bb534231b something weird happened now 2021-01-14 20:23:31 +01:00
Christopher 1ec30f341a feat(notes/nui): interface for useNoteDetail 2021-01-14 20:19:22 +01:00
Christopher 5960524b98 feat(notes/nui): interface for useNotes 2021-01-14 20:18:59 +01:00
Christopher 92579dd213 feat(notes/nui): interface for useNoteModal 2021-01-14 20:09:09 +01:00
Taso 54daa42454 styling: Enforced styling across all files (#55) 2021-01-12 21:31:03 -05:00
Christopher 1cf4d0e081 feat(notes/nui): fixed warnings 2021-01-07 21:44:07 +01: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 0d44be5e5b tweak(notes/nui): change postition for FAB 2020-11-01 19:29:19 +01: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 1eabe28bfc fix(notes/nui): fixed some styling 2020-10-30 14:25:31 +01:00
chip 4d76c1bfe9 tweak(notes/nui): clean up in NoteModal 2020-10-30 14:25:06 +01:00
chip 744e5b7da1 feat(notes/nui): mores styling 2020-10-30 00:21:14 +01:00
chip 53ef7d0195 fix(notes/nui): sending data from NoteList to the modal 2020-10-30 00:19:34 +01:00
chip 4438ee3302 tweak(notes/nui): notes app root component fixed 2020-10-30 00:19:08 +01:00
chip d6b7d67ec0 feat(notes/nui): notes app header 2020-10-30 00:17:01 +01:00
chip 92494fa541 del(notes/nui): removed old modal 2020-10-30 00:16:29 +01:00
chip 2e2ef27f6c feat(notes/nui): styles for note app 2020-10-30 00:16:02 +01:00
chip aafc7a8e3d del(notes/nui): removed NoteItem 2020-10-30 00:07:21 +01:00