146 Commits

Author SHA1 Message Date
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
huhuanming
3b585d3b25 fix: help esbuild locate missing dependencies. (#3758)
* fix: fix esbuild script in missing deps

* docs: add comments
2023-11-08 10:54:24 +08:00
hublot
67f2444bb1 fix: ios dialog zindex and remove useless rnscreen code and upgrade rntab version (#3770)
* fix: ios dialog zindex and remove useless rnscreen code and upgrade rntab version

---------

Co-authored-by: huhuanming <huanming@onekey.so>
2023-11-08 10:53:56 +08:00
huhuanming
5701f5d193 refactor: remove Touchable (#3773) 2023-11-08 10:53:21 +08:00
huhuanming
b91c0c680c lint: add lint check for interface & typeAlias (#3769) 2023-11-08 10:42:04 +08:00
loatheb
a9608b5153 chore: migration docs (#3771) 2023-11-08 09:02:07 +08:00
Franco
066704fe2a pagestack & modalstack ui (WIP) (#3768)
* tabbar

* tabbar ui

* before bulk rename props

* store

* pagestack & modalstack ui (WIP)

* merge
2023-11-07 20:04:47 +08:00
huhuanming
9633395740 refactor: add headerShown prop (#3764) 2023-11-07 19:18:19 +08:00
loatheb
3de6806495 chore: update CODEOWNERS 2023-11-07 19:14:48 +08:00
hublot
cd28ab7287 fix: set tab page style and content height (#3765) 2023-11-07 09:56:58 +08:00
hublot
967a5d1ee0 feat: Add react-native-screens patch to improve the bottom tab click performance (#3763) 2023-11-06 16:47:35 +08:00
huhuanming
c6771ec949 refactor: refact Portal Component (#3760)
* feat: memo component

* fix: fix type error

* fix: remove unused types

* fix: fix dialog portal

* fix: fix type & lint

* fix: fix ts error

* refactor: refactor Portal API

* fix: fix sidebar

* fix: fix missing tabbar

* fix: extra tabbar types

* fix: render Custom TabBar

* feat: add more items

* refactor: avoid re-rendering by checking if it's the current route.
2023-11-06 15:17:51 +08:00
huhuanming
c3f062cb92 feat: add ScrollView/ListView/SectionList/Touchable (#3749)
* feat: add ScrollView

* feat: add List

* fix: fix listView style

* fix: fix columnWrapperStyle

* feat: add ListView & SectionList

* feat: add Touchable

* fix: fix ts error
2023-11-03 09:40:39 +08:00
huhuanming
5a58320403 feat: add new Close func for Dialog instance (#3747)
* feat: add ref close func

* feat: add dialog hooks

* feat: more close story

* feat: add more dialog demo

* fix: remove handle close func

* fix: fix demo

* refactor: use Context

* fix: fix demo

* fix: remove zIndex

* fix: fix Dialog instance

* fix: remove unused lib

* fix: fix missing context on Dialog Portal

* fix: fix lint

* fix: remove reverse func

* fix: fix duration seconds

* fix: fix lint

* fix: fix android missing context
2023-11-02 15:16:15 +08:00
huhuanming
bb08cb810d fix: remove loading on Screen re-render (#3737)
* fix: fix lint error

* fix: fix types

* fix: fix slider types

* refactor: replace single value by array value

* fix: fix missing react-native-pager-view

* chore: add @react-native-community & react-native-share

* fix: fix missing types

* fix: add tsc error checker

* fix: fix lint error

* fix: fix ts error & lint error

* fix: remove loading on Screen re-render
2023-11-02 14:37:18 +08:00
hublot
8437a29728 feat: Replace NativeNestedTabView native code to the react-native-tab-page-view library (#3720) 2023-11-02 14:31:54 +08:00
morizon
65cc702a18 Feat/x jotai global state container (#3745)
* fix: jotai

* fix: jotai

* fix: jotai storage init

* fix: jotai persist init

* fix: lint

* fix: jotai sync

* fix: lint

* fix: lint

* fix: lint

* fix: lint

* fix: lint
2023-11-02 10:58:19 +08:00
huhuanming
18d73e6437 feat: eliminate the differences between web and native for Slider component. (#3744)
* fix: fix deps

* fix: fix onChange props

* feat: adjust slider props

* fix: fix ts error
2023-11-01 10:26:11 +08:00
huhuanming
f277d8e10c confirm whether the Dialog is always on top. (#3742)
* form: fix form focus

* fix: fix textArea focus

* feat: add selectTextOnFocus demo

* fix: remove any type

* chore: Confirm whether the Dialog is always on top.
2023-11-01 09:06:05 +08:00
huhuanming
7561ae8fd9 chore: limit eslint warnings (#3743) 2023-10-31 17:23:20 +08:00
huhuanming
fc2cb8154d fix: fix form props (#3739)
* form: fix form focus

* fix: fix textArea focus

* feat: add selectTextOnFocus demo

* fix: remove any type
2023-10-30 20:01:22 +08:00
huhuanming
661869538f form: fix form focus (#3738)
* form: fix form focus

* fix: fix textArea focus

* feat: add selectTextOnFocus demo
2023-10-30 18:55:41 +08:00
Leon
c80288455d Feat/x web3 browser (#3736)
* chore: add react-render-tracker

* feat: discover explorer

* feat: export store for jotai

* feat: create discover dashboard

* fix: load web home container

* feat: add webview container

* feat: add webview hooks

* refactor: move electron webviewTag event listerner

* fix: desktop controller

* fix: delete unused log

* refactor: webTabsActions api

* feat: mobile browser

* feat: tab list

* fix: progress bar

* feat: search modal

* fix: native webview navigation

* feat: add new event for native webview

* chore: mock simple db

* feat: Inject provider for DApp

* feat: inject logic

* chore: fix lint
2023-10-30 16:56:19 +08:00
huhuanming
54e2a3f99b fix: fix lint error (#3735)
* fix: fix lint error

* fix: fix types

* fix: fix slider types

* refactor: replace single value by array value

* fix: fix missing react-native-pager-view

* chore: add @react-native-community & react-native-share

* fix: fix missing types

* fix: add tsc error checker
2023-10-30 16:20:40 +08:00
huhuanming
57a1ea6be8 Fix/fix dialog (#3734)
* fix: fix dialog demo input

* feat: add autoFocus demo

* fix: fix Height Transition Animation
2023-10-30 10:16:29 +08:00
hublot
b958327cb9 fix: navigation style (#3733) 2023-10-30 10:13:32 +08:00
Franco
958b016b35 Dialog component optimization (#3731) 2023-10-29 15:12:11 +08:00
Franco
e75618141b Dialog styles & arrow right icon (#3729)
* segmentcontrol ui & loading prop for add-ons of Input

* dialog styles & arrow right icon
2023-10-27 16:57:44 +08:00
Leon
ea4891adaa feat: upgrade electron to v27 (#3730) 2023-10-27 16:55:35 +08:00