350 private links
Rename a .md file into .md.html with a reference to a js script, and this file is displayed properly in a webpage :)
IndexedDB can be used to store a lot of data. It has some caveats though.
Storage:
About deletion, use soft delete to smoothen the synchronization if a user deletes a record and another one update it.
About record collection, use unique IDs (UUID v4) or property related ids with (UUID v5).
About ordering, it is easier to use fractional indices! Read more on https://www.figma.com/blog/realtime-editing-of-ordered-sequences/, or https://www.steveruiz.me/posts/reordering-fractional-indices, or use a dedicated library.
Sync is made with pull and push
Update:
- Send atomic changes from a client is the more convenient way. We can send only the model’s ID and its updated fields.
- send operations instead of changed data,
Conflict resolution:
- In some cases, last-write wins at the record field level will be enough
- in others, we strongly need a full-fledged CRDT.
To reduce boilerplate, the package will aim to re-use existing metadata about the page where possible. Such as it will infer at runtime what data it can make use of.
For example, if you have a
on your page, then it's likely we can use this same title to generate the Schema.org WebPage's name.
Display a web view with different sizes simultanously
A framework to build web components where targets can also be other web frameworks.
Eḿbed SQL examples in a web page. It uses a browser-compatible compiled sqlite under the hood .
- Users tend to use a list of all the links or headings on the page instead of the tab key! The user could then jump directly to the heading or link that sounded like what they were looking for.
- Navigating to the homepage from an internal page: all of our interviewees searched for a link being announced as "Home"
- To navigate to a certain page, users opened a list of all the links on a page. it was common to type the letter on the keyboard to search for the available links starting with the first letter of what they would expect the page name to start with. A "Get in touch!" link is likely to not be found
- idea here: we need a standard about common pages! (Contact, Pricing, etc...)
- None of the interviewees enlarged the window to take the full screen. This means some users will experience the mobile layout and behavior of the menu navigation, rather than the desktop version we intended. So a computer does not mean a desktop layout
- None used skip links because they are less efficient than their other methods. Moreover, the skip link is sometime broken as the keyboard focus does not shift!
Use a web UI to ensure compatibility.
Operations are made through system calls of Node, Bun or deno or the git cli command as the FileSystem API is not widespread.
A great example!
A lot of so useful projects for web development!
Check them here: https://unjs.io/
Mdash is a new kind of UI library. It's 100% standards-based and it's tiny.
Mdash components are comprised of standard HTML, custom HTML, and Custom Elements. As such, Mdash works with any framework (or no framework) and works with all types of web projects: SSR, SPA, PWA, static site, and even popular email clients.
Only 6.8kB. It uses a minimal appearance but adds components that are used everywhere such as switch buttons-
It is possible to display high, medium and low screen sizes by popularity
Useful for flat design
La solution, la seule, permettant de traiter le mal plutôt que ses symptômes est pourtant connue. Elle consiste, je vous en ai déjà parlé, à créer un index indépendant du web. C'est à dire à réinstaller durablement dans l'espace public une "ressource", un "bien commun" dont l'exploitation par des acteurs privés à fini par installer des usages essentiellement privatifs, là où pourtant l'ensemble des caractéristiques techniques (son architecture) et des usages (ces 'contenus' qui 'font' le web) de ce "bien" relèvent, par nature, de la sphère publique commune.
Aussi, développé dans l'article:
Il n'y a pas de barrière technique ou juridique au déploiement de cet index indépendant.
Avec de bons débuts d'aggrégation de données: Hathi Trust pour les livres, Internet Archive pour les sites webs.
Les technologies open-source sont aussi présentes, de même que la recherche au niveau européen. Les services quotidiens ont tous ou presque un équivalent open-source.
How to build common ui patterns that are accessible 👍
One project to unify them all
You simply substract the side distance [y-axis] from the larger corner radius.
That way you end up with the right one for the smaller shape.
Seen on Twitter but I could not find the author again