Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

[ENHANCEMENT] Database can create user saved searches #804

Closed
jcscottiii opened this issue Oct 23, 2024 · 0 comments · Fixed by #815
Closed

[ENHANCEMENT] Database can create user saved searches #804

jcscottiii opened this issue Oct 23, 2024 · 0 comments · Fixed by #815
Assignees
Labels
enhancement New feature or request go Pull requests that update Go code

Comments

@jcscottiii
Copy link
Collaborator

jcscottiii commented Oct 23, 2024

For creation:
It needs to check to make sure they don't own too many saved searches

Then create the saved search

Then add them as the admin for the saved search

And then add the saved search as a bookmark

@jcscottiii jcscottiii added the enhancement New feature or request label Oct 23, 2024
@jcscottiii jcscottiii added this to the Saved Searches milestone Oct 23, 2024
@jcscottiii jcscottiii added the go Pull requests that update Go code label Oct 23, 2024
@jcscottiii jcscottiii changed the title [ENHANCEMENT] Database can create user saved searches [ENHANCEMENT] Database can create and delete user saved searches Oct 23, 2024
@jcscottiii jcscottiii self-assigned this Oct 23, 2024
@jcscottiii jcscottiii changed the title [ENHANCEMENT] Database can create and delete user saved searches [ENHANCEMENT] Database can create, delete user saved searches and get a single saved search Oct 23, 2024
@jcscottiii jcscottiii changed the title [ENHANCEMENT] Database can create, delete user saved searches and get a single saved search [ENHANCEMENT] Database can create user saved searches and get a single saved search Oct 23, 2024
@jcscottiii jcscottiii changed the title [ENHANCEMENT] Database can create user saved searches and get a single saved search [ENHANCEMENT] Database can create user saved searches Oct 23, 2024
jcscottiii added a commit that referenced this issue Oct 23, 2024
For creating:
- In the same transaction it will check:
    - If the user does not owned too many saved searches.
    - Add the user as an admin
    - Add the new saved search as a bookmark

We also introduce the search config struct which holds an app wide configuration for the max number of saved searches a user can have.

Fixes: #804
@jcscottiii jcscottiii linked a pull request Oct 24, 2024 that will close this issue
jcscottiii added a commit that referenced this issue Oct 24, 2024
For creating:
- In the same transaction it will check:
    - If the user does not owned too many saved searches.
    - Add the user as an admin
    - Add the new saved search as a bookmark

We also introduce the search config struct which holds an app wide configuration for the max number of saved searches a user can have.

Fixes: #804
github-merge-queue bot pushed a commit that referenced this issue Oct 24, 2024
For creating:
- In the same transaction it will check:
    - If the user does not owned too many saved searches.
    - Add the user as an admin
    - Add the new saved search as a bookmark

We also introduce the search config struct which holds an app wide configuration for the max number of saved searches a user can have.

Fixes: #804
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request go Pull requests that update Go code
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant