Commit Graph

124 Commits

Author SHA1 Message Date
JellyWang
6da50b9bf3 Feat/app lock (#3805)
* fix: add applock component

Signed-off-by: 王山栋 <jelly@onekey.so>

* fix: add unlock atom

Signed-off-by: 王山栋 <jelly@onekey.so>

* fix: add password set unlock logic

Signed-off-by: 王山栋 <jelly@onekey.so>

* fix: jotai init local storage logic

Signed-off-by: 王山栋 <jelly@onekey.so>

* fix: recover jotai init logic

Signed-off-by: 王山栋 <jelly@onekey.so>

* fix: add lock

Signed-off-by: 王山栋 <jelly@onekey.so>

---------

Signed-off-by: 王山栋 <jelly@onekey.so>
Co-authored-by: morizon <sidmorizon@outlook.com>
2023-11-21 12:01:15 +08:00
huhuanming
f815b5596f fix: fix basic bg color (#3833)
* fix: fix bg

* fix: fix types

* fix: remove theme

* Update lintCheck.js

* Update GlobalScreenOptions.ts

* Update GlobalScreenOptions.ts

* fix: fix web
2023-11-21 11:46:25 +08:00
morizon
5754345d88 feat: x eventbus (#3831)
* feat: event bus

* fix: lint

* fix: lint
2023-11-21 10:30:24 +08:00
hublot
54322765dc feat: re impl the sectionlist by the listview (#3835) 2023-11-21 05:59:54 +08:00
morizon
bfc1e9e5eb fix: jotai storage (#3834) 2023-11-20 20:45:02 +08:00
morizon
f8ab439c75 feat: local db & evm base vault (#3795) 2023-11-20 17:41:15 +08:00
hublot
741dd95624 fix: iOS and android expo build error (#3832) 2023-11-20 16:49:46 +08:00
kwoktung
0824b39b63 theme settings (#3812)
* feat: add setting list page

* feat: add ListItemSelect component

* update theme

* feat: add locale setting

* update locale setting

* feat: split list

* feat: add UrlExternalListItem

* feat: add ServiceSetting

* rename useColorScheme to useSystemColorScheme

* feat: add PreferenceSection
2023-11-20 08:19:42 +00:00
huhuanming
99e4a643a0 fix: fix web Toaster's visibility (#3819)
* refactor: remove declarative dialog api

* fix: dialog overlay on the toast

* refactor: remove Toaster in native

* fix: fix web Toaster's visibility

* fix: fix lint

* fix: remove ControlledDialogByButton

* refactor: change MAX_WARNINGS_COUNT
2023-11-20 16:02:08 +08:00
huhuanming
91933626f7 refactor: refact Page Header/Footer/Body API (#3822)
* refactor: rename screen to page

* refactor: remove modal container

* fix: fix lint

* fix: fix types

* fix: fix footer

* feat: add custom footer

* Update TestSimpleModal.tsx

* Update TestSimpleModal.tsx

* fix: fix props

* refactor: remove ModalContainer

* fix: support fallback navigation options

* Update BasicPage.native.tsx
2023-11-20 14:34:36 +08:00
hublot
32a755e0e1 fix: improve the home tab user experience and replace to flashlist (#3824) 2023-11-20 04:06:29 +00:00
huhuanming
f3f274663b feat: enhance popover (#3829)
* feat: support promise onPress

* refactor: remove unused props

* refactor: remove unused props

* fix: fix native open status

* fix: fix FocusOutsideEvent

* fix: fix env

* docs: update demo

* fix: fix lint
2023-11-20 11:58:24 +08:00
Franco
b275e8a842 listitem corner icon & image (#3828) 2023-11-20 10:41:55 +08:00
huhuanming
4ca57ead3d feat: add useListenTabFocusState hook (#3778)
* feat: add useListenTabFocusState hook

* docs: add docs

* fix: move hook from components to kit folder

* fix: fix types

* style: fix lint

* style: fix style

* fix: fix lint

* fix: remove service

* fix: fix types
2023-11-18 16:53:11 +00:00
Franco
14eaafc141 avatar fallback image prop & story (#3821) 2023-11-17 11:17:35 +08:00
huhuanming
3527691a7e chore: lower the error and warning limit (#3823)
* Update tsCheck.js

* Update lintCheck.js
2023-11-17 09:22:49 +08:00
huhuanming
0350698bfc feat: support border-radius on BlurView (#3820)
* feat: support border-radius

* docs: add intensity doc

---------

Co-authored-by: loatheb <zhangzhao@onekey.so>
2023-11-16 19:39:54 +08:00
morizon
ebcf816e74 feat: x jotai context (#3817)
* feat: jotai context

* fix: lint

* fix: lint

* fix: lint
2023-11-16 19:39:06 +08:00
huhuanming
7172514d6c chmod: add electron build command (#3806) 2023-11-16 18:28:22 +08:00
Franco
b841c6759a fix duplicated icon name (#3816) 2023-11-16 03:33:22 +00:00
huhuanming
753d127bff feat: add RefreshControl & BlurView & FlashList (#3807) 2023-11-16 02:50:29 +00:00
hublot
c407ee01fe style: fix the back button being clipped when navigating back on iOS (#3810) 2023-11-16 02:32:34 +00:00
huhuanming
f649c22d80 fix: fix missing custom tabbar (#3809) 2023-11-16 10:27:19 +08:00
hublot
9a4123c4ce style: ios search bar icon and placeholder color (#3802) 2023-11-16 02:01:22 +00:00
huhuanming
df3da5e4e4 fix: fix collapse icon's position on Desktop header bar (#3815)
* fix: fix paddingLeft

* fix: fix spell mistake
2023-11-16 09:29:28 +08:00
Franco
5158b96c6a shortcut component & stories (#3814) 2023-11-16 08:19:29 +08:00
Franco
c78eda7fd1 sheet grabber (#3813) 2023-11-15 12:15:58 +00:00
hublot
ee9078237f fix: input and addOns click event and isRootScreen (#3811) 2023-11-15 18:55:42 +08:00
huhuanming
4042879766 chore: fix web/web-embed/extensions build script (#3803) 2023-11-15 18:00:19 +08:00
hublot
c828fd47bb Feat: update the desktop traffic light position OK-24274 (#3801)
* feat: update the desktop traffic light position

* style: update the DesktopDragZoneAbsoluteBar default height
2023-11-15 01:23:28 +00:00
hublot
65f4cb51bd fix: web screen popping white flickering (#3804) 2023-11-15 08:54:00 +08:00
JellyWang
65a35baaff Feat/web auth api (#3793) 2023-11-14 11:40:43 +08:00
hublot
01854b62c4 fix: searchBar dismiss the keyboard from touch and weird white flash (#3792)
* fix: searchBar dismiss the keyboard from touch and weird white flash

* fix: eslint and reverse useDemoAppNavigation
2023-11-14 09:50:29 +08:00
hublot
400c58c7f9 fix: search bar clear button is not working on web (#3799) 2023-11-13 11:18:17 +00:00
hublot
793c55ff1b fix: the zIndex and touch of popover and dialog in modal (#3798)
* fix: the zIndex and clicking of popover in modal
2023-11-13 18:55:59 +08:00
hublot
e7ede96f6f Revert android headerView height and set tamagui media hooks default config (#3776)
* fix: Revert the android headerView style to solve the height=0 bug

* feat: set tamagui media hooks default config
2023-11-13 16:33:11 +08:00
loatheb
bf119dd3c0 chore: Update CODEOWNERS 2023-11-10 16:41:27 +08:00
JellyWang
af49712623 fix: add rollbackPassword & prompt wrap fn (#3784) 2023-11-10 08:39:34 +00:00
huhuanming
0737681784 fix: fix home errors (#3783)
* fix: remove KeyboardManager

* fix: fix routes

* fix: fix types

* fix: fix types

* fix: remove unused button

* fix: fix warnings

* fix: fix types

* fix: fix types

* Update MAX_WARNINGS_COUNT to 197 in lintCheck.js.
2023-11-10 15:43:11 +08:00
dependabot[bot]
f76a8eda2b chore(deps-dev): bump axios from 1.5.1 to 1.6.0 (#3789)
Bumps [axios](https://github.com/axios/axios) from 1.5.1 to 1.6.0.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v1.5.1...v1.6.0)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: loatheb <zhangzhao@onekey.so>
2023-11-10 14:08:00 +08:00
hublot
10735cebea feat: disable the tab page animation on web platform (#3782) 2023-11-10 03:21:52 +00:00
hublot
174bfcabb4 fix: calculate the home tab page width (#3785) 2023-11-10 03:06:31 +00:00
hublot
e906a5ee26 fix: gesture conflict of button click and desktop drag box (#3790) 2023-11-10 10:54:40 +08:00
Franco
39f1c83e71 Searchbar UI & Header UI (#3788)
* merge conflix

* searchbar & header ui
2023-11-10 01:54:55 +00:00
huhuanming
8326333793 refactor: remove splash screen(OK-24225) (#3762)
* fix: fix splash screen

* refactor: remove useEffect & useState

* docs: add comment

* fix: fix types
2023-11-10 01:39:21 +00:00
huhuanming
300a618e3f refactor: check basic components props and story (#3772)
* fix: fix button props

* fix: fix ts error

* fix: fix warnings

* fix: fix slider event

* fix:  In the tap scenario, Android does not trigger onSlidingComplete function.

* fix: fix alert props

* fix: fix badge props

* fix: fix button props

* fix: fix checkbox group

* fix: fix typescript generic

* fix: fix dialog types

* fix: fix ts error

* fix: fix ts error

* fix: fix icon props names

* fix: fix ListItem Props

* fix: fix LottieView Props type

* fix: Popover props

* fix: fix Radio & QRCode props

* fix: fix error type

* fix: fix scrollview props

* fix: fix Skeleton props

* Update Skeleton.tsx

* fix: fix Switch props

* fix: fix select component

* fix: fix TextArea props

* fix: fix toast props

* fix: fix TooltipProps props

* fix: fix types

* fix: fix types

* fix: fix types

* fix: fix ts error

* Delete "/Users/boyue/Project/app-monorepo-x/.yarn/cache"/.app-mono-ts-cache
2023-11-09 14:13:56 +08:00
hublot
5d43bb37db fix: web and android gallery flash (#3777) 2023-11-08 22:05:01 +08:00
JellyWang
0351b540a1 Feat/password component (#3753)
* fix: add passwordverify component

Signed-off-by: 王山栋 <jelly@onekey.so>

* fix:icon update

Signed-off-by: 王山栋 <jelly@onekey.so>

* fix: add password setup

Signed-off-by: 王山栋 <jelly@onekey.so>

* feat: add selectTextOnFocus

* fix: service password & db updatePassword &  password update

Signed-off-by: 王山栋 <jelly@onekey.so>

* fix: lint

Signed-off-by: 王山栋 <jelly@onekey.so>

* fix: add bioloyg auth switch status

Signed-off-by: 王山栋 <jelly@onekey.so>

* fix: opt code

Signed-off-by: 王山栋 <jelly@onekey.so>

* fix: opt code & add passwordSet status

Signed-off-by: 王山栋 <jelly@onekey.so>

* fix: opt code

Signed-off-by: 王山栋 <jelly@onekey.so>

* fix: lint

Signed-off-by: 王山栋 <jelly@onekey.so>

* fix: opt code

Signed-off-by: 王山栋 <jelly@onekey.so>

* fix: remove console

Signed-off-by: 王山栋 <jelly@onekey.so>

* fix: verify oldpassword empty

Signed-off-by: 王山栋 <jelly@onekey.so>

* fix: opt code

Signed-off-by: 王山栋 <jelly@onekey.so>

* fix: opt code

Signed-off-by: 王山栋 <jelly@onekey.so>

* fix: opt code

Signed-off-by: 王山栋 <jelly@onekey.so>

* fix: opt code

Signed-off-by: 王山栋 <jelly@onekey.so>

* fix: opt code

Signed-off-by: 王山栋 <jelly@onekey.so>

* fix: add promp verify password

Signed-off-by: 王山栋 <jelly@onekey.so>

* fix: opt code

Signed-off-by: 王山栋 <jelly@onekey.so>

* fix: opt code

Signed-off-by: 王山栋 <jelly@onekey.so>

* fix: remove useLoacalAuthentication

Signed-off-by: 王山栋 <jelly@onekey.so>

* fix: opt code

Signed-off-by: 王山栋 <jelly@onekey.so>

* fix: opt code

Signed-off-by: 王山栋 <jelly@onekey.so>

* fix: opt atom

Signed-off-by: 王山栋 <jelly@onekey.so>

* fix: opt code

Signed-off-by: 王山栋 <jelly@onekey.so>

---------

Signed-off-by: 王山栋 <jelly@onekey.so>
Co-authored-by: huhuanming <huanming@onekey.so>
2023-11-08 17:14:57 +08:00
huhuanming
2558b0c58b chore: Add ESLint check for naming of enum types (#3774) 2023-11-08 14:23:01 +08:00
loatheb
862d9c1478 chore: update version v5.0.0-alpha1 2023-11-08 10:59:59 +08:00