Usman Baig
25210013d3
feat: centralise date/time formatting with European conventions
...
All dates now use day-first ordering (14 Mar 2025) and 24-hour time
(14:30) via a single formatDate.ts module, replacing scattered inline
toLocaleDateString/toLocaleTimeString calls across 12 files.
2026-03-14 13:31:30 +01:00
Usman Baig
d6d42b5759
fix: portal delete modal to body so backdrop-blur covers header
...
The modal was rendered inside <main> which is a sibling of the
fixed header. Browser compositing didn't apply backdrop-blur
across the header's separate GPU layer. Using createPortal to
render at document.body matches how the delete account modal
works (rendered as sibling to header via SettingsModalWrapper).
2026-03-13 20:35:04 +01:00
Usman Baig
618c4fd5fe
fix: bump delete modal z-index to z-[100] to cover fixed header
...
Header uses fixed z-50 with backdrop-blur which creates its own
stacking context. z-[60] wasn't enough, z-[100] matches the
pattern used by VerificationModal.
2026-03-13 20:29:47 +01:00
Usman Baig
39e06183c3
fix: delete modal overlay z-index above navbar
2026-03-13 20:10:23 +01:00
Usman Baig
6c31f3fc60
fix: show org name in delete modal and fix subscription card visibility
...
Modal now says "Delete Ciphera?" instead of generic "Delete Organization?".
Subscription cancellation card now shows for any paid plan (solo/team/business)
regardless of subscription_status, which could be 'active' or 'trialing'.
2026-03-13 19:58:01 +01:00
Usman Baig
86077557a8
style: redesign org delete modal to match delete account style
...
Red border, frosted overlay, destruction items as prominent
red-bordered cards with warning icons instead of small bullet
points. Button text changed to "Delete Forever".
2026-03-13 19:44:03 +01:00
Usman Baig
e86021caf8
fix: await subscription fetch before opening delete modal
...
The delete button fired loadSubscription() without awaiting it,
so the modal opened with subscription=null and the destruction
summary (sites count, active subscription) never rendered.
2026-03-13 19:35:12 +01:00
Usman Baig
0dd1f00095
fix: fetch subscription data when delete modal opens
...
Subscription was only loaded on the Billing tab, so the delete
modal showed no destruction summary when opened from General tab.
2026-03-13 18:25:34 +01:00
Usman Baig
84312ebf59
feat: show destruction summary in org delete modal
...
Lists what will be deleted: site count with analytics data,
member count, active subscription, and notification settings.
Replaces the generic warning with specific impact details.
2026-03-13 18:15:40 +01:00
Usman Baig
37eb49eb37
feat: action-scoped captcha tokens for share access and org settings
...
Captcha on shared dashboard and organization settings now passes
action-specific identifiers. Bumps @ciphera-net/ui to 0.2.1.
2026-03-11 11:30:21 +01:00
Usman Baig
2776c803f1
fix: use focus-visible for all button/tab/link focus rings across app
...
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-10 00:08:09 +01:00
Usman Baig
2d0307d328
fix: enhance error logging by replacing console.error with a centralized logger across the application to improve security and maintainability
2026-02-22 20:57:21 +01:00
Usman Baig
c73c300620
feat: improve organization switching experience with a branded loading overlay and session management for smoother transitions
2026-02-22 20:48:09 +01:00
Usman Baig
06f54176f1
refactor: enhance type safety by replacing any types with stricter types across the codebase, improving error handling and reducing potential bugs
2026-02-22 20:29:16 +01:00
Usman Baig
18d9f59e5d
fix: correct organization context switching to ensure secure session storage when switching away from deleted organizations
2026-02-22 20:14:18 +01:00
Usman Baig
156d9986df
fix: improve error messaging for various components to provide clearer feedback on failures
2026-02-22 19:17:20 +01:00
Usman Baig
c100277955
refactor: replace loading overlays with skeleton components for improved user experience across various pages
2026-02-22 18:01:45 +01:00
Usman Baig
ee25d87097
chore: update package versions and dependencies for improved functionality
2026-02-21 23:58:39 +01:00
Usman Baig
4dead4b399
style: standardize gap sizes across multiple components for improved visual consistency
2026-02-21 23:48:03 +01:00
Usman Baig
aada06c207
style: update domain name in OrganizationSettings component for consistency with new branding
2026-02-21 23:45:51 +01:00
Usman Baig
0b68db58be
style: standardize min-width values across multiple components for improved layout consistency
2026-02-21 23:39:29 +01:00
Usman Baig
8f8761ed3d
style: standardize padding across multiple components for improved layout consistency
2026-02-21 23:29:50 +01:00
Usman Baig
65ba7ccba2
style: enhance dark mode support by updating text colors across multiple components for improved readability
2026-02-21 23:13:52 +01:00
Usman Baig
fa3982001d
feat: enhance HomePage and OrganizationSettings to display detailed subscription information and improve user interaction with invoice links
2026-02-20 18:05:59 +01:00
Usman Baig
6817f0c9fa
fix: streamline invoice preview logic in OrganizationSettings to improve performance and user feedback during plan changes
2026-02-20 17:50:46 +01:00
Usman Baig
5b1d3d8f0e
refactor: update PricingSection styles for improved layout and accessibility; enhance OrganizationSettings to handle plan changes and display past due notices
2026-02-20 16:50:43 +01:00
Usman Baig
12975f671d
fix: update invoice preview handling in OrganizationSettings to reset state and provide user feedback on calculation errors
2026-02-20 16:21:35 +01:00
Usman Baig
cc89a27972
feat: add invoice preview functionality in OrganizationSettings to enhance user experience with upcoming billing details
2026-02-20 16:18:00 +01:00
Usman Baig
99e9235f1f
feat: add resume subscription functionality in OrganizationSettings for improved user control over billing
2026-02-20 16:07:17 +01:00
Usman Baig
53ed7493c6
style: update download and view invoice links in OrganizationSettings for improved UI consistency and accessibility
2026-02-20 16:04:05 +01:00
Usman Baig
a4f2bebd10
feat: enhance OrganizationSettings to display Tax IDs alongside business name for improved billing clarity
2026-02-20 15:36:50 +01:00
Usman Baig
17106517d9
refactor: remove embedded checkout components and update billing API integration for streamlined checkout flow
2026-02-20 03:51:20 +01:00
Usman Baig
0bbbb8a1af
feat: integrate Stripe for embedded checkout; update billing API to return client_secret and adjust checkout flow in components
2026-02-20 03:41:35 +01:00
Usman Baig
6d277b126e
feat: display billing information with business name in OrganizationSettings component for improved user clarity
2026-02-20 03:10:08 +01:00
Usman Baig
826dbdbe63
feat: implement site limits based on subscription plans across dashboard and new site creation; enhance UI feedback for plan limits
2026-02-20 02:46:23 +01:00
Usman Baig
ae91147b6c
chore: update @ciphera-net/ui dependency to version 0.0.57 in package.json and package-lock.json; refactor imports across multiple components for consistency
2026-02-17 20:49:55 +01:00
Usman Baig
3b9f33b838
fix: extract notification utility functions for better code organization and reuse in NotificationsPage and NotificationCenter
2026-02-16 20:46:36 +01:00
Usman Baig
56b99dfcef
fix: improve error handling in notifications and organization settings for better user feedback
2026-02-16 20:34:35 +01:00
Usman Baig
c6373d5f2d
feat: enhance notifications system with UX improvements, new settings management links, and audit log for notification preferences
2026-02-16 11:55:08 +01:00
Usman Baig
4b61f1a397
refactor: replace Checkbox with button for toggling notification settings in OrganizationSettings, enhancing accessibility and visual feedback
2026-02-14 12:22:10 +01:00
Usman Baig
a83f3727b1
refactor: enhance notification settings layout in OrganizationSettings for better usability and visual clarity
2026-02-13 15:14:14 +01:00
Usman Baig
be27dbf992
feat: add notification settings tab in organization settings for owners and admins
2026-02-13 14:46:21 +01:00
Usman Baig
fe6530b464
fix: wrap invoice mapping in fragment to ensure proper rendering in OrganizationSettings component
2026-02-09 15:13:12 +01:00
Usman Baig
f390776e11
refactor: update subscription cancellation state management in OrganizationSettings component
2026-02-09 15:06:45 +01:00
Usman Baig
ba39fcc458
fix: improve member loading state handling in OrganizationSettings component
2026-02-09 14:57:30 +01:00
Usman Baig
55a8cec5af
refactor: invoice display logic in OrganizationSettings component
2026-02-09 14:53:04 +01:00
Usman Baig
f4ee066229
Make cancel button a clear bordered button instead of a text link
...
Ciphera values clarity — if a user wants to cancel, the option should
be honest and easy to find, not hidden. Neutral bordered pill that
highlights red on hover communicates this respectfully.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-02-09 11:16:23 +01:00
Usman Baig
29dd20a4a7
Redesign billing tab for clarity and usability
...
- Add prominent trial banner at top with end date and auto-charge notice
- Separate cancel-at-period-end warning into its own banner
- Simplify plan header: name + badge + billing interval left, Change plan right
- Reduce stats grid from 5 cramped columns to 4 clean columns
- Remove redundant "Pageview Limit" stat (duplicated "Pageviews")
- Replace bulky cancel section with inline text links below the card
- Make "Payment method & invoices" a clear link with icon
- Compact invoice rows: remove avatar icons, inline date with amount
- Tighter spacing throughout for cohesive feel
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-02-09 11:11:29 +01:00
Usman Baig
4ec68e8aaf
feat: add change plan functionality to OrganizationSettings component
2026-02-09 10:48:55 +01:00
Usman Baig
d39f9231c0
feat: add subscription cancellation functionality to OrganizationSettings component
2026-02-09 10:25:10 +01:00