Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Redesign #16

Merged
merged 40 commits into from
Jan 19, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
72e3dae
Clean-up shadcn and pages
KaffinPX Oct 12, 2024
a6f04b4
Initial scheme of Creation pages
KaffinPX Oct 13, 2024
c58a118
Creation logic (mnemonic validation missing)
KaffinPX Oct 17, 2024
e876b57
Improve password page (Requirement component)
KaffinPX Oct 18, 2024
cc0ac39
Better session processing on backend
KaffinPX Oct 19, 2024
63c5cdc
Minor typo fix (mnemonics -> mnemonic)
KaffinPX Oct 19, 2024
497924c
Prototype Unlock page
KaffinPX Oct 20, 2024
4babc3f
More pages are done, styling improved
KaffinPX Dec 12, 2024
a959a48
Move Summary to main dir and use HashRouter
KaffinPX Dec 12, 2024
3efd873
Migrate into tailwind v4 and daisyUI v5
KaffinPX Jan 7, 2025
6691e55
Rewrite of Unlock file for using new components
KaffinPX Jan 7, 2025
5142084
Receive tab
KaffinPX Jan 8, 2025
84278e1
Send drawer & some fixes
KaffinPX Jan 10, 2025
74b37b7
Add a connection status indicator
KaffinPX Jan 10, 2025
a5e77ee
Work-in progress settings menu
KaffinPX Jan 10, 2025
9a63345
Improve Send Drawer
KaffinPX Jan 11, 2025
4b0bc25
Wallet reset button
KaffinPX Jan 12, 2025
9f4e4d8
Add version to settings
KaffinPX Jan 12, 2025
a789197
Connect modal prototype
KaffinPX Jan 12, 2025
78bf2de
Fix address scanning
KaffinPX Jan 13, 2025
bb7c705
Old style settings menu
KaffinPX Jan 13, 2025
ca5f282
Increase scan count to cover 1000 addresses
KaffinPX Jan 13, 2025
aed3490
Better receive and change address representation
KaffinPX Jan 13, 2025
7778c47
Reserve a fresh address for usage after scanning
KaffinPX Jan 13, 2025
0f07f43
Allow provider api to interact w Send(transact) dialog
KaffinPX Jan 13, 2025
3048373
Custom signature schemes of provider api
KaffinPX Jan 13, 2025
e24ab73
Fix builds
KaffinPX Jan 13, 2025
58cba70
Fix some React warnings
KaffinPX Jan 14, 2025
a7d101d
Remove a debug line
KaffinPX Jan 14, 2025
66ab46d
Fix node connectivity issues
KaffinPX Jan 15, 2025
83ab572
Better settings popup
KaffinPX Jan 15, 2025
286118a
Accordion renaming
KaffinPX Jan 15, 2025
25767d3
Cleanup of Send page(+now displays fee)
KaffinPX Jan 17, 2025
754c875
Better modal view
KaffinPX Jan 18, 2025
e8ed590
Improve Settings and styles
KaffinPX Jan 19, 2025
38b1cc7
Improve Unlock page
KaffinPX Jan 19, 2025
f5bc36f
Improve Connect popup
KaffinPX Jan 19, 2025
74ebf0f
Add Node dropdown
KaffinPX Jan 19, 2025
d3d4fac
Tune some sizes
KaffinPX Jan 19, 2025
7e646ef
Remove theme selector for a while
KaffinPX Jan 19, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
260 changes: 0 additions & 260 deletions _locales/en/messages.json

This file was deleted.

Binary file modified bun.lockb
Binary file not shown.
16 changes: 0 additions & 16 deletions components.json

This file was deleted.

12 changes: 3 additions & 9 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,21 +1,15 @@
<!doctype html>
<html lang="en">
<html lang="en" data-theme="kaspian">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/png" href="/favicon.png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Kaspian</title>

<!-- This css prevents white flash and scrollbar when reloading -->
<style>
html {
background-color: #000;
min-width: 365px;
min-height: 592px;
}

body::-webkit-scrollbar {
display: none;
min-width: 320px;
min-height: 517px;
}
</style>
</head>
Expand Down
28 changes: 5 additions & 23 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,45 +12,27 @@
"author": "Kaspian devs",
"license": "GPL-3",
"devDependencies": {
"@crxjs/vite-plugin": "^2.0.0-beta.23",
"@types/bun": "^1.1.5",
"@types/chrome": "^0.0.254",
"@types/node": "^20.10.5",
"@types/react": "^18.0.28",
"@types/react-dom": "^18.0.11",
"@types/webextension-polyfill": "^0.10.7",
"@typescript-eslint/eslint-plugin": "^6.15.0",
"@typescript-eslint/parser": "^6.15.0",
"@vitejs/plugin-react": "^4.2.1",
"autoprefixer": "^10.4.16",
"daisyui": "^4.12.10",
"postcss": "^8.4.32",
"prettier": "3.1.1",
"tailwindcss": "^3.3.6",
"@crxjs/vite-plugin": "^2.0.0-beta.23",
"daisyui": "^5.0.0-beta.1",
"tailwindcss": "^4.0.0-beta.8",
"typescript": "^5.6.2",
"vite": "^5.1.1"
},
"dependencies": {
"@radix-ui/react-accordion": "^1.1.2",
"@radix-ui/react-checkbox": "^1.0.4",
"@radix-ui/react-dialog": "^1.0.5",
"@radix-ui/react-label": "^2.0.2",
"@radix-ui/react-select": "^2.0.0",
"@radix-ui/react-separator": "^1.0.3",
"@radix-ui/react-slot": "^1.0.2",
"@radix-ui/react-toggle": "^1.0.3",
"@radix-ui/react-toggle-group": "^1.0.4",
"class-variance-authority": "^0.7.0",
"clsx": "^2.0.0",
"embla-carousel-react": "8.0.0-rc17",
"@tailwindcss/vite": "^4.0.0-beta.8",
"events": "^3.3.0",
"lucide-react": "^0.299.0",
"react": "^18.3.0",
"react-dom": "^18.2.0",
"react-qr-code": "^2.0.12",
"react-qr-code": "^2.0.15",
"react-router-dom": "^6.8.2",
"tailwind-merge": "^2.1.0",
"tailwindcss-animate": "^1.0.7",
"webextension-polyfill": "^0.10.0"
}
}
6 changes: 0 additions & 6 deletions postcss.config.js

This file was deleted.

10 changes: 5 additions & 5 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ import { MemoryRouter, Route, Routes } from 'react-router-dom'
import { SettingsProvider } from './contexts/Settings'
import { KaspaProvider } from './contexts/Kaspa'
import Landing from './pages/Landing'
import CreateWallet from '@/pages/CreateWallet'
import Wallet from '@/pages/Wallet'
import UnlockWallet from '@/pages/Unlock'
import Creation from './pages/Creation'
import Unlock from './pages/Unlock'
import Wallet from './pages/Wallet'

function App () {
return (
Expand All @@ -13,8 +13,8 @@ function App () {
<MemoryRouter>
<Routes>
<Route path="/" element={<Landing />} />
<Route path="/create" element={<CreateWallet />} />
<Route path="/unlock" element={<UnlockWallet />} />
<Route path="/creation" element={<Creation />} />
<Route path="/unlock" element={<Unlock />} />
<Route path="/wallet" element={<Wallet />} />
</Routes>
</MemoryRouter>
Expand Down
Loading
Loading