-
Notifications
You must be signed in to change notification settings - Fork 3
UI enhancements #1
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
Conversation
I added some UI enhancements. |
I won’t be home till Monday then I’ll take a look at the changes! From what I can see you’re tackling all the right issues. Cheers man! |
tried running the new version, but ran into an error while running. this is my current list of collections in PocketBase: this is the error I'm getting: After looking at the approach, I think a better method might be to initialise all of the important base take a look at this: https://github.com/pocketbase/pocketbase/blob/1682db5c7215b6766c6e569833000f27932357e2/ui/src/components/PageIndex.svelte#L6 Then when first visiting the PocketCMS UI it will set up all the right collections. Do you think this approach would be better? The steps I think it could follow are:
SELECT id, name, schema, listRule, viewRule, createRule, updateRule, deleteRule
FROM _collections
WHERE name LIKE 'pcms|_%' ESCAPE '|'
AND name NOT LIKE 'pcms|_|_%' ESCAPE '|';
|
Hey @parkuman |
Making a new PR would be good! The work you did on the UI with collections looks great though, maybe we could just rebase this PR to have those UI changes and do the collection setup in a new one. Is that something you want to tackle? If not, I am happy to do it! I am planning on updating the README with better setup instructions in addition to adding some ideas we could build out. |
Sounds good 👍🏻 I will rename this PR to highlight the UI enhancements. |
cool! I think if we revert the changes to the |
…g `users` collection" This reverts commit 6ffe650.
Done :) |
It's my first time writing in Go so please review my method to create the
pcms__users
collection before serving,I will add the other collection
pcms__collections
if my method is the correct way.It will make it easier for users to just run and start adding contents
I also add a script to run and serve main.go