ontola / atomic-argu Goto Github PK
View Code? Open in Web Editor NEWProject websites powered by Sveltekit + @tomic/svelte + Atomic-Server
License: MIT License
Project websites powered by Sveltekit + @tomic/svelte + Atomic-Server
License: MIT License
Updates
, Threads
, and more as simple Article
resources with a name, description and a date..json
file as sourcelocal-id
values.json
fileUse @tomic/lib
's search features to build a basic full-text search interface. Should probably re-use the article view for the results.
Does not match existing URLs. Should be updated.
One of our customers would like to keep the discussions feature from Argu. For them, it is not essential to have a registration step, but it is essential that the comments can be managed by their employees. Therefore, it would be preferable to use Atomic to store the comments.
So how would this work?
Comments
collection as parentComments
collections. This only shows comment
resourcesdescription
and a target
(= where the comment will be placed). The parent
is always the Comments
collection.Invite
that targets the Comments
collection. That way, users can only create comments in that collection.target: resource
, where resource
is the Article. Ideally we also filter by parent, so we don't include Comments
from other drives, but in this case I don't think that's essential, since the resource is publicly append
able.write
rights on the Comment, which enables editing.During first render (e.g. here), we see no cover images. These appear on the second render.
So I suppose server side rendering does not know about the cover source url. We can disable JS to see this same screen.
I'm assuming the loadResourceTree
function should fix this behavior. However, this looks like it should already fix the issue, but it does not:
await loadResourceTree(subject, {
[properties.parent]: true,
[domain.pages]: true,
[domain.coverImage]: true,
[domain.articlesCollection]: {
[properties.collection.members]: {
[domain.coverImage]: true
}
}
});
Perhaps I misunderstood the function, or perhaps the function isn't quite working as expected.
Currently the importer logic becomes part of the uploaded assets, but they won't be used there.
So far I've ignored attachments. We could automatically import, upload and display them.
Here's what they have. White BG + colored fonts, instead of colored BG + white font in navbar.
I think we should at least mimic the existing styling settings of Argu, although https://drechtstedenenergie.nl/ is even better example of what they want
#158340
#0D325A
E.g. drechtstedenenergie wants 'Roboto Condensed', sans-serif
.
Current skeleton is located in main, but it's not the default branch.
A potential customer just noticed that the menu bar does not appear on her older S20 phone. I'm suspecting we might need to polyfill something...
Edit: yes, it's structuredclone.
We currently use Github pages for wonenatthepark.nl. This has generally been a success. However, we want to host more pages. Github pages only works for one domain.
We could use Netlify, which we're already using for Ontola.io (nextJS).
We could use CloudFlare static pages, which we're already using for some DNS stuff. (adapter)
Considerations:
Todo:
When you click on a search result it will navigate you to the actual subject of the resource instead of the atomic-argu site version. So you'll end up in the databrowser.
To reproduce:
ctrl+e
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.