Skip to content

Conversation

@barnesrj
Copy link

This PR adds a createdAt timestamp and website URL to each saved prompt. This allows tracking when and where prompts were created. The changes include:

Updated Prompt interface

Util to get the current browser tab URL

Modified popup.tsx to include new fields when saving

#32
/

added a variable for the date stamp and website
created this file to get the website url
created file to get website URL
Called util to save webpage; edited newPrompt
@barnesrj barnesrj self-assigned this Apr 12, 2025
@barnesrj barnesrj linked an issue Apr 12, 2025 that may be closed by this pull request
@barnesrj barnesrj changed the base branch from main to dev April 12, 2025 15:56
removed inline comments
@iadeyefa iadeyefa moved this from Todo to In Progress in PromptManager Planning Apr 12, 2025
commented everything out before fixing with duplicate function in useURL.hook.  Will delete completely shortly.
Removed redundant function; changed getCurrentTabUrl to useCurrentTabUrl
Deleted comment.
deleted redundant function file
@barnesrj
Copy link
Author

I believe I have resolved the comments.

panda and others added 5 commits April 18, 2025 15:11
Added fields to test prompts to account for new fields in the functions
Updated fields in test prompts.
Updated prompt fields.
Updated prompt formats with new fields.
@panda panda moved this from In Progress to In Review in PromptManager Planning Apr 19, 2025
made it so prompt import was in date format.
@barnesrj barnesrj requested review from JonCGroberg and panda April 19, 2025 16:31
Copy link
Contributor

@panda panda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great! Thanks for getting this done 🥳

Copy link
Contributor

@iadeyefa iadeyefa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great!

@barnesrj barnesrj merged commit ef0456f into dev Apr 25, 2025
4 checks passed
@barnesrj barnesrj deleted the 32-store-timestamps-and-platform-usage-for-each-prompt branch April 25, 2025 08:29
@github-project-automation github-project-automation bot moved this from In Review to Done in PromptManager Planning Apr 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Store timestamps and platform usage for each prompt

5 participants