@pinkpixel/promptzy 1.3.0 → 1.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -5,7 +5,24 @@ All notable changes to Promptzy will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
- ## [Unreleased]
8
+ ## [1.3.1]
9
+
10
+ ### Added
11
+ - **🔄 Refresh Prompts Button:** Added manual refresh button in header for both web and mobile PWA
12
+ - **📱 Mobile PWA Sync:** Refresh button specifically addresses mobile PWA prompt loading after Supabase configuration
13
+ - **🔄 Smart Connection Check:** Refresh function re-validates Supabase connection before loading prompts
14
+ - **✨ Loading States:** Visual feedback with spinning icon and disabled button during refresh operation
15
+ - **📢 User Feedback:** Toast notifications for refresh success, failure, and connection issues
16
+
17
+ ### Changed
18
+ - **🎨 Header Layout:** Refresh button positioned between logo and settings for easy access
19
+ - **📱 Responsive Design:** Refresh button adapts to mobile with proper touch targets and responsive text
20
+ - **⚡ Performance:** Extracted prompt loading logic into reusable function for better code organization
21
+
22
+ ### Fixed
23
+ - **📱 Mobile PWA Issue:** Prompts now properly load after entering Supabase credentials on mobile app
24
+ - **🔄 Cross-Device Sync:** Manual refresh ensures prompts appear when switching devices or browsers
25
+ - **🔗 Connection Reliability:** Refresh validates connection before attempting to load data
9
26
 
10
27
  ## [1.3.0] - 2025-05-28
11
28
 
package/README.md CHANGED
@@ -9,7 +9,7 @@
9
9
  <div align="center">
10
10
 
11
11
  ![License](https://img.shields.io/badge/license-MIT-blue.svg)
12
- ![Version](https://img.shields.io/badge/version-1.2.0-green.svg)
12
+ ![Version](https://img.shields.io/badge/version-1.3.1-green.svg)
13
13
  ![NPM](https://img.shields.io/npm/v/@pinkpixel/promptzy?color=red)
14
14
  ![React](https://img.shields.io/badge/React-19.1.0-61DAFB?logo=react)
15
15
  ![TypeScript](https://img.shields.io/badge/TypeScript-5.8.3-3178C6?logo=typescript)
@@ -27,10 +27,8 @@
27
27
  - **Organize AI Prompts**: Store, edit, and categorize prompts for various AI models
28
28
  - **Custom Tagging**: Organize prompts with custom tags for easy retrieval
29
29
  - **Powerful Search**: Find the perfect prompt with full-text search and tag filtering
30
- - **Dual Storage**:
31
- - Store prompts locally in your browser
32
- - Cloud sync with Supabase for cross-device access
33
- - Optional hybrid mode to sync between both
30
+ - **Cloud Storage**: Reliable Supabase cloud storage with cross-device sync
31
+ - **Refresh Prompts**: Manual refresh button to sync prompts after configuration changes
34
32
  - **AI Assistant**: Generate new prompt ideas with AI help
35
33
  - **Progressive Web App (PWA)**: Install as a mobile app directly from your browser
36
34
  - **Modern UI**: Clean, responsive interface built with Shadcn/UI and Tailwind
@@ -109,6 +107,7 @@ Promptzy can be installed as a mobile app directly from your browser! No app sto
109
107
  - ⚡ Faster loading and offline functionality
110
108
  - 🔄 Automatic updates when new versions are released
111
109
  - 🏠 Easy access from your home screen
110
+ - 🔄 Manual refresh button for syncing prompts after setup
112
111
 
113
112
  ### Deployment
114
113
 
@@ -141,8 +140,9 @@ To use cloud storage features:
141
140
  - Paste and run it in the Supabase SQL Editor
142
141
  4. Return to Promptzy and click "Connect" again to verify the table setup
143
142
  5. Save your settings
143
+ 6. Use the "Refresh" button in the header to load your prompts
144
144
 
145
- **Note:** Automatic table creation isn't supported by Supabase for security reasons, so this one-time manual setup is required.
145
+ **Note:** Automatic table creation isn't supported by Supabase for security reasons, so this one-time manual setup is required. After setup, use the refresh button to ensure prompts load properly, especially on mobile devices.
146
146
 
147
147
  The application will now use your Supabase instance for cloud storage!
148
148
 
@@ -165,11 +165,12 @@ This bidirectional sync ensures your prompts are available across devices and yo
165
165
  ## 📖 Usage
166
166
 
167
167
  1. Launch the application
168
- 2. Choose your storage preference (local, Supabase, or both)
169
- 3. Add prompts with the "+" button
170
- 4. Assign tags to organize your prompts
171
- 5. Use the search box and tag filters to find prompts
172
- 6. Select a prompt to copy it or edit its details
168
+ 2. Configure your Supabase connection in Settings
169
+ 3. Use the "Refresh" button to load your prompts after setup
170
+ 4. Add prompts with the "+" button
171
+ 5. Assign tags to organize your prompts
172
+ 6. Use the search box and tag filters to find prompts
173
+ 7. Select a prompt to copy it or edit its details
173
174
 
174
175
  ## 🧩 Tech Stack
175
176
 
@@ -1 +1 @@
1
- import{g as e}from"./index-CD0zZXIs.js";var o=function(){throw new Error("ws does not work in the browser. Browser clients must use the native WebSocket object")};const r=e(o),s=Object.freeze(Object.defineProperty({__proto__:null,default:r},Symbol.toStringTag,{value:"Module"}));export{s as b};
1
+ import{g as e}from"./index-DZ6qs95O.js";var o=function(){throw new Error("ws does not work in the browser. Browser clients must use the native WebSocket object")};const r=e(o),s=Object.freeze(Object.defineProperty({__proto__:null,default:r},Symbol.toStringTag,{value:"Module"}));export{s as b};