Commit Graph

1840 Commits

Author SHA1 Message Date
Hristo Nedelkov acafd7eb66 Merge branch 'main' into hn.device-memory-health 2023-08-11 14:48:43 +03:00
Hristo Nedelkov ae68803288
Merge pull request #40 from status-im/hn.NetworkHealth
feat: Network Health card
2023-08-11 14:46:54 +03:00
Ivana Andersson 3959afef8a feat: add connection page 2023-08-11 14:45:12 +03:00
Ivana Andersson 771438d5cf fix: change unknown type to CSS properties 2023-08-11 14:42:25 +03:00
RadoslavDimchev f9f39c6a17 feat: make advanced settings optional 2023-08-11 14:38:26 +03:00
Hristo Nedelkov 1896083bb5 Delete StandartStream.tsx 2023-08-11 14:30:12 +03:00
Hristo Nedelkov 6b052c9b17 tweaks 2023-08-11 14:29:06 +03:00
Hristo Nedelkov eed7a6d447 Remove imports 2023-08-11 14:20:11 +03:00
Hristo Nedelkov caf4469556 Add maxMemory argument 2023-08-11 14:16:20 +03:00
RadoslavDimchev abda7859c0 fix: update width and space 2023-08-11 14:08:55 +03:00
RadoslavDimchev f5fd644543 feat: add shadow variants 2023-08-11 13:59:12 +03:00
RadoslavDimchev afb942dd96 feat: add all component for the page 2023-08-11 13:56:31 +03:00
RadoslavDimchev f8793daa64 feat: add custom weight to icon text 2023-08-11 13:47:16 +03:00
Hristo Nedelkov 7d03e53a54 tweaks 2023-08-11 13:39:05 +03:00
Hristo Nedelkov 83e41b2148 Use double chart and remove stream 2023-08-11 13:34:18 +03:00
RadoslavDimchev 5fcc98ee50 feat: add route for the new page 2023-08-11 13:04:02 +03:00
Hristo Nedelkov 1de056db1a Implement stream charts into network card 2023-08-11 13:00:00 +03:00
RadoslavDimchev c9e71aef8a feat: create DeviceHealthCheck component 2023-08-11 12:56:06 +03:00
RadoslavDimchev 1f98face5b fix: pass props for page wrapper 2023-08-11 12:38:07 +03:00
RadoslavDimchev 37518f0d56 fix: replace shadow box with shadox 2023-08-11 12:18:57 +03:00
RadoslavDimchev 5c3a6c73c9 Merge branch 'main' into rd.remove-not-used-components 2023-08-11 12:17:44 +03:00
Hristo Nedelkov 6dc2cd631d Update LandingPage.tsx 2023-08-11 12:13:44 +03:00
RadoslavDimchev 328debcd5b feat: integrate status to titles 2023-08-11 11:08:02 +03:00
RadoslavDimchev fd13968823 fix: remove shadow box
use shadow from status
2023-08-11 10:51:46 +03:00
RadoslavDimchev 5c2bb02bcb fix: update logos with status texts 2023-08-11 10:46:47 +03:00
Ivana Andersson 4b031ccb07 feat: add breadcrumbs bar for the connection page 2023-08-11 10:44:40 +03:00
RadoslavDimchev 4e5a29c5d4 fix: icon text work with status text 2023-08-11 10:39:34 +03:00
RadoslavDimchev e091c591f6 fix: make icon work with status image 2023-08-11 10:34:21 +03:00
Hristo Nedelkov 6927177c39 Implement card without chart 2023-08-11 10:18:07 +03:00
RadoslavDimchev e9b4946c73 fix: update formatted text to work with status 2023-08-11 10:17:27 +03:00
Hristo Nedelkov 04b29d9e84 Implement memory health card 2023-08-11 10:13:05 +03:00
Hristo Nedelkov 7aa238b5de
Merge pull request #34 from status-im/hn.storage-health
[feat] Storage health card
2023-08-11 10:02:39 +03:00
RadoslavDimchev 9d7cd4c2c5 fix: delete information box 2023-08-11 09:59:45 +03:00
Hristo Nedelkov f204cb0ace Update LandingPage.tsx 2023-08-11 09:55:02 +03:00
Hristo Nedelkov 1c8a5f2cad Remove animation 2023-08-11 09:52:23 +03:00
RadoslavDimchev 23de7820c7 fix: delete custom buttons 2023-08-11 09:50:47 +03:00
Rickard Andersson 96210c1477 testing: add `QuickStartBar` stories 2023-08-10 15:28:39 +03:00
Hristo Nedelkov c89e6e1c47 dynamically set left storage 2023-08-10 15:28:38 +03:00
Rickard Andersson dcb5f85403 testing: add `HealthInfoSection` stories 2023-08-10 15:26:31 +03:00
Rickard Andersson 7c2dcab837 testing: add `StandardGauge` stories 2023-08-10 15:16:40 +03:00
Hristo Nedelkov 428cc4847f tweaks 2023-08-10 15:10:30 +03:00
Hristo Nedelkov b41a906d37 Merge branch 'main' into hn.storage-health 2023-08-10 15:01:14 +03:00
Hristo Nedelkov 0162a10800 Style gauge in box 2023-08-10 14:23:57 +03:00
Rickard Andersson 433265eacc testing: make `storybook` preview render properly 2023-08-10 13:37:00 +03:00
RadoslavDimchev ddefba4e3e feat: create page wrapper for column pattern 2023-08-10 13:33:27 +03:00
RadoslavDimchev d903931bc8 feat: create page wrapper shadow pattern 2023-08-10 13:10:47 +03:00
RadoslavDimchev c8ba74c277 fix: remove old page wrapper 2023-08-10 13:10:26 +03:00
RadoslavDimchev 482b6b6954 fix: add 100vh to background image 2023-08-10 13:08:22 +03:00
Hristo Nedelkov b7011e1d1e Implement card with gauge 2023-08-10 12:39:24 +03:00
RadoslavDimchev 78eb46da1e feat: create background page component 2023-08-10 12:20:39 +03:00
Ivana Andersson b4cf0b2d95
Merge pull request #30 from status-im/ia.add-connect-device-page
fix: add proper tamagui config
2023-08-10 11:54:04 +03:00
Hristo Nedelkov 24c08b9b47 Merge branch 'main' into hn.line-chart 2023-08-10 10:44:03 +03:00
Hristo Nedelkov a6562a7273 Take last point dynamically 2023-08-10 10:43:33 +03:00
Hristo Nedelkov 508f9b644f Generate lineChart data 2023-08-10 10:42:07 +03:00
Ivana Andersson ad423eb0f3 fix: fix svg elements to match react syntax 2023-08-10 10:40:08 +03:00
Hristo Nedelkov 098d4f2452
Update src/components/StandardLineChart.tsx
Co-authored-by: Rickard Andersson <gonz@severnatazvezda.com>
2023-08-10 10:24:42 +03:00
Hristo Nedelkov 5afe8a8cfa
Update src/components/StandardLineChart.tsx
Co-authored-by: Rickard Andersson <gonz@severnatazvezda.com>
2023-08-10 10:24:34 +03:00
Ivana Andersson 1215553a2b fix: add missing status-im colors module 2023-08-10 10:18:21 +03:00
RadoslavDimchev c5c1029f23 feat: style NimbusLogo 2023-08-10 10:15:40 +03:00
Hristo Nedelkov 279b7bc7b7 Use PascalCase 2023-08-10 10:09:59 +03:00
Hristo Nedelkov 4c95cd163c Use PascalCase 2023-08-10 10:09:29 +03:00
RadoslavDimchev 81ed2f1b8b feat: small style changes for Tag
add default value for background color
2023-08-10 09:58:37 +03:00
RadoslavDimchev f61f2f2e2d feat: add content to NimbusLogo 2023-08-10 09:54:37 +03:00
Hristo Nedelkov 3453d687b5 Remove useEffect and useState 2023-08-10 09:54:05 +03:00
Hristo Nedelkov 9b63d4174c Merge branch 'main' into hn.line-chart 2023-08-10 09:53:49 +03:00
RadoslavDimchev 0b5949a3db feat: remove nodes logo with html 2023-08-10 09:53:40 +03:00
RadoslavDimchev 4d5faa22c1 feat: use NodesLogo for LandingPage 2023-08-10 09:38:50 +03:00
RadoslavDimchev 0f56ddefed fix: change style of Tag 2023-08-10 09:38:12 +03:00
RadoslavDimchev 544ddff529 feat: create nodes logo 2023-08-10 09:25:20 +03:00
RadoslavDimchev c77a72599e fix: rename Logo to NimbusLogo 2023-08-10 09:17:48 +03:00
Hristo Nedelkov 4065c125b0 Tweaks 2023-08-10 09:07:24 +03:00
Hristo Nedelkov f2cb3eaa7e Separate logic for cards
Add alerts with icons
2023-08-09 15:21:46 +03:00
RadoslavDimchev 90d6399d43 feat: implement react router
add landing page on "/"
2023-08-09 13:37:22 +03:00
RadoslavDimchev f8e6cf8369 feat: remove use state and effect
just calculate them without state
2023-08-09 12:37:58 +03:00
RadoslavDimchev 9a81ce2367 fix: remove duplicate config import 2023-08-09 12:00:59 +03:00
Radoslav Dimchev f617295058
Merge branch 'main' into rd.create-HealthInfoSection-component 2023-08-09 11:50:17 +03:00
Hristo Nedelkov 9a5eed0d1c Re-use existing components 2023-08-09 11:47:34 +03:00
RadoslavDimchev c7c4b4e7a5 feat: add valid values for new props 2023-08-09 11:26:50 +03:00
Hristo Nedelkov 4ee27c6cd8 Add fixed size to the static box 2023-08-09 11:18:02 +03:00
Hristo Nedelkov ae8fcca173 Merge branch 'main' into hn.line-chart 2023-08-09 11:10:54 +03:00
RadoslavDimchev a6387398db feat: create separate component for message 2023-08-09 10:58:47 +03:00
RadoslavDimchev c7120820bf fix: add new props to the type 2023-08-09 10:32:55 +03:00
RadoslavDimchev 650a769432 feat: add real values for props
also add cpuClockRate and networkLatency
2023-08-09 10:29:35 +03:00
RadoslavDimchev 7245964d77 feat: change info messages and add more 2023-08-09 10:26:00 +03:00
RadoslavDimchev e533617a6b feat: create constants file and move them 2023-08-09 10:20:39 +03:00
RadoslavDimchev 3ea108b246 feat: implement states for percentages 2023-08-09 10:12:39 +03:00
Hristo Nedelkov c903095228 [fix] Fit chart in box boundaries 2023-08-09 09:32:05 +03:00
RadoslavDimchev 2ef62191aa fix: remove styled from BackgroundImage
It has an error for boxShadow prop
2023-08-09 09:25:27 +03:00
Ivana Andersson d30f64e8ba ci: fix build 2023-08-08 14:59:00 +03:00
Ivana Andersson cf80d7f7cc fix: add missing `QuickStartBar` 2023-08-08 14:47:22 +03:00
RadoslavDimchev 47cf20b601 fix: remove styled from ShadowBox 2023-08-08 14:45:30 +03:00
Hristo Nedelkov 1e56634029 Implement line chart in the StaticBox 2023-08-08 14:42:29 +03:00
Ivana Andersson 0b5cc980b6
Merge branch 'main' into ia-creating-components 2023-08-08 14:41:42 +03:00
Ivana Andersson 11a7fb0cf3 feat: add landing page layout and styles 2023-08-08 14:38:10 +03:00
RadoslavDimchev 822f4cc805 fix: remove not used props from icon 2023-08-08 13:59:35 +03:00
RadoslavDimchev 0947232fa1 feat: add constant messages 2023-08-08 13:57:33 +03:00
RadoslavDimchev 6b788018ad feat: add type and props 2023-08-08 13:10:07 +03:00
RadoslavDimchev 1a44ad733c feat: create HealthInfoSection component 2023-08-08 13:07:00 +03:00
Hristo Nedelkov fa9ba087be Import and convert Static box from demo of Device Health Check" 2023-08-08 12:55:02 +03:00
Radoslav Dimchev 19c347809c
Merge pull request #18 from status-im/rd.convert-jsx-components-to-tsx
refactor: convert jsx components to tsx
2023-08-08 11:53:17 +03:00
RadoslavDimchev 50eda7176e refactor: delete top bar and tab 2023-08-08 11:48:41 +03:00
RadoslavDimchev f783891bb8 refactor: convert PageWrapper to tsx 2023-08-08 10:56:02 +03:00
RadoslavDimchev 96aca7a9eb refactor: convert Information Box to tsx 2023-08-08 10:55:30 +03:00
RadoslavDimchev f00d26e955 refactor: convert all title components 2023-08-08 10:50:32 +03:00
Hristo Nedelkov fdcc2d50b7 Merge branch 'hn.standard-gauge-component' of https://github.com/status-im/nimbus-gui into hn.standard-gauge-component 2023-08-08 10:39:11 +03:00
Hristo Nedelkov 0f3fe54086 Spelling fixes 2023-08-08 10:38:50 +03:00
Hristo Nedelkov b2bb254d02
Update src/App.tsx
Co-authored-by: Rickard Andersson <gonz@severnatazvezda.com>
2023-08-08 10:37:46 +03:00
Hristo Nedelkov 147d3b6993
Update src/App.tsx
Co-authored-by: Rickard Andersson <gonz@severnatazvezda.com>
2023-08-08 10:37:40 +03:00
Hristo Nedelkov b8fae018c7
Update src/components/StandartGauge.tsx
Co-authored-by: Rickard Andersson <gonz@severnatazvezda.com>
2023-08-08 10:37:33 +03:00
Hristo Nedelkov 41fcb7ceea
Update src/components/StandartGauge.tsx
Co-authored-by: Rickard Andersson <gonz@severnatazvezda.com>
2023-08-08 10:37:28 +03:00
Hristo Nedelkov 2a5bdc1131
Update src/components/StandartGauge.tsx
Co-authored-by: Rickard Andersson <gonz@severnatazvezda.com>
2023-08-08 10:37:18 +03:00
RadoslavDimchev 94fbbb6f15 refactor: convert TopBar and fix new issues 2023-08-08 10:32:17 +03:00
RadoslavDimchev 2376120104 refactor: convert Tab from TopBar to tsx 2023-08-08 10:20:31 +03:00
RadoslavDimchev e0a75a6d25 refactor: ShadowBox tsx and replace div 2023-08-08 10:10:52 +03:00
RadoslavDimchev 40fc94ac4c refactor: convert Tag to tsx 2023-08-08 10:01:53 +03:00
RadoslavDimchev d9567ac529 fix: add new imports for Logo 2023-08-08 09:45:40 +03:00
RadoslavDimchev 67898225d1 refactor: rest icon components to tsx 2023-08-08 09:40:51 +03:00
RadoslavDimchev 0bb728eacf refactor: buttons convert to ts 2023-08-08 09:28:35 +03:00
RadoslavDimchev ce712c621b refactor: convert Icon jsx component to tsx 2023-08-08 09:06:24 +03:00
Hristo Nedelkov df45d98cfb Remove react fragments 2023-08-07 15:27:39 +03:00
Hristo Nedelkov 558e2dd8e5 Extract into separate file 2023-08-07 15:23:21 +03:00
RadoslavDimchev 2c632552b3 refactor: change exports to default
Convert named exports to default exports in component folder
2023-08-07 15:17:31 +03:00
RadoslavDimchev fbcd120bfc perf: remove folders and indexes from components 2023-08-07 14:38:53 +03:00
Hristo Nedelkov 77e4089503 Fix names 2023-08-07 14:32:32 +03:00
RadoslavDimchev 4cae5c67a1 refactor: add types and clean FormattedText 2023-08-07 14:20:54 +03:00
RadoslavDimchev 3d1cf65a86 Convert BackgroudImage to ts file 2023-08-07 13:32:18 +03:00
Hristo Nedelkov e48b9d1fae Style chart with only needed attributes 2023-08-07 12:15:07 +03:00
Hristo Nedelkov c33ffbf27d Run demo of nivo/pie 2023-08-07 11:24:37 +03:00
Hristo Nedelkov c9dce39b81 Implement new PieChart library
Using notion document mentioned library https://nivo.rocks/
2023-08-07 10:03:12 +03:00
Hristo Nedelkov b9e9a1a7b6 Merge branch 'main' into hn.standard-gauge-component 2023-08-07 09:11:24 +03:00
Rickard Andersson 6e03a12c4d feat: add `@status-im/components` library 2023-08-04 12:18:37 +03:00
Rickard Andersson ee25c431ed fix: removed `TAMAGUI_TARGET` in scripts
This seems set in our vite config so going through vite should allow us
to skip it explicitly being set.
2023-08-04 10:45:47 +03:00
Rickard Andersson fc5f5f5fe4 feat: add Tamagui integration
Author: @RadoslavDimchev
2023-08-04 09:43:07 +03:00
Hristo Nedelkov a079089c1b Implement ApexChart donut chart for gage
using https://apexcharts.com/react-chart-demos/pie-charts/
2023-08-03 22:26:40 +03:00
Rickard Andersson bc65e70e64 docs: add note about `Distinct` == `newtype` 2023-08-03 11:48:42 +03:00
Rickard Andersson 15ce507220 fix(app): fix render step for older version of `react-dom` 2023-08-03 11:31:15 +03:00
Rickard Andersson b55c88fec5 feat(dev): add `Distinct` type
Useful for creating types that are stored as other types (usually
primitives) but are represented as distinct in the type system.
Canonical example exists in documentation.
2023-08-03 11:01:01 +03:00
Rickard Andersson 41e24a1e4f feat(dev): add `assertUnreachable`
Asserts that a case is unreachable in `switch` statements (and really
any flow control construct)
2023-08-03 10:53:58 +03:00
Rickard Andersson f36bf56a6a project reinit 2023-08-03 09:20:54 +03:00
Hristo Nedelkov d60131cf57 Fix height 2023-07-25 21:15:47 +03:00
Hristo Nedelkov f144a2d433 Style 2023-07-25 21:09:00 +03:00
Hristo Nedelkov 2513bcc61a Update border-radius on TopBar 2023-07-25 20:48:12 +03:00
Hristo Nedelkov d98361583f Update Tab 2023-07-25 20:45:27 +03:00
Hristo Nedelkov bab04e91d8 Create TopBar 2023-07-25 20:45:15 +03:00
RadoslavDimchev 9e9d77c6d2 Remove warning for getting background image 2023-07-22 15:46:35 +03:00
RadoslavDimchev 3ada7923b5 Set background lines at statistic boxes 2023-07-22 15:03:26 +03:00
RadoslavDimchev 04aace9b50 Create util to format SVGs 2023-07-22 14:40:21 +03:00
RadoslavDimchev 83c32f46d7 Style statistic boxes 2023-07-22 14:28:06 +03:00
RadoslavDimchev 90da64e5bf Add additional data about statistic boxes 2023-07-22 13:49:56 +03:00
RadoslavDimchev d11062c6f2 Add size changes 2023-07-22 13:29:03 +03:00
RadoslavDimchev eb684a1645 Fix Titles name collisions 2023-07-22 13:25:10 +03:00
RadoslavDimchev a9d9eb7d22 Use icon button into titles 2023-07-22 13:14:27 +03:00
RadoslavDimchev f4c3bfbe65 Create Icon Button component 2023-07-22 13:13:55 +03:00
RadoslavDimchev b18d6e4e9c Create and use new formatted text component 2023-07-22 10:18:31 +03:00
RadoslavDimchev a7b51d46b0 Use new separated components 2023-07-21 23:41:49 +03:00
RadoslavDimchev 5c745dbd8f Separate statistic boxes 2023-07-21 23:33:34 +03:00
RadoslavDimchev 120857cf60 Create statistic texts component 2023-07-21 23:25:32 +03:00
RadoslavDimchev 18443f3139 Create page wrapper 2023-07-21 23:13:28 +03:00
RadoslavDimchev 143bef3a65 Change page structure and add data for statistics 2023-07-21 23:04:20 +03:00
RadoslavDimchev 898c8f7140 Create and use Icon component 2023-07-21 21:10:16 +03:00
RadoslavDimchev 7673585986 Create and use basic statistic box component 2023-07-21 20:47:04 +03:00
RadoslavDimchev 46710ca35d Fix background structure and use image 2023-07-21 20:26:35 +03:00
RadoslavDimchev b239a14e62 Create reusable shadow box component 2023-07-21 20:19:55 +03:00
RadoslavDimchev a3a0a015be Create background image component 2023-07-21 20:19:16 +03:00
RadoslavDimchev e41d0e4e3e Add linear gradient to background 2023-07-21 19:24:31 +03:00
RadoslavDimchev 1ac9fd3e56 Create and use icon with text component 2023-07-21 17:54:59 +03:00
RadoslavDimchev 97b58877c7 Fix icon position at information box 2023-07-21 17:16:23 +03:00
RadoslavDimchev 790f2e6c7f Use components to device health check page 2023-07-21 16:51:54 +03:00
RadoslavDimchev c16f2834dc Create Nimbus logo component 2023-07-21 16:42:20 +03:00
RadoslavDimchev f3859b911b Create reusable tag component 2023-07-21 16:25:53 +03:00
RadoslavDimchev b755be0846 Create titles component with title and subtitle 2023-07-21 16:25:30 +03:00
RadoslavDimchev f7efdd799e Use custom components and remove css 2023-07-21 15:31:30 +03:00
RadoslavDimchev 6b85205ec2 Create custom information button component 2023-07-21 15:30:38 +03:00
RadoslavDimchev 28ea50ce27 Create custom button 2023-07-21 15:30:08 +03:00
RadoslavDimchev 30d84280d1 Create tamagui config with @tamagui/config 2023-07-21 15:29:19 +03:00
Hristo Nedelkov 8b0b1cd967 Add background 2023-07-14 15:02:16 +03:00
Hristo Nedelkov c487a6d26f Add shadow to main photo 2023-07-14 12:58:50 +03:00
RadoslavDimchev d1a13c6ec6 Fix tamagui and router providers order 2023-07-13 20:05:22 +03:00
RadoslavDimchev 3d5ec1170c Create exporting file
Export Device Health Check page from index.jsx
2023-07-13 17:51:55 +03:00
RadoslavDimchev 186cac0fc7 Create structure for pages and images 2023-07-13 17:45:55 +03:00
RadoslavDimchev a98028b61a Integrate react router dom
Install react route dom library and create first route
2023-07-13 17:32:41 +03:00
RadoslavDimchev 979accf18a Config tamagui library
Install needed dependencies and plugin for vite react web project
2023-07-13 16:41:33 +03:00
RadoslavDimchev 122a27e039 Config env variables with env-cmd
Create local .env file with variables
2023-07-13 15:11:25 +03:00
RadoslavDimchev b5b63ce76b Clean project directory 2023-07-13 14:16:49 +03:00
RadoslavDimchev d72319dc85 Delete project 2023-07-13 13:36:19 +03:00
Hristo Nedelkov e09c767f59 Side image 2023-07-07 19:36:27 +03:00
RadoslavDimchev 64383fb9d9 Add storybook to yarn project 2023-07-07 18:33:41 +03:00
Hristo Nedelkov e709eec861 Vite create project 2023-07-07 18:26:09 +03:00
RadoslavDimchev 87a1357369 Revert "Create vite react project"
This reverts commit f94a20ccc9.
2023-07-07 18:16:51 +03:00
RadoslavDimchev f94a20ccc9 Create vite react project 2023-07-05 15:45:01 +03:00