primocms / primo Goto Github PK
View Code? Open in Web Editor NEWPrimo is a visual CMS with a built-in code editor, Svelte blocks, and static site generator.
Home Page: https://primocms.org
License: MIT License
Primo is a visual CMS with a built-in code editor, Svelte blocks, and static site generator.
Home Page: https://primocms.org
License: MIT License
Hello @mateomorris You have closed this issue here https://github.com/primo-af/primo-server/issues/9#issuecomment-1028446716 saying the issue has been fixed and the same should work now. But the issue persists. It does not login and goes on with the same infinite spin. Please see the GIF and help. Thanks!
When you edit a page and switch to different site, the changes on the original site are lost. There should at least be a warning to save first, but ideally you'd just be able to edit multiple sites without losing the changes.
Whenever a Symbol gets added to the page, its fields aren't being hydrated. For example, if a component contains {{page-title}}
, and the page it's being used on has a field with the key of page-title
, the symbol should be instantiated with the value of that page's page-title
. At the moment, the workaround is to open up the symbol and change some code so it grabs the appropriate values.
On windows 10.0.19402
It would be pretty nice to have a list of all built-in variables somwhere. I am currently aware of an "nav"-array with all page urls/titles, but it would be pretty sweet to have all of those listed somwhere. There isn't really a dedicated docs page, is there?
Hey, I noticed that this project is GNU Affero General Public License v3.0.
Does this mean that any project created by it does also need to be open source?
Or does the license only apply to primo itself?
I think primo needs some kind of documentation Page where features are described in detail. A lot of the more intricate things can be described there, maybe a coming soon and a known bugs list.
Other than that, I think there should be a discord server to get in touch much quicker and to give new potential users/contributers a place to introduce themselves
when I minimize the primo app and try to reopen the app it isn't responsive and I have to force quit and re-open the application.
When saving the website you have to reload primo to be able to publish your changes to github, else only the JSONs will be updated in the repo
Currently you may have two fields with same id. Which will work - CMS uses first found id, but dev may have a hard time to spot what's wrong with second field.
More of a UX issue, but I'd like some confirmation for when the download app has been successfully downloaded from the landing page.
-connect to vercel in server settings
-connect to vercel in publish modal
Steps to reproduce:
-push copy component
"add to page" hover freezes over component.
When building a component, it does not save automatic locally which can cause to loose the code for the component anytime. So it would be a great idea to add a auto save feature to save locally the code.
Svelte supports TS out of the box now, so we should start utilizing it more.
When building, it would be useful to see which pages have been changed. Later iterations could even show which specific content sections and components were changed, as well as a before/after view.
I pushed save and publish after changing some content on the primo server and the changes didn't save.
The libraries we're using for code and content editing (ProseMirror, CodeMirror) works really well on mobile, so there isn't much we have to do to make primo usable on mobile. Right now you can publish a site, but some caveats:
[ ] Toolbar layout broken
[ ] Component CMS breaks app
[ ] Zooming difficult
[ ] Content section doesn't auto-focus
styles broken in the gallery component in the portfolio theme
lost work when I pushed a link on the editor page, it took me directly to the dashboard and I lost all my unsaved work.
At the moment, the only enhancement that is made on the final bundle is instant.page. But there's no reason more couldn't be done, like Clayton suggests: "offline support, code splitting, smart preloading." These would probably all be options on the developer side, and include other things like: optimize images, append .html
to relative links (for a static site), minify bundle, etc.
I get a 404 with Download for Windows
components not loading at all on the page
After adding primo components to my site library the add to page button isn't appearing
no github icon in the editor
Hey there, first of all i am constantly checking this project out every few weeks and basically just wait before doing a project with it. i just tested it again and had a question in regards to tailwind support. i saw it was included but (i think) removed again. does it support it? i certainly understand that tailwind is not for everyone but even i as a super CSS nerd can see the benefits especially with a tool like primo, where i quickly want to hack together some components.
Probably caused by ComponentNode.svelte
not recognizing a change in the block's fields (since they're nested values).
When I tried creating a site by duplicating a json file from my desktop, nothing happened.
This kinda links in with Issue #8, but it would be pretty nice to have all current variables with intellisense in the handlebars-templates. Especially if it would be possible to see
when I try to label a component in the library the icon doesn't work.
Especially for first time users it would be much easier to play with existing site, not blank canvas.
Following the README I'm hitting a series of installation issues on Ubuntu 20.04.
First the npm install included a complaint about my using node 15, and preferring v12. So I am using node v12.21.0 and npm v6.14.11.
npm run dev
complained about missing compiler.js and the sever didn't run. This appeared to be due to this issue, so I updated rollup-plugin-svelte
to "^6.1.1".
For npm run dev
I then got errors for and fixed missing modules as follows:
npm install --save-dev rollup-plugin-delete
npm install --save-dev tailwindcss
Now I have File '@tsconfig/svelte/tsconfig.json' not found
(full error below). I'm not sure if primo
is servicable as is so opening this issue to see what the status of the project is, and if there's something I'm missing in my setup.
0] rollup v2.23.0
[0] bundles src/main.ts โ public/build...
[0] (!) Plugin typescript: @rollup/plugin-typescript TS6053: File '@tsconfig/svelte/tsconfig.json' not found.
[0] [!] (plugin typescript) Error: @rollup/plugin-typescript: Couldn't process compiler options
[0] Error: @rollup/plugin-typescript: Couldn't process compiler options
[0] at error (/home/mrh/src/safe/app-ideas/primo/node_modules/rollup/dist/shared/rollup.js:5174:30)
[0] at throwPluginError (/home/mrh/src/safe/app-ideas/primo/node_modules/rollup/dist/shared/rollup.js:17452:12)
[0] at Object.error (/home/mrh/src/safe/app-ideas/primo/node_modules/rollup/dist/shared/rollup.js:18071:24)
[0] at emitParsedOptionsErrors (/home/mrh/src/safe/app-ideas/primo/node_modules/@rollup/plugin-typescript/dist/index.js:310:17)
[0] at Object.buildStart (/home/mrh/src/safe/app-ideas/primo/node_modules/@rollup/plugin-typescript/dist/index.js:541:13)
[0] at /home/mrh/src/safe/app-ideas/primo/node_modules/rollup/dist/shared/rollup.js:18269:25
[0] at processTicksAndRejections (internal/process/task_queues.js:97:5)
[0] at async Promise.all (index 3)
[0] at Object.rollupInternal (/home/mrh/src/safe/app-ideas/primo/node_modules/rollup/dist/shared/rollup.js:19369:9)
[0] at Task.run (/home/mrh/src/safe/app-ideas/primo/node_modules/rollup/dist/shared/watch.js:715:28)
I tried to preview the font from the symbols by adding to the main html but it doesn't effect the symbols but after added symbols to the page it get applied.
When I invite a person as a developer they are only added as a content editor.
When I try adding a section below an existing one it does not appear blow , it shows at the top of the page.
Conditionally render a section, so if there is no content in a field then the HTML that wraps it for styling and placement should not render. Like an if/else block wrapping it
Adapt the VSCode Library
Break the field types out of ComponentEditor.svelte and create an API for adding new fields, then re-add the original fields using the API.
I pressed a button on my site and it navigated me back to the dashboard without a notification about saving my changes.
Plugin svelte: A11y: A form label must be associated with a control.
There's a bunch of these being caused by this:
<label>
<input />
</label>
They'll all need to be changed to this:
// const uid = getUniqueId()
<label for="{uid}" />
<input id="{uid}" />
copy page in 'basic theme' needs padding on the left
As the title suggests Markdown/The corrosponding buttons for headlines are not doing anything.
This is probably because the preflight resets from tailwind are removing heading styling. Maybe we should add a default style to the headlines, either in the sitewide CSS or the tailwind site config. To make that Feature actually useful.
I currently don't know if this also applies to any other Markdown / button function, since I didn't have time to test any of these options.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.