Commit Graph

39 Commits

Author SHA1 Message Date
mroxso
f7b4f717b2 fix: keep a window in place when focus switches
Raising a window made it visibly jump to the top-left corner and animate
back. Two things combined: the enter keyframes animated `transform`, which
overrode the inline `translate3d` a window's position is applied with, and
the window layer rendered the z-sorted list, so focusing a window moved its
DOM node and made the browser replay that animation.

Animate the standalone `scale` property instead — it composes with the
inline transform rather than replacing it — scope the animation to
`.os-window` (it was hitting every child of the layer, including the snap
preview, which is positioned the same way), and render windows in their
stable creation order, since the inline `z-index` already handles stacking.

Fixes #13

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Trku191Ww2a2YmDWQF3fTS
2026-09-06 12:04:46 +02:00
mroxso
949a551492 feat: New Web OS design (#12)
* new web os frontend

* add docs

* Add CNAME and restore NIP-05 nostr.json for GitHub Pages

The Pages custom domain (layer.systems) is only stored in repo settings;
a CNAME file in the build output makes it survive Pages reconfiguration.
Restore public/.well-known/nostr.json, which this branch had dropped —
removing it would break the existing NIP-05 identifiers on layer.systems.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014YtQoCzkP7Bo8nruhxojPi

* Ignore eslint and tsc build caches

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014YtQoCzkP7Bo8nruhxojPi

* Rebrand page title and metadata to LAYER.systems

The site ships on layer.systems, so the document title, meta and OG
description, and the web manifest now carry that name instead of
"Nostr OS". OsShell sets the title at runtime, so it is updated too —
otherwise the tab would fall back to the old branding after hydration.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014YtQoCzkP7Bo8nruhxojPi

* Rename remaining visible "Nostr OS" strings to LAYER.systems

Covers the About window heading, the mobile shell header and the app
icon's aria-label, so the visible branding matches the page title.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014YtQoCzkP7Bo8nruhxojPi

---------

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
2026-09-06 11:37:43 +02:00
4acdb31b8a agents frontend-design skill 2026-03-28 21:23:52 +01:00
0492427582 fix: add DashboardExport page and integrate into routing and sidebar navigation 2026-01-04 20:40:46 +01:00
038a629a47 fix: remove limit on user events query for comprehensive data retrieval 2026-01-01 21:32:39 +01:00
d464e8a44c fix: enhance layout and overflow handling in EventExplorer and DashboardEvents components 2026-01-01 21:00:37 +01:00
8f75803797 fix: add overflow handling to charts and dashboard components for better layout 2026-01-01 21:00:30 +01:00
38541d1635 fix: update feature icons and descriptions for clarity on Index page 2026-01-01 20:28:50 +01:00
0a0c4adb09 fix: update terminology for clarity in DashboardStats and RecentActivityChart components 2025-12-28 22:32:52 +01:00
2d2fa6ada9 feat: display current user's name on Dashboard welcome message 2025-12-28 22:30:53 +01:00
e7e0215da4 fix: update main heading gradient colors for consistency 2025-12-28 22:25:33 +01:00
af94fa7a3b fix: update chart color variables to use HSL format for consistency 2025-12-28 22:19:52 +01:00
7c8d2cff31 fix: update color variables for consistency in RecentActivityChart and CSS 2025-12-28 22:15:40 +01:00
91d51a35f9 feat: add RecentActivityChart component to Dashboard 2025-12-28 22:13:13 +01:00
686c31aca8 feat: add DashboardEvents page and integrate EventExplorer component 2025-12-28 21:48:13 +01:00
2d78a683da feat: add chart color variables to light and dark themes in CSS 2025-12-28 15:12:46 +01:00
42e234105b fix: remove modal prop from DropdownMenu in AccountSwitcher component 2025-12-28 15:10:30 +01:00
3ca5966d03 feat: add theme selection toggle to AccountSwitcher component 2025-12-28 15:04:30 +01:00
0f145d556d fix: update default theme in App configuration from light to system 2025-12-28 14:58:06 +01:00
462741c3bd feat: add dashboard navigation to AccountSwitcher component 2025-12-28 14:43:12 +01:00
1972c1e27c refactor: comment out unused imports and effect in NostrSync component 2025-12-28 14:40:15 +01:00
da73c6091b feat: add relay management drawer to AccountSwitcher component 2025-12-28 14:34:01 +01:00
mroxso
8ce5c23fff Merge pull request #3 from layer-systems/dashboard-2
Dashboard
2025-12-28 14:25:49 +01:00
00b6e7247d fix: update default theme in App configuration from system to light 2025-12-28 14:25:03 +01:00
ecf597d072 feat: refactor EventKindsChart to use current user context and update chart colors 2025-12-28 14:24:40 +01:00
098626fbea feat: add Dashboard page with user statistics and recent activity components 2025-12-28 13:54:11 +01:00
007725dd7a chore: update Radix UI dependencies and add mobile hook
- Updated @radix-ui/react-dialog from ^1.1.2 to ^1.1.15
- Updated @radix-ui/react-separator from ^1.1.0 to ^1.1.8
- Updated @radix-ui/react-slot from ^1.1.0 to ^1.2.4
- Updated @radix-ui/react-tooltip from ^1.1.4 to ^1.2.8
- Added a new hook `useIsMobile` to determine if the viewport is mobile-sized
- Refactored tailwind.config.ts for better readability and maintainability
2025-12-28 12:48:21 +01:00
c4f6474fe7 Add LoginArea component to header for user authentication 2025-12-28 12:24:13 +01:00
25d02b1f9b Add highperfocused name entry to nostr.json 2025-12-28 00:30:45 +01:00
3707c1b89c Add nostr.json file with initial names configuration 2025-12-28 00:30:05 +01:00
58f33f04fd Refactor layout of Relay URL section for improved responsiveness 2025-12-28 00:20:55 +01:00
eeaee30071 Add Terms and Privacy pages and update routing in AppRouter 2025-12-27 23:36:41 +01:00
a1608d19a6 Add Explore page and implement useExploreEvents hook for fetching notes and profiles 2025-12-27 23:18:51 +01:00
19b0491714 Update theme configuration to 'system' and streamline relay URLs in App component 2025-12-27 23:05:18 +01:00
8d84d72ad6 Remove mode parameter from Vite config export function 2025-12-27 22:49:14 +01:00
f6efa465bc Comment out base URL configuration in Vite setup 2025-12-27 22:47:36 +01:00
2d7e72d244 Refactor Index page layout and enhance user interaction with relay URL copy functionality 2025-12-27 22:07:22 +01:00
fd9b6b183f Add SEO metadata and manifest file; clean up placeholder comments 2025-12-27 21:47:41 +01:00
a833997770 initial code commit 2025-12-27 21:42:31 +01:00